This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
[3.3] classloader failure
- From: Jeff Sturm <jsturm at one-point dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 17 Mar 2003 09:45:16 -0500 (EST)
- Subject: [3.3] classloader failure
Here's a strange failure I first noticed last weekend:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 22174)]
0x403b8d98 in _Jv_FindClass(_Jv_Utf8Const*, java::lang::ClassLoader*) (
name=0x8831b18, loader=0x0)
at ../../../libjava/java/lang/natClassLoader.cc:488
488 klass = sys->loadClass (sname, false);
It turns out that "sys" is null, all right. This is trying to load
gnu.java.locale.Calendar_en_US, as a consequence of:
#9 0x404c8765 in java.util.zip.ZipEntry.getCalendar() ()
at ../../../libjava/java/util/zip/ZipEntry.java:218
The singleton VMClassLoader isn't ready because VMClassLoader is still
initializing:
#24 0x40435587 in gnu.gcj.runtime.VMClassLoader.<clinit>() ()
at ../../../libjava/gnu/gcj/runtime/VMClassLoader.java:71
My CLASSPATH contains jar files. Exploding the jars into a single
directory and fixing CLASSPATH avoids the problem.
Anybody else seeing this? Any suggestions on how to fix it?
Jeff