This is the mail archive of the gdb@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/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


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