From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9937 invoked by alias); 18 Feb 2006 18:33:18 -0000 Received: (qmail 9924 invoked by uid 22791); 18 Feb 2006 18:33:18 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 18 Feb 2006 18:33:17 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FAWtP-0006W3-8S; Sat, 18 Feb 2006 13:33:15 -0500 Date: Sat, 18 Feb 2006 19:09:00 -0000 From: Daniel Jacobowitz To: "U. George" Cc: gdb@sourceware.org Subject: Re: why is "gdb /home/gat/JAVA/JDK16/jdk1.6.0/bin/java" so broken? Message-ID: <20060218183315.GA25033@nevyn.them.org> Mail-Followup-To: "U. George" , gdb@sourceware.org References: <43F76720.3050903@gatworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F76720.3050903@gatworks.com> User-Agent: Mutt/1.5.8i 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/msg00244.txt.bz2 On Sat, Feb 18, 2006 at 01:27:44PM -0500, U. George wrote: > 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? Probably the JDK does something funny with threads that bypasses libthread_db. -- Daniel Jacobowitz CodeSourcery