Date: Wed, 10 Mar 2004 10:58:56 +0900 From: Satoshi Hasebe <hasebe@acm.org> To: java@freebsd.org Subject: Re: java crashed Message-ID: <200403100158.i2A1w69F000694@dataz.local> In-Reply-To: <404D35D3.7050504@gddsn.org.cn> References: <404D35D3.7050504@gddsn.org.cn>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
>test the demo's applets , the java crash at libXt??
>%appletviewer example1.html
Does it happen with LANG C?
I'm in a similar situation.
The following code works well with LANG C, but doesn't with LANG ja_JP.eucJP.
class Test {
public static void main(String[] args) {
JFrame jf = new JFrame();
jf.setSize(100, 100);
jf.setVisible(true);
}
}
[-- Attachment #2 --]
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x347FA672
Function=XtWidgetToApplicationContext+0x1A
Library=/usr/X11R6/lib/libXt.so.6
Current Java thread:
at sun.awt.motif.MToolkit.loadSystemColors(Native Method)
at java.awt.SystemColor.updateSystemColors(SystemColor.java:417)
at java.awt.SystemColor.<clinit>(SystemColor.java:409)
at sun.awt.motif.MComponentPeer.pSetBackground(Native Method)
at sun.awt.motif.MPanelPeer.setBackground(MPanelPeer.java:69)
at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:182)
at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:228)
at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:90)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:209)
at java.awt.Frame.addNotify(Frame.java:472)
- locked <0x2c938600> (a java.awt.Component$AWTTreeLock)
at java.awt.Window.show(Window.java:459)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at Test.main(Test.java:7)
Dynamic libraries:
0x8048000 java
0x2807f000 /usr/lib/libpthread.so.1
0x280a2000 /lib/libc.so.5
0x2816e000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x28588000 /usr/lib/libstdc++.so.4
0x2863a000 /lib/libm.so.2
0x28652000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x28660000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x28675000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x28694000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x34541000 /usr/local/jdk1.4.2/jre/lib/i386/libawt.so
0x34792000 /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so
0x347dd000 /usr/X11R6/lib/libXp.so.6
0x347e5000 /usr/X11R6/lib/libXt.so.6
0x3482d000 /usr/X11R6/lib/libXext.so.6
0x2c42a000 /usr/X11R6/lib/libXtst.so.6
0x3483a000 /usr/X11R6/lib/libXmu.so.6
0x3484e000 /usr/X11R6/lib/libX11.so.6
0x34908000 /usr/X11R6/lib/libSM.so.6
0x34910000 /usr/X11R6/lib/libICE.so.6
0x34925000 /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so
0x349f9000 /usr/X11R6/lib/X11/locale/lib/common/xlocale.so.2
0x349fb000 /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2
0x34a01000 /usr/X11R6/lib/libXcursor.so.1
0x34a09000 /usr/X11R6/lib/libXrender.so.1
0x34a10000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
0x34a2b000 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
0x2804e000 /libexec/ld-elf.so.1
Heap at VM Abort:
Heap
def new generation total 576K, used 446K [0x2c430000, 0x2c4d0000, 0x2c910000)
eden space 512K, 74% used [0x2c430000, 0x2c48f860, 0x2c4b0000)
from space 64K, 99% used [0x2c4b0000, 0x2c4bfff8, 0x2c4c0000)
to space 64K, 0% used [0x2c4c0000, 0x2c4c0000, 0x2c4d0000)
tenured generation total 1408K, used 276K [0x2c910000, 0x2ca70000, 0x30430000)
the space 1408K, 19% used [0x2c910000, 0x2c955380, 0x2c955400, 0x2ca70000)
compacting perm gen total 4096K, used 2786K [0x30430000, 0x30830000, 0x34430000)
the space 4096K, 68% used [0x30430000, 0x306e8840, 0x306e8a00, 0x30830000)
Local Time = Wed Mar 10 10:42:01 2004
Elapsed Time = 2
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-hasebe_09_mar_2004_13_56 mixed mode)
#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403100158.i2A1w69F000694>
