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 record/20456] gdb crash with record and d


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

--- Comment #6 from 13nixonf at gmail dot com ---
Here's the output with:
 set debug infrun 1
 set debug lin-lwp 1
 set debug record 1


Thread 1 "my-ide" hit Breakpoint 1,
main_ui.FileViewer.this(gtk.Builder.Builder).recurseOverDirectories(gtk.TreeStore.TreeStore,
gtk.TreeIter.TreeIter, immutable(char)[]) (this=0x7ffff7ed2800, path=...,
parent=0x0, store=0x7ffff7ecd100)
    at source/main_ui.d:66
66                              }
(gdb) set debug infrun 1
(gdb) set debug lin-lwp 1
(gdb) set debug record 1
(gdb) record
Process record: record_full_open
Process record: record_full_open
(gdb) c
Continuing.
infrun: clear_proceed_status_thread (Thread 0x7ffff7fcd940 (LWP 7693))
infrun: clear_proceed_status_thread (Thread 0x7fffeceff700 (LWP 7694))
infrun: clear_proceed_status_thread (Thread 0x7fffec6fe700 (LWP 7695))
infrun: clear_proceed_status_thread (Thread 0x7fffea5c6700 (LWP 7701))
infrun: clear_proceed_status_thread (Thread 0x7fffe8d16700 (LWP 7705))
infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT)
infrun: step-over queue now empty
infrun: resuming [Thread 0x7ffff7fcd940 (LWP 7693)] for step-over
infrun: stop_all_threads
infrun: stop_all_threads, pass=0, iterations=0
infrun:   Thread 0x7ffff7fcd940 (LWP 7693) not executing
infrun:   Thread 0x7fffeceff700 (LWP 7694) not executing
infrun:   Thread 0x7fffec6fe700 (LWP 7695) not executing
infrun:   Thread 0x7fffea5c6700 (LWP 7701) not executing
infrun:   Thread 0x7fffe8d16700 (LWP 7705) not executing
infrun: stop_all_threads, pass=1, iterations=1
infrun:   Thread 0x7ffff7fcd940 (LWP 7693) not executing
infrun:   Thread 0x7fffeceff700 (LWP 7694) not executing
infrun:   Thread 0x7fffec6fe700 (LWP 7695) not executing
infrun:   Thread 0x7fffea5c6700 (LWP 7701) not executing
infrun:   Thread 0x7fffe8d16700 (LWP 7705) not executing
infrun: stop_all_threads done
infrun: skipping breakpoint: stepping past insn at: 0x7546e5
infrun: skipping breakpoint: stepping past insn at: 0x7546e5
infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=1, current thread
[Thread 0x7ffff7fcd940 (LWP 7693)] at 0x7546e5
LLR: Preparing to step Thread 0x7ffff7fcd940 (LWP 7693), 0, inferior_ptid
Thread 0x7ffff7fcd940 (LWP 7693)
LLR: PTRACE_SINGLESTEP Thread 0x7ffff7fcd940 (LWP 7693), 0 (resume event
thread)
infrun: infrun_async(1)
sigchld
infrun: prepare_to_wait
Process record: record_full_wait record_full_resume_step = 1,
record_full_resumed = 1, direction=forward
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not resumed
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not resumed
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), not resumed
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), not resumed
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 7693, ERRNO-OK
LLW: waitpid 7693 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7ffff7fcd940 (LWP 7693) stopped by trace
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not resumed
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not resumed
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), not resumed
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), not resumed
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
LLW: trap ptid is Thread 0x7ffff7fcd940 (LWP 7693).
LLW: exit
infrun: target_wait (-1.0.0, status) =
infrun:   7693.7693.0 [Thread 0x7ffff7fcd940 (LWP 7693)],
infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
infrun: TARGET_WAITKIND_STOPPED
infrun: clear_step_over_info
infrun: restart threads: [Thread 0x7ffff7fcd940 (LWP 7693)] is event thread
infrun: restart threads: [Thread 0x7fffeceff700 (LWP 7694)] continuing
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[Thread 0x7fffeceff700 (LWP 7694)] at 0x7ffff6fd219d
LLR: Preparing to step Thread 0x7fffeceff700 (LWP 7694), 0, inferior_ptid
Thread 0x7fffeceff700 (LWP 7694)
LLR: PTRACE_SINGLESTEP Thread 0x7fffeceff700 (LWP 7694), 0 (resume event
thread)
infrun: prepare_to_wait
infrun: restart threads: [Thread 0x7fffec6fe700 (LWP 7695)] continuing
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[Thread 0x7fffec6fe700 (LWP 7695)] at 0x7ffff6fd219d
LLR: Preparing to step Thread 0x7fffec6fe700 (LWP 7695), 0, inferior_ptid
Thread 0x7fffec6fe700 (LWP 7695)
LLR: PTRACE_SINGLESTEP Thread 0x7fffec6fe700 (LWP 7695), 0 (resume event
thread)
infrun: prepare_to_wait
infrun: restart threads: [Thread 0x7fffea5c6700 (LWP 7701)] continuing
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[Thread 0x7fffea5c6700 (LWP 7701)] at 0x7ffff6fd219d
LLR: Preparing to step Thread 0x7fffea5c6700 (LWP 7701), 0, inferior_ptid
Thread 0x7fffea5c6700 (LWP 7701)
LLR: PTRACE_SINGLESTEP Thread 0x7fffea5c6700 (LWP 7701), 0 (resume event
thread)
infrun: prepare_to_wait
infrun: restart threads: [Thread 0x7fffe8d16700 (LWP 7705)] continuing
sigchld
sigchld
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[Thread 0x7fffe8d16700 (LWP 7705)] at 0x7ffff6fd6e49
LLR: Preparing to step Thread 0x7fffe8d16700 (LWP 7705), 0, inferior_ptid
Thread 0x7fffe8d16700 (LWP 7705)
LLR: PTRACE_SINGLESTEP Thread 0x7fffe8d16700 (LWP 7705), 0 (resume event
thread)
infrun: prepare_to_wait
infrun: stop_pc = 0x7546ec
infrun: context switch
infrun: Switching context from Thread 0x7fffe8d16700 (LWP 7705) to Thread
0x7ffff7fcd940 (LWP 7693)
sigchld
infrun: no stepping, continue
infrun: resume (step=0, signal=GDB_SIGNAL_0), trap_expected=0, current thread
[Thread 0x7ffff7fcd940 (LWP 7693)] at 0x7546ec
LLR: Preparing to step Thread 0x7ffff7fcd940 (LWP 7693), 0, inferior_ptid
Thread 0x7ffff7fcd940 (LWP 7693)
LLR: PTRACE_SINGLESTEP Thread 0x7ffff7fcd940 (LWP 7693), 0 (resume event
thread)
infrun: prepare_to_wait
Process record: record_full_wait record_full_resume_step = 0,
record_full_resumed = 1, direction=forward
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not stopped
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), not stopped
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), not stopped
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 7705, ERRNO-OK
LLW: waitpid 7705 received Trace/breakpoint trap (stopped)
LNW: waitpid(-1, ...) returned 7693, ERRNO-OK
LLW: waitpid 7693 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7ffff7fcd940 (LWP 7693) stopped by trace
LNW: waitpid(-1, ...) returned 7695, ERRNO-OK
LLW: waitpid 7695 received Trace/breakpoint trap (stopped)
LNW: waitpid(-1, ...) returned 7694, ERRNO-OK
LLW: waitpid 7694 received Trace/breakpoint trap (stopped)
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), has pending status
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), has pending status
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), has pending status
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
SEL: Found 4 events, selecting #0
LLW: trap ptid is Thread 0x7fffe8d16700 (LWP 7705).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
LLR: Short circuiting for status 0x57f
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: resuming stopped-resumed LWP Thread 0x7fffe8d16700 (LWP 7705) at
0x7ffff6fd6e49: step=1
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), has pending status
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), has pending status
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
LLW: enter
LLW: Using pending wait status Trace/breakpoint trap (stopped) for Thread
0x7fffec6fe700 (LWP 7695).
SEL: Found 3 events, selecting #1
LLW: trap ptid is Thread 0x7fffeceff700 (LWP 7694).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
LLR: Short circuiting for status 0x57f
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not stopped
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), has pending status
RSRL: resuming stopped-resumed LWP Thread 0x7fffeceff700 (LWP 7694) at
0x7ffff6fd219d: step=1
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
LLW: enter
LLW: Using pending wait status Trace/breakpoint trap (stopped) for Thread
0x7fffec6fe700 (LWP 7695).
SEL: Found 2 events, selecting #0
LLW: trap ptid is Thread 0x7fffec6fe700 (LWP 7695).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
LLR: Short circuiting for status 0x57f
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not stopped
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: resuming stopped-resumed LWP Thread 0x7fffec6fe700 (LWP 7695) at
0x7ffff6fd219d: step=1
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), not stopped
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
LLW: enter
LLW: Using pending wait status Trace/breakpoint trap (stopped) for Thread
0x7ffff7fcd940 (LWP 7693).
LLW: trap ptid is Thread 0x7ffff7fcd940 (LWP 7693).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
RC: Not resuming sibling Thread 0x7fffe8d16700 (LWP 7705) (not stopped)
RC: Not resuming sibling Thread 0x7fffea5c6700 (LWP 7701) (not stopped)
RC: Not resuming sibling Thread 0x7fffec6fe700 (LWP 7695) (not stopped)
RC: Not resuming sibling Thread 0x7fffeceff700 (LWP 7694) (not stopped)
LLR: PTRACE_SINGLESTEP Thread 0x7ffff7fcd940 (LWP 7693), 0 (resume event
thread)
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), not stopped
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), not stopped
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), not stopped
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), not stopped
LLW: enter
LNW: waitpid(-1, ...) returned 7705, ERRNO-OK
LLW: waitpid 7705 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7fffe8d16700 (LWP 7705) stopped by trace
LNW: waitpid(-1, ...) returned 7693, ERRNO-OK
LLW: waitpid 7693 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7ffff7fcd940 (LWP 7693) stopped by trace
LNW: waitpid(-1, ...) returned 7695, ERRNO-OK
LLW: waitpid 7695 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7fffec6fe700 (LWP 7695) stopped by trace
LNW: waitpid(-1, ...) returned 7694, ERRNO-OK
LLW: waitpid 7694 received Trace/breakpoint trap (stopped)
CSBB: Thread 0x7fffeceff700 (LWP 7694) stopped by trace
LNW: waitpid(-1, ...) returned 0, ERRNO-OK
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), has pending status
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), has pending status
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), has pending status
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), has pending status
SEL: Found 4 events, selecting #3
LLW: trap ptid is Thread 0x7ffff7fcd940 (LWP 7693).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
RC: Not resuming sibling Thread 0x7fffe8d16700 (LWP 7705) (has pending)
RC: Not resuming sibling Thread 0x7fffea5c6700 (LWP 7701) (not stopped)
RC: Not resuming sibling Thread 0x7fffec6fe700 (LWP 7695) (has pending)
RC: Not resuming sibling Thread 0x7fffeceff700 (LWP 7694) (has pending)
LLR: PTRACE_SINGLESTEP Thread 0x7ffff7fcd940 (LWP 7693), 0 (resume event
thread)
linux_nat_wait: [process -1], [TARGET_WNOHANG]
RSRL: NOT resuming LWP Thread 0x7fffe8d16700 (LWP 7705), has pending status
RSRL: NOT resuming LWP Thread 0x7fffea5c6700 (LWP 7701), not stopped
RSRL: NOT resuming LWP Thread 0x7fffec6fe700 (LWP 7695), has pending status
RSRL: NOT resuming LWP Thread 0x7fffeceff700 (LWP 7694), has pending status
RSRL: NOT resuming LWP Thread 0x7ffff7fcd940 (LWP 7693), not stopped
LLW: enter
LLW: Using pending wait status Trace/breakpoint trap (stopped) for Thread
0x7fffe8d16700 (LWP 7705).
SEL: Found 3 events, selecting #2
LLW: trap ptid is Thread 0x7fffeceff700 (LWP 7694).
LLW: exit
sigchld
Process record: record_full_wait issuing one more step in the target beneath
LLR: Preparing to step process -1, 0, inferior_ptid Thread 0x7ffff7fcd940 (LWP
7693)
RC: Not resuming sibling Thread 0x7fffe8d16700 (LWP 7705) (has pending)
RC: Not resuming sibling Thread 0x7fffea5c6700 (LWP 7701) (not stopped)
RC: Not resuming sibling Thread 0x7fffec6fe700 (LWP 7695) (has pending)
RC: Resuming sibling Thread 0x7fffeceff700 (LWP 7694), 0, resume
LLR: PTRACE_SINGLESTEP Thread 0x7ffff7fcd940 (LWP 7693), 0 (resume event
thread)
infrun: infrun_async(0)
./nat/x86-linux-dregs.c:146: internal-error: void
x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped (lwp)'
failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

-- 
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]