From owner-freebsd-java Thu Feb 6 23:43:12 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 1628037B401 for ; Thu, 6 Feb 2003 23:43:09 -0800 (PST) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF3DE43FCB for ; Thu, 6 Feb 2003 23:43:07 -0800 (PST) (envelope-from hwh@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id 42B0A38CD59 for ; Fri, 7 Feb 2003 15:43:00 +0800 (CST) Message-ID: <3E436383.4080708@gddsn.org.cn> Date: Fri, 07 Feb 2003 15:42:59 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.1) Gecko/20021225 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: java@freebsd.org Subject: Re: JDK 1.4.1 patchset 2 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit 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 hi, My Env is -CURRNET(2003-02-05) + XFree864.2.1 + GNOME2.0.3. I have treee problem. When I run GUI App, java output msg: 2003-2-7 8:39:39 java.util.prefs.FileSystemPreferences$3 run 3/4???: Could not create system preferences directory. System preferences are unusable. 2003-2-7 8:40:11 java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode 3/4???: Could not lock System prefs.Unix error code -1079825836. 2003-2-7 8:40:11 java.util.prefs.FileSystemPreferences syncWorld 3/4???: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. 2003-2-7 8:40:41 java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode 3/4???: Could not lock System prefs.Unix error code -1079825836. 2003-2-7 8:40:41 java.util.prefs.FileSystemPreferences syncWorld 3/4???: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. DEBUG: signal 11 received: info = 0xbfa213b0, uc = 0xbfa210f0 2003-2-7 8:41:11 java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode 3/4???: Could not lock System prefs.Unix error code -1079825836. 2003-2-7 8:41:11 java.util.prefs.FileSystemPreferences syncWorld 3/4???: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Is it normal? I use JBuilder8+jdk1.4.1-p2, when exit, jbuilder8 sometimes will crash sawfish2 window manager. sawfish2 use all cpu time. The last problem is about jdk under chinese locale. it does not occur under -STABLE. jdk1.4.0-p1 and jdk1.3.1-p7 also have this problem. I use zh_CN.EUC locale+ XIM server(chinput), each GUI app will coredump: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=0x2B01C09D 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.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:212) - locked <0x43a5c900> (a sun.awt.X11GraphicsConfig) at sun.awt.X11SurfaceData.getSurfaceType(X11SurfaceData.java:365) at sun.awt.X11GraphicsConfig.getSurfaceType(X11GraphicsConfig.java:116) - locked <0x43a5c900> (a sun.awt.X11GraphicsConfig) at sun.awt.X11SurfaceData.createData(X11SurfaceData.java:284) at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:193) 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 <0x43a28890> (a java.awt.Component$AWTTreeLock) at java.awt.Window.addNotify(Window.java:405) - locked <0x43a28890> (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 cn.gd.seismology.analysis.AboutWindow.setVisible(AboutWindow.java:43) at cn.gd.seismology.analysis.SeisApp.(SeisApp.java:23) at cn.gd.seismology.analysis.SeisApp.main(SeisApp.java:61) Error: Cannot print dynamic libraries. Function not implemente d for FreeBSD Local Time = Wed Feb 5 15:02:53 2003 Elapsed Time = 5 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1-p2-hwh_05_feb_2003_09_47 mixed mode) # If I do this patch, I know it should not, but the problem is gone. --- j2se/src/solaris/native/sun/awt/awt_MToolkit.c~ Wed Feb 5 09:17:48 2003 +++ j2se/src/solaris/native/sun/awt/awt_MToolkit.c Wed Feb 5 15:08:18 2003 @@ -2818,7 +2818,7 @@ /* * Cleanup */ - XtDestroyWidget(frame); + //XtDestroyWidget(frame); free(colorsPtr); AWT_UNLOCK(); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message