Date: Tue, 25 Feb 2003 01:46:27 +0900 (JST) From: Munehiro Matsuda <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 Message-ID: <20030225.014627.41626713.haro@h4.dion.ne.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Chris,
From: Christopher Rued <c.rued@xsb.com>
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.
<snip>
::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.
<snip>
::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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225.014627.41626713.haro>
