Date: Fri, 07 Feb 2003 15:42:59 +0800 From: Huang wen hui <hwh@gddsn.org.cn> To: java@freebsd.org Subject: Re: JDK 1.4.1 patchset 2 Message-ID: <3E436383.4080708@gddsn.org.cn>
next in thread | raw e-mail | index | archive | help
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.<clinit>(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.<init>(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.<init>(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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E436383.4080708>