gdb/1953: gdb fails when breakpoint hit in NPTL thread

bryanwilkerson@yahoo.com bryanwilkerson@yahoo.com
Fri May 27 16:08:00 GMT 2005


>Number:         1953
>Category:       gdb
>Synopsis:       gdb fails when breakpoint hit in NPTL thread
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri May 27 16:08:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     bryanwilkerson@yahoo.com
>Release:        GNU gdb 6.3
>Organization:
>Environment:
uname -a = Linux vincent 2.6.12-rc3-inotify-smp #2 SMP Sat May 21 08:50:26 PDT 2005 i686 i686 i386 GNU/Linux

gcc -v = Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

gdb -v = 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-suse-linux".

glibc = 
GNU C Library stable release version 2.3.4 (20050218), by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 3.3.5 20050117 (prerelease) (SUSE Linux).
Compiled on a Linux 2.6.9 system on 2005-03-19.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        GNU Libidn by Simon Josefsson
        NoVersion patch for broken glibc 2.0 binaries
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
>Description:
When a break point is hit by a thread created with the pthreads library (NPTL) the following is displayed on the GDB console:

Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.

No further debugging is possible.  I've also verified that the problem happens when running on the stock SuSE 9.3 kernel (2.6.11.4-20a-smp)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 



More information about the Gdb-prs mailing list