gdb crashed with SIGSEGV in iterate_over_threads() when catching segfault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gdb
I attach gdb to a running program and then I continue from the debugger and make my program do something that causes a crash that I want to debug.
Unfortunately, this makes gdb crash as well.
krank% gdb ~
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
(gdb) attach 16743
Attaching to process 16743
Reading symbols from...
...
(gdb) c
Continuing.
[New process 16743]
Executing new program: /home/david/
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
[New process 16743]
[Thread debugging using libthread_db enabled]
[1] 16787 segmentation fault (core dumped) gdb
ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/gdb
Package: gdb 6.8-3ubuntu2
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/gdb
ProcEnviron:
LC_CTYPE=
PATH=/
SHELL=/bin/zsh
Signal: 11
SourcePackage: gdb
StacktraceTop:
?? ()
iterate_
?? ()
resume ()
?? ()
Title: gdb crashed with SIGSEGV in iterate_
Uname: Linux 2.6.27-7-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare