[3.3] classloader failure

Jeff Sturm jsturm@one-point.com
Mon Mar 17 14:45:00 GMT 2003


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /