This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb/568: Cannot find user-level thread for LWP 1530: generic error - Occursin 5.3 too
- From: Srikrishnan Sundararajan <srikrishnan at in dot ibm dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 10 Jul 2003 18:16:15 +0530
- Subject: gdb/568: Cannot find user-level thread for LWP 1530: generic error - Occursin 5.3 too
Hi,
When I'm running my MT program(using pthreads) in gdb-5.3, I came across
"Cannot find user-level thread for LWP 1530: generic error". A google
search showed that gdb bug#568 was similar. (
http://sources.redhat.com/ml/gdb-prs/2002-q2/msg00278.html)
I compiled and ran gdb-5.3/gdb/testsuite/gdb.threads/killed.c under
gdb-5,3. This also gave the same error. Is this a known bug without a
solution? (I found in the gdb bug database that it is still unassigned)
I found a supposed patch at as RFA:gdb/568 at
http://sources.redhat.com/ml/gdb-patches/2002-07/msg00614.html. Upon
applying this patch, I had the following output while running the killed.c
under gdb.
__
[New Thread 1024 (LWP 18387)]
[New Thread 2049 (LWP 18388)]
[New Thread 1026 (LWP 18389)]
Program exited normally.
(gdb)
____
My questions:
1. Is this a known problem?
2. Is RFA mentioned above a solution? If so, why is it not included in the
source code?
3. Any suggestions on how to solve/work around this problem?
Any help would be appreciated.
Thanks,
Srikrishnan