gdb crashed with SIGSEGV in iterate_over_threads() when catching segfault

Bug #285014 reported by David Kågedal
6
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://gnu.org/licenses/gpl.html>
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/simics/4.0/amd64-linux/bin/simics-common
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=sv_SE.UTF-8
 PATH=/home/username/bin:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 SHELL=/bin/zsh
Signal: 11
SourcePackage: gdb
StacktraceTop:
 ?? ()
 iterate_over_threads ()
 ?? ()
 resume ()
 ?? ()
Title: gdb crashed with SIGSEGV in iterate_over_threads()
Uname: Linux 2.6.27-7-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Tags: apport-crash
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.