Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 10:31:57 +0900 (JST)
From:      Munehiro Matsuda <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
Message-ID:  <20030224.103157.108739495.haro@kgt.co.jp>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
----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 <c.rued@xsb.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224.103157.108739495.haro>