Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 11:51:23 +0800
From:      Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
To:        java@freebsd.org
Subject:   always core dumps when running swing on -current
Message-ID:  <20040630035123.GA64912@freebsd.csie.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've installed jdk 1.4.2 on my -current (Jun 9) box
and I always got core dumps when I launch swing applications
ps. build java programs and run text mode programs are all ok

here's my error message :

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x34E25899    
Function=XtWidgetToApplicationContext+0x1D          
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 <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
        at java.awt.Dialog.addNotify(Dialog.java:383)
        - locked <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
        at java.awt.Dialog.conditionalShow(Dialog.java:454)
        - locked <0x2c94bfe8> (a java.awt.Component$AWTTreeLock)
        at java.awt.Dialog.show(Dialog.java:524)
        at net.sf.jpatch.boundary.About.<init>(About.java:394)
        at net.sf.jpatch.boundary.MainFrame.<init>(MainFrame.java:161)
        at net.sf.jpatch.Modeler.main(Modeler.java:11)

Dynamic libraries:
0x8048000       java
0x28082000      /usr/lib/libpthread.so.1
0x280a6000      /lib/libc.so.5
0x2817f000      /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x285a2000      /usr/lib/libstdc++.so.4
0x28658000      /lib/libm.so.2
0x28671000      /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x2867f000      /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x28694000      /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x286b3000      /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x34b51000      /usr/local/jdk1.4.2/jre/lib/i386/libawt.so
0x34dbc000      /usr/local/jdk1.4.2/jre/lib/i386/libmlib_image.so
0x34e07000      /usr/X11R6/lib/libXp.so.6
0x34e0f000      /usr/X11R6/lib/libXt.so.6
0x34e5c000      /usr/X11R6/lib/libXext.so.6
0x2c449000      /usr/X11R6/lib/libXtst.so.6
0x34e69000      /usr/X11R6/lib/libXmu.so.6
0x34e7e000      /usr/X11R6/lib/libX11.so.6
0x34f3e000      /usr/X11R6/lib/libXau.so.0
0x34f41000      /usr/X11R6/lib/libSM.so.6
0x34f4a000      /usr/X11R6/lib/libICE.so.6
0x34f60000      /usr/local/jdk1.4.2/jre/lib/i386/libfontmanager.so
0x35035000      /usr/X11R6/lib/X11/locale/lib/common/xlibi18n.so.2
0x3503b000      /usr/X11R6/lib/libXcursor.so.1
0x35044000      /usr/X11R6/lib/libXrender.so.1
0x3504b000      /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
0x3506b000      /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 428K [0x2c450000, 0x2c4f0000, 0x2c930000)
  eden space 512K,  75% used [0x2c450000, 0x2c4b0430, 0x2c4d0000)
  from space 64K,  68% used [0x2c4e0000, 0x2c4eae68, 0x2c4f0000)
  to   space 64K,   0% used [0x2c4d0000, 0x2c4d0000, 0x2c4e0000)
 tenured generation   total 1408K, used 1244K [0x2c930000, 0x2ca90000, 0x30450000)
   the space 1408K,  88% used [0x2c930000, 0x2ca67168, 0x2ca67200, 0x2ca90000)
 compacting perm gen  total 7168K, used 7081K [0x30450000, 0x30b50000, 0x34450000)
   the space 7168K,  98% used [0x30450000, 0x30b3a590, 0x30b3a600, 0x30b50000)

Local Time = Wed Jun 30 11:47:52 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-root_23_jun_2004_11_53 mixed mode)
#
# An error report file has been saved as hs_err_pid17526.log.
# Please refer to the file for further information.
#
Abort (core dumped)
-- 
self-producing in perl :
$_=q(print"\$_=q($_);eval;");eval;
					-- V Vinay

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA4ji7rMYBZRHAI4IRAkxXAKDqj0Olmm2JdB7SJEm/W/RAtiXrQACgpT8K
gKYEwc1eZ0SRMlQ24jluLfQ=
=37FF
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--



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