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]

threads/1856: thread-db.c:667: internal-error: thread_db_new_objfile: Assertion `proc_handle.pid == 0' failed.


>Number:         1856
>Category:       threads
>Synopsis:       thread-db.c:667: internal-error: thread_db_new_objfile: Assertion `proc_handle.pid == 0' failed.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 28 09:28:00 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     dominik.strasser@infineon.com
>Release:        6.3
>Organization:
>Environment:
Linux x86 RH 9 Kernel 2.4.20
>Description:
When attaching to the small included test program, and trying to change the symbol-file, the assertion in the Title occurs.
>How-To-Repeat:
gcc -o thread thread.c -lpthread
cp thread thread1
strip thread
./thread&
gdb
attach to pid above
symbol-file thread1

<assertion occurs>
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="thread.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="thread.c"

I2luY2x1ZGUgPHB0aHJlYWQuaD4KCnZvaWQgKiBmb28odm9pZCogZHVtbXkpCnsKCXdoaWxlKDEp
OwoJcmV0dXJuIDA7Cn0KCmludCBtYWluKCkKewoKCXB0aHJlYWRfdCBwaWQ7CglwdGhyZWFkX2F0
dHJfdCBhdHRyczsKCXB0aHJlYWRfYXR0cl9pbml0KCZhdHRycyk7CgoJcHRocmVhZF9jcmVhdGUo
JnBpZCwgJmF0dHJzLCBmb28sIDApOwoJcHRocmVhZF9qb2luKHBpZCwgMCk7CglyZXR1cm4gMDsK
fQoJCg==


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