Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 19:09:35 -0600
From:      Matt Jibson <dolmant@dolmant.net>
To:        freebsd-java@freebsd.org
Subject:   linux-jdk14 locale problems
Message-ID:  <200205171909.35795.dolmant@dolmant.net>

next in thread | raw e-mail | index | archive | help
I saw a thread on this problem a few weeks back, with no resolution. =20
This happened to me just a few days ago.

After a portupgrade -ra earlier this week (my first one ever), my java=20
app I am developing stopped running.  Here's the error:

> root@mythran:/home/dolmant/Newmark/Java# rn
> current locale is not supported in X11, locale is set to CX locale=20
modifiers are not supported, using defaultMay 17, 2002 6:59:03 PM=20
java.util.prefs.FileSystemPreferences$2 run
> INFO: Recreated system preferences directory in=20
/etc/.java/.systemPrefs
> Exception in thread "main" java.lang.InternalError: Current locale is=20
not supported
>         at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
>         at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:98)
>         at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
>         at sun.awt.motif.MToolkit.createFrame(MToolkit.java:192)
>         at java.awt.Frame.addNotify(Frame.java:469)
>         at java.awt.Window.show(Window.java:433)
>         at java.awt.Component.show(Component.java:1128)
>         at java.awt.Component.setVisible(Component.java:1083)
>         at newmark.Main.main(Main.java:13)
> May 17, 2002 6:59:33 PM java.util.prefs.FileSystemPreferences=20
unlockFile
> WARNING: Could not drop file-lock on system preferences.Unix error=20
code 22.

Then this last warning keeps trying to do something, times out, and=20
repeats.  When I ^C'd it:

> An unexpected exception has been detected in native code outside the=20
VM.
> Unexpected Signal : 4 occurred at PC=3D0x281A43F8
> Function=3D__morecore+0x338
> Library=3D/lib/libc.so.6
>=20
> Current Java thread:
>         at java.lang.Shutdown.halt(Native Method)
>         at java.lang.Shutdown.exit(Shutdown.java:192)
>         - locked <0x2c617618> (a java.lang.Shutdown$Lock)
>         at java.lang.Terminator$1.handle(Terminator.java:35)
>         at sun.misc.Signal$1.run(Signal.java:195)
>         at java.lang.Thread.run(Thread.java:536)
>=20
> Dynamic libraries:
> Can not get information for pid =3D 21267
>=20
> Local Time =3D Fri May 17 19:00:37 2002
> Elapsed Time =3D 104
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
> #
> # An error report file has been saved as hs_err_pid21267.log.
> # Please refer to the file for further information.
> #

Note that this only worked as root.  If I tried the same command as non=20
root:

> dolmant@mythran:/home/dolmant/Newmark/Java% rn
> #
> # HotSpot Virtual Machine Error, Internal Error
> # Please report this error at
> # http://java.sun.com/cgi-bin/bugreport.cgi
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
> #
> # Error ID: 4F533F4C494E55580E43505002AB
> #
> Abort trap - core dumped

Version info of things I think might be relevant:

java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
Build Operating System: FreeBSD 4.6 i386 [ELF]
Module Loader present

root@mythran:/var/db/pkg# pkg_info |grep jdk
linux-jdk-1.4.0     Sun's Java Developers Kit for Linux, version 1.4

root@mythran:/var/db/pkg# pkg_info |grep linux_base
linux_base-7.1_2    The base set of packages needed in Linux mode

FreeBSD 4.6-PRERELEASE (MYTHRAN) #1: Tue May  7 13:10:00 MDT 2002

--

This is a -STABLE system from about two weeks ago.  Thanks much for the=20
help.

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?200205171909.35795.dolmant>