SIGTRAP and crash when single-stepping through multithreaded program
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When single-stepping through a program: if a new thread is created, a SIGTRAP is
received, followed by a SEGFAULT.
(gdb) step
[New Thread -1211221072 (LWP 4401)]
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread -1210680400 (LWP 4365)]
0xb7f57861 in __nptl_create_event () from /lib/tls/
(gdb) next
Single stepping until exit from function __nptl_
which has no line number information.
0x007d0f00 in ?? ()
(gdb) cont
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x007d0f00 in ?? ()
(gdb)
The checkins at
http://
seem to fix the problem. Could this be considered for inclusion in dapper?
Thanks,
Gary.
Current gdb version is 6.3-6ubuntu2.