[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11458] jamvm/kaffe crash with unknown locale
From: |
Marko Kreen |
Subject: |
[commit-cp] [bugs #11458] jamvm/kaffe crash with unknown locale |
Date: |
Mon, 03 Jan 2005 07:27:08 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041219 Firefox/1.0 (Debian package 1.0+dfsg.1-1) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11458] Latest Modifications:
Changes by:
Marko Kreen <address@hidden>
'Date:
Mon 01/03/2005 at 12:13 (GMT)
------------------ Additional Follow-up Comments ----------------------------
The first fix wasnt enough, but now its ok.
If rlougher says that jamvm is ok too, then I guess thus bug can be closed.
/**************************************************************************/
[bugs #11458] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11458>
Project: classpath
Submitted by: Marko Kreen
On: Thu 12/30/2004 at 22:55
Category: classpath
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: jamvm/kaffe crash with unknown locale
Original Submission:
When there is LANG value which is not locale-gen'ed,
both kaffe and jamvm crash. I'm not sure whose bug it is.
If its VM bug, I can report it further.
public class Test3 {
public static void main(String [] args) {}}
$ LANG=vi kaffe-cvs Test3
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
at
gnu.classpath.VMSystemProperties.getLocale(VMSystemProperties.java:native)
at gnu.classpath.VMSystemProperties.preInit(VMSystemProperties.java:172)
at gnu.classpath.SystemProperties.<clinit>(SystemProperties.java:68)
at java.lang.System.<clinit>(System.java:43)
at java.security.SecureClassLoader.<init>(SecureClassLoader.java:61)
at java.net.URLClassLoader.<init>(URLClassLoader.java:548)
at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:35)
at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:293)
at java.lang.ClassLoader$StaticData.<clinit>(ClassLoader.java:160)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:772)
Aborted (core dumped)
# jamvm-cvs is jamvm 1.2.3 with Classpath from CVS
$ LANG=vi jamvm-cvs Test3
Segmentation fault (core dumped)
$
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 01/03/2005 at 12:13 By: Marko Kreen <mkz>
The first fix wasnt enough, but now its ok.
If rlougher says that jamvm is ok too, then I guess thus bug can be closed.
-------------------------------------------------------
Date: Fri 12/31/2004 at 12:29 By: Michael Koch <mkoch>
Guilhem Lavaux just told me that the bug is fixed in Kaffe CVS.
-------------------------------------------------------
Date: Fri 12/31/2004 at 03:14 By: Robert Lougher <rlougher>
The crash with JamVM is a bug in the VM, and I suspect it will be the same with
Kaffe.
If the value is not locale-gen'ed, setlocale appears to return null. I do
basic checking that the returned locale string is in the right format, but not
for null!
A fix will be in the next release. If anybody requires it, I can submit a
patch. Thanks for finding this.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11458>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [commit-cp] [bugs #11458] jamvm/kaffe crash with unknown locale,
Marko Kreen <=