public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb/568: Cannot find user-level thread for LWP 1530: generic error - Occurs in 5.3 too
@ 2003-07-10 12:41 Srikrishnan Sundararajan
  0 siblings, 0 replies; only message in thread
From: Srikrishnan Sundararajan @ 2003-07-10 12:41 UTC (permalink / raw)
  To: gdb





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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-10 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 12:41 gdb/568: Cannot find user-level thread for LWP 1530: generic error - Occurs in 5.3 too Srikrishnan Sundararajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).