From owner-freebsd-java Mon Oct 28 2:57:17 2002 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 07DC737B401; Mon, 28 Oct 2002 02:57:16 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96BAE43E42; Mon, 28 Oct 2002 02:57:15 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 1867Zw-0003GV-00; Mon, 28 Oct 2002 02:57:04 -0800 Date: Mon, 28 Oct 2002 02:57:04 -0800 To: JY Cc: freebsd-java@FreeBSD.ORG, freebsd-stable@freebsd.org, "Bill Huey (Hui)" Subject: Re: awt app always abort when exit using hotspot vm under STABLE Message-ID: <20021028105704.GA12534@gnuppy.monkey.org> References: <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028092720.GA47824@leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021028092720.GA47824@leafy.idv.tw> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Mon, Oct 28, 2002 at 05:27:20PM +0800, JY wrote: > I used gcc3.1 too. The failure condition is to close the app, then it core dumps.Both SwingSet2 and JEdit behave like this. I can send you the core if you would like to see it, but it's huge. From the posted stack trace: =========================================== #0 0x180b15a8 in kill () from /usr/lib/libc_r.so.4 (gdb) bt #0 0x180b15a8 in kill () from /usr/lib/libc_r.so.4 #1 0x180ff0ae in abort () from /usr/lib/libc_r.so.4 #2 0x19d6b6b5 in __deregister_frame_info () from /usr/lib/libstdc++.so.3 #3 0x197e2f49 in __do_global_dtors_aux () from /usr/local/jdk1.3.1/jre/lib/i386/libawt_g.so #4 0x1993d055 in _fini () from /usr/local/jdk1.3.1/jre/lib/i386/libawt_g.so #5 0x1804fe59 in find_symdef () from /usr/libexec/ld-elf.so.1 #6 0x180ff500 in exit () from /usr/lib/libc_r.so.4 #7 0x183b60dc in os::exit(int) (code=0) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:1065 #8 0x182e087a in vm_exit(int) (code=0) at /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/java.cpp:338 #9 0x1831eac1 in JVM_Halt () from /usr/local/jdk1.3.1/jre/lib/i386/client/libjvm_g.so #10 0x18784bf2 in Java_java_lang_Shutdown_halt (env=0x81d0eb0, ignored=0x8564a18, code=0) at ../../../src/share/native/java/lang/Shutdown.c:21 =========================================== ...I realized this is a crash in the C++/rtld system, not HotSpot itself. It's trying to do a proper exist, but blows up on a symbol query when a .so is being unloaded. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message