Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 10:58:20 -0500
From:      Christopher Rued <c.rued@xsb.com>
To:        Munehiro Matsuda <haro@kgt.co.jp>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot
Message-ID:  <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net>
In-Reply-To: <20030224.103157.108739495.haro@kgt.co.jp>
References:  <20030221121105.I74143@turing.morons.org> <20030224.001844.126617556.haro@h4.dion.ne.jp> <15961.28772.873323.999940@ool-18bacefa.dyn.optonline.net> <20030224.103157.108739495.haro@kgt.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
 > 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

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.

(gdb) run -version
Starting program: /usr/local/jdk1.3.1/jre/bin/i386/native_threads/java_g -version
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

<snip -- above two lines repeat several times>

java version "1.3.1-p8"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030223-16:52)
Java HotSpot(TM) Server VM (build 1.3.1-internal-debug, mixed mode)

Program received signal SIGILL, Illegal instruction.
0x80fbf7f in ?? ()
(gdb) where
#0  0x80fbf7f in ?? ()
#1  0x288ad01d in ?? ()
#2  0x28377747 in ?? ()
#3  0x2837725c in ?? ()
#4  0x28376f76 in ?? ()
#5  0x28376fda in ?? ()
#6  0x284b513c in ?? ()
#7  0x284b9c9b in ?? ()
#8  0x283b01cb in ?? ()
#9  0x80493c3 in ?? ()
#10 0x8048bc2 in ?? ()

The stack trace doesn't seem very informative, but that SIGILL looks
fishy.

Thanks,

--
Chris

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?15962.16668.753657.116140>