Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 02:57:04 -0800
From:      Bill Huey (Hui) <billh@gnuppy.monkey.org>
To:        JY <leafy@leafy.idv.tw>
Cc:        freebsd-java@FreeBSD.ORG, freebsd-stable@freebsd.org, "Bill Huey (Hui)" <billh@gnuppy.monkey.org>
Subject:   Re: awt app always abort when exit using hotspot vm under STABLE
Message-ID:  <20021028105704.GA12534@gnuppy.monkey.org>
In-Reply-To: <20021028092720.GA47824@leafy.idv.tw>
References:  <3DB61145.8050207@mail.gddsn.org.cn> <20021028081346.GA11956@gnuppy.monkey.org> <20021028092720.GA47824@leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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-stable" in the body of the message




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