GCJ dumping Core

Bryce McKinlay bryce@waitaki.otago.ac.nz
Mon Jan 28 22:35:00 GMT 2002


deepak22j wrote:

>Loaded symbols for /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
>#0  _Jv_equalUtf8Consts (a=0x0, b=0xff2d4442) at
>../../../libjava/prims.cc:89
>89      ../../../libjava/prims.cc: No such file or directory.
>(gdb) bt
>#0  _Jv_equalUtf8Consts (a=0x0, b=0xff2d4442) at
>../../../libjava/prims.cc:89
>#1  0xff2a6b5c in _Jv_GetMethodLocal (klass=0xff31f7fc, name=0x0,
>    signature=0x0) at ../../../libjava/java/lang/natClass.cc:527
>#2  0xff2a6918 in java::lang::Class::hackRunInitializers
>(this=0xff31f7fc)
>    at ../../../libjava/java/lang/natClass.cc:416
>#3  0xff2a3d58 in java.lang.Class.hackTrampoline (this=0xff31f7fc,
>what=1,
>    old_exception=0x0) at ../../../libjava/java/lang/Class.java:137
>

You still didn't say what version of GCJ you are using. But I suspect it 
is a very old one - there is no "hackRunInitializers" in recent versions.

Try a newwer version - either gcc-3.0.3 or the latest CVS snapshot.

regards

Bryce.




More information about the Java mailing list