From owner-freebsd-java Wed Mar 12 7: 2:26 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 BA89237B401 for ; Wed, 12 Mar 2003 07:02:22 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C8D43FBF for ; Wed, 12 Mar 2003 07:02:19 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h2CHE4mJ047663; Wed, 12 Mar 2003 17:14:05 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h2CF92ZR002160; Wed, 12 Mar 2003 17:09:02 +0200 (EET) (envelope-from ml) Date: Wed, 12 Mar 2003 17:09:02 +0200 From: Alexey Zelkin To: "SUGIMURA Takashi ?$B?yB Cc: freebsd-java@FreeBSD.ORG Subject: Re: core dumped JDK 1.4.1 demo Message-ID: <20030312170902.A2112@phantom.cris.net> References: <20030312.234832.730610244.sugimura@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030312.234832.730610244.sugimura@jp.FreeBSD.org>; from sugimura@jp.FreeBSD.org on Wed, Mar 12, 2003 at 11:48:32PM +0900 X-Operating-System: FreeBSD 4.7-STABLE i386 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 Wed, Mar 12, 2003 at 11:48:32PM +0900, SUGIMURA Takashi ?$B?yB Hello all, > > Yesterday I made JDK 1.4.1p3 successfully, > but I cannot execute JDK demos using AWT or Swing. > > How can I help you to solve this problem? 1. Post backtrace of core file generated on this error. 2. Try 'java_g' instead of 'java', if it fails too, post one more backtrace. PS: To avoid spaming of list - please post backtraces to me privately. > > > My environment: > 5.0-current (2003/03/04) > XFree86 4.2.0_1 > XFree86-libraries-4.2.1_6 > open-motif-2.2.2_1 > etc... > > % java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_11_mar_2003_22_07) > Java HotSpot(TM) Client VM (build 1.4.1-p3-root_11_mar_2003_22_07, mixed mode) > > > for example, > > % cd /usr/local/jdk1.4.1/demo/jfc/Java2D > % java -jar Java2Demo.jar > > This cause errors as follows: > > -------------------------------------------------- > An unexpected exception has been detected in native code outside the VM. > Unexpected Signal : 10 occurred at PC=0x3462B0CD > 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.(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:179) > at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:225) > at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:93) > at sun.awt.motif.MFramePeer.(MFramePeer.java:58) > at sun.awt.motif.MToolkit.createFrame(MToolkit.java:197) > at java.awt.Frame.addNotify(Frame.java:469) > - locked <0x2c659bd8> (a java.awt.Component$AWTTreeLock) > at java.awt.Window.show(Window.java:448) > at java.awt.Component.show(Component.java:1134) > at java.awt.Component.setVisible(Component.java:1089) > at java2d.Java2Demo.main(Java2Demo.java:476) > > Dynamic libraries: > 0x8048000 java > 0x2806f000 /usr/lib/libc_r.so.5 > 0x28092000 /usr/lib/libc.so.5 > 0x28160000 /usr/local/jdk1.4.1/jre/lib/i386/client/libjvm.so > 0x285b9000 /usr/lib/libstdc++.so.4 > 0x2862d000 /usr/lib/libm.so.2 > 0x2864b000 /usr/local/jdk1.4.1/jre/lib/i386/native_threads/libhpi.so > 0x28655000 /usr/local/jdk1.4.1/jre/lib/i386/libverify.so > 0x2866a000 /usr/local/jdk1.4.1/jre/lib/i386/libjava.so > 0x28688000 /usr/local/jdk1.4.1/jre/lib/i386/libzip.so > 0x34362000 /usr/local/jdk1.4.1/jre/lib/i386/libawt.so > 0x345c8000 /usr/local/jdk1.4.1/jre/lib/i386/libmlib_image.so > 0x2c147000 /usr/X11R6/lib/libXp.so.6 > 0x34614000 /usr/X11R6/lib/libXt.so.6 > 0x34663000 /usr/X11R6/lib/libXext.so.6 > 0x34671000 /usr/X11R6/lib/libXtst.so.6 > 0x34676000 /usr/X11R6/lib/libX11.so.6 > 0x3473b000 /usr/X11R6/lib/libSM.so.6 > 0x34744000 /usr/X11R6/lib/libICE.so.6 > 0x3475b000 /usr/local/jdk1.4.1/jre/lib/i386/libfontmanager.so > 0x34823000 /usr/X11R6/lib/X11/locale/common/xlocale.so.2 > 0x34825000 /usr/X11R6/lib/X11/locale/common/xlibi18n.so.2 > 0x3482b000 /usr/X11R6/lib/X11/locale/common/ximcp.so.2 > 0x34849000 /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2 > 0x2804e000 /usr/libexec/ld-elf.so.1 > > Local Time = Wed Mar 12 23:37:52 2003 > Elapsed Time = 0 > # > # The exception above was detected in native code outside the VM > # > # Java VM: Java HotSpot(TM) Client VM (1.4.1-p3-root_11_mar_2003_22_07 mixed mode) > # > # An error report file has been saved as /tmp/hs_err_pid67387.log. > # Please refer to the file for further information. > # > > > Thanks, > --- > SUGIMURA Takashi http://YasudaKei.org/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message