From owner-freebsd-java Mon Feb 24 8:46:57 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2807437B401 for ; Mon, 24 Feb 2003 08:46:56 -0800 (PST) Received: from hfep05.dion.ne.jp (hfep05.dion.ne.jp [203.181.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE3E43FA3 for ; Mon, 24 Feb 2003 08:46:49 -0800 (PST) (envelope-from haro@h4.dion.ne.jp) Received: from localhost ([211.5.22.143]) by hfep05.dion.ne.jp with ESMTP id <20030224164648338.KUFF@hfep05.dion.ne.jp>; Tue, 25 Feb 2003 01:46:48 +0900 Date: Tue, 25 Feb 2003 01:46:27 +0900 (JST) Message-Id: <20030225.014627.41626713.haro@h4.dion.ne.jp> To: c.rued@xsb.com Cc: haro@kgt.co.jp, freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> References: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp> <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Chris, From: Christopher Rued Date: Mon, 24 Feb 2003 10:58:20 -0500 :: > Anyhow, I think we need to know, where exactly it's dying. :: > I attached a little script that starts up java with in gdb. :: > Try running your program within gdb with 'run' command, and :: > if it dies type 'where' to find stuck trace of it. ::I tried running it in gdb myself, but did not get any useful results. ::I used your script, and this is what I got: :: ::$ ./debugjdk.sh ::GNU gdb 4.18 (FreeBSD) ::Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/g ::db/gdb/dwarf2read.c line 3049 in dwarf2_read_section :: ::Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader. ::The stack trace doesn't seem very informative, but that SIGILL looks ::fishy. Oops. Gdb on 4-STABLE does not seem to support code produced with gcc32. :-( To further debug this problem, We must decide whether: 1) to re-compile jdk13+hotspot with system gcc(2.9.5.4) that gdb can handle, by modifing ports/jdk13/Makefile. or 2) to install gdb5x that can handle code from gcc32. hope this helps, haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message