This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/1828: Internal error attaching gdb to running process


>Number:         1828
>Category:       gdb
>Synopsis:       Internal error attaching gdb to running process
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 13 20:38:02 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     tron.thomas@verizon.net
>Release:        6.3
>Organization:
>Environment:
Fedora Core 2 (Intel)
>Description:
I consistently encounter an internal error in gdb 6.3 when attaching to a running process.

Where is the output generated from the debugging session:

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 "i686-pc-linux-gnu".
(gdb) attach 4791
Attaching to process 4791
Reading symbols from <path to process program>...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/tls/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread -151096512 (LWP 4791)]
[New Thread -494928976 (LWP 4821)]
linux-nat.c:818: internal-error: lin_lwp_attach_lwp: Assertion `pid == GET_LWP (ptid) && WIFSTOPPED (status) && WSTOPSIG (status)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

linux-nat.c:818: internal-error: lin_lwp_attach_lwp: Assertion `pid == GET_LWP (ptid) && WIFSTOPPED (status) && WSTOPSIG (status)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Aborted


Despite answering yes to the "Create a core file of GDB?" prompt, I could find no core file on my system.
>How-To-Repeat:

>Fix:

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]