From owner-freebsd-java Sun Feb 23 17:32:23 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 4532D37B401 for ; Sun, 23 Feb 2003 17:32:21 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E4743F93 for ; Sun, 23 Feb 2003 17:32:20 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 616854A247; Mon, 24 Feb 2003 10:32:18 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 3A40C47711; Mon, 24 Feb 2003 10:32:18 +0900 (JST) Received: from localhost [192.168.17.108] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id A7182A80132; Mon, 24 Feb 2003 10:36:24 +0900 Date: Mon, 24 Feb 2003 10:31:57 +0900 (JST) Message-Id: <20030224.103157.108739495.haro@kgt.co.jp> To: c.rued@xsb.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot From: Munehiro Matsuda In-Reply-To: <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> References: <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> <15961.28772.873323.999940@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: Multipart/Mixed; boundary="--Next_Part(Mon_Feb_24_10:31:57_2003_808)--" 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 ----Next_Part(Mon_Feb_24_10:31:57_2003_808)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Chris, From: Christopher Rued Date: Sun, 23 Feb 2003 20:07:48 -0500 ::Munehiro Matsuda writes: :: > Can you apply the atteched patch, and test compile it. :: ::I applied your new patch (after applying your first patch). Now, it ::compiles if I set WITH_HOTSPOT to core, compiler1, or compiler2 (or ::just use -DWITH_HOTSPOT). However, it still crashes with the message: Ok, one down and one more to go... :: Unexpected Signal : 4 occurred at PC=0x80c888b :: ::and dumps core any time I try to run any command, regardless of what ::options were used to compile it. :: ::I'm not sure what to try next. I'm thinking about rebuilding my ::system/kernel. Any useful debugging flags I can compile in/tools I ::can use to debug it? I'm currently guessing that, it 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. e.g. (gdb) run -version (gdb) where (gdb) run -jar what_ever_your.jar (gdb) where Hope it 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 ----Next_Part(Mon_Feb_24_10:31:57_2003_808)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="debug.hotspot" export LD_BIND_NOW=true export APPHOME=/usr/local/jdk1.3.1 export LD_LIBRARY_PATH=/usr/local/jdk1.3.1/jre/lib/i386/native_threads:/usr/local/jdk1.3.1/jre/lib/i386/hotspot:/usr/local/jdk1.3.1/jre/lib/i386 gdb /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g ----Next_Part(Mon_Feb_24_10:31:57_2003_808)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message