From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7131 invoked by alias); 18 Feb 2006 18:27:55 -0000 Received: (qmail 7121 invoked by uid 22791); 18 Feb 2006 18:27:54 -0000 X-Spam-Check-By: sourceware.org Received: from pool-151-205-111-177.ny325.east.verizon.net (HELO gatworks.com) (151.205.111.177) by sourceware.org (qpsmtpd/0.31) with SMTP; Sat, 18 Feb 2006 18:27:54 +0000 Received: (qmail 16694 invoked from network); 18 Feb 2006 18:25:59 -0000 Received: from unknown (HELO ?192.168.0.37?) (192.168.0.37) by gatworks.com with SMTP; 18 Feb 2006 18:25:59 -0000 Message-ID: <43F76720.3050903@gatworks.com> Date: Sat, 18 Feb 2006 18:39:00 -0000 From: "U. George" User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) MIME-Version: 1.0 To: gdb@sourceware.org Subject: why is "gdb /home/gat/JAVA/JDK16/jdk1.6.0/bin/java" so broken? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00243.txt.bz2 After some 60min of running javasoft's java, the program finally dies of a segfault. I have been trying, and apparently for several years now, according to the gdb bug base, to get GDB to work with java & threads. Version 6.4 does not work any better. there is something wrong in libthread_db.so. I'm not yet willing to just replace the libs, as this may affect the 'heap' bug that shows itself randomly. So whats goin on with gdb? > [gat@MyLaptop ~]$ gdb /home/gat/JAVA/JDK16/jdk1.6.0/bin/java > GNU gdb Red Hat Linux (6.3.0.0-1.84rh) > Copyright 2004 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 "i386-redhat-linux-gnu"...(no debugging symbols found) > Using host libthread_db library "/lib/tls/i686/libthread_db.so.1". > > (gdb) r > Starting program: /home/gat/JAVA/JDK16/jdk1.6.0/bin/java > Reading symbols from shared object read from target memory...(no debugging symbols found)...done. > Loaded system supplied DSO at 0xd46000 > (no debugging symbols found) > [Thread debugging using libthread_db enabled] > [New Thread 2251072 (LWP 2428)] > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > Cannot find user-level thread for LWP 2428: generic error > (gdb)