From owner-freebsd-java Mon Feb 24 7:58:34 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 B21C537B401 for ; Mon, 24 Feb 2003 07:58:32 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE7EC43FBD for ; Mon, 24 Feb 2003 07:58:31 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1OFwL4p094997; Mon, 24 Feb 2003 10:58:21 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1OFwKp5094994; Mon, 24 Feb 2003 10:58:20 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15962.16668.753657.116140@ool-18bacefa.dyn.optonline.net> Date: Mon, 24 Feb 2003 10:58:20 -0500 To: Munehiro Matsuda Cc: freebsd-java@FreeBSD.ORG Subject: Re: [REPOST] java/47397: [PATCH] java/jdk13 to enable HotSpot 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> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 > 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. 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