This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
java/1323: Cannot find user-level thread for LWP
- From: Hertzog dot Philippe at hydro dot qc dot ca
- To: gdb-gnats at sources dot redhat dot com
- Date: 7 Aug 2003 16:01:44 -0000
- Subject: java/1323: Cannot find user-level thread for LWP
- Reply-to: Hertzog dot Philippe at hydro dot qc dot ca
>Number: 1323
>Category: java
>Synopsis: Cannot find user-level thread for LWP
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Aug 07 16:08:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: P. Hertzog
>Release: gdb 5.3.90_20030807
>Organization:
>Environment:
Linux Red Hat 8.0 (intel)
>Description:
I cannot debug java application compiled with javac and javah using gdb debugger even with a simple Java program.
Method reported here use gcj compiler which is not usable with JNI:
http://www.gnu.org/software/gcc/java/gdb.html
The same application can be debugged with gdb on Dec Alpha Tru64 or Apple MacOsX but not on linux ?
>How-To-Repeat:
Allways
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gdb-bug.txt"
Content-Disposition: inline; filename="gdb-bug.txt"
#gdb java
GNU gdb 5.3.90_20030807
Copyright 2003 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"...(no debugging symbols found)...
(gdb) run -classpath jgesteau2.jar ca.qc.hydro.gesteau.exe.main.UiGesteau
Starting program: /opt/java1.4.1_02/bin/java -classpath jgesteau2.jar ca.qc.hydro.gesteau.exe.main.UiGesteau
(no debugging symbols found)...[New Thread 16384 (LWP 6359)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Cannot find user-level thread for LWP 6359:
generic error
(gdb) quit