This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug server/19855] New: readline abort when debugging with rr


https://sourceware.org/bugzilla/show_bug.cgi?id=19855

            Bug ID: 19855
           Summary: readline abort when debugging with rr
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: yyc1992 at gmail dot com
  Target Milestone: ---

See https://github.com/mozilla/rr/issues/1677
Ref https://sourceware.org/bugzilla/show_bug.cgi?id=16440
Ref https://sourceware.org/bugzilla/show_bug.cgi?id=17546

This only happens when I press extra enter when debugging julia with rr replay.

Backtrace below. Please let me know if other info is needed.

```
(gdb) bt
#0  0x00007ffff61de2a8 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff61df72a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7bbcedf in rl_callback_read_char () from
/usr/lib/libreadline.so.6
#3  0x00000000005c7377 in rl_callback_read_char_wrapper (client_data=<optimized
out>) at event-top.c:153
#4  0x00000000005c6f49 in stdin_event_handler (error=<optimized out>,
client_data=0x0) at event-top.c:409
#5  0x00000000005c5eed in handle_file_event (file_ptr=0x1401bf0,
ready_mask=<optimized out>) at event-loop.c:708
#6  0x00000000005c6382 in gdb_wait_for_event (block=block@entry=0) at
event-loop.c:834
#7  0x00000000005c66e8 in gdb_do_one_event () at event-loop.c:298
#8  0x00000000005c678b in start_event_loop () at event-loop.c:347
#9  0x00000000005c74fe in cli_command_loop (data=<optimized out>) at
event-top.c:168
#10 0x00000000005c0425 in current_interp_command_loop () at interps.c:317
#11 0x00000000005c0e6a in captured_command_loop (data=data@entry=0x0) at
main.c:318
#12 0x00000000005be4a0 in catch_errors (func=func@entry=0x5c0e57
<captured_command_loop>, func_args=func_args@entry=0x0,
errstring=errstring@entry=0x7827ba "", 
    mask=mask@entry=RETURN_MASK_ALL) at exceptions.c:240
#13 0x00000000005c21ce in captured_main (data=data@entry=0x7fffffffdde0) at
main.c:1156
#14 0x00000000005be4a0 in catch_errors (func=func@entry=0x5c14bb
<captured_main>, func_args=func_args@entry=0x7fffffffdde0,
errstring=errstring@entry=0x7827ba "", 
    mask=mask@entry=RETURN_MASK_ALL) at exceptions.c:240
#15 0x00000000005c21eb in gdb_main (args=args@entry=0x7fffffffdde0) at
main.c:1164
#16 0x0000000000462e1e in main (argc=<optimized out>, argv=<optimized out>) at
gdb.c:32
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]