This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]