This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: a JNI backtrace
>>>>> "BM" == Bryce McKinlay <bryce@albatross.co.nz> writes:
MD> Any idea what this means? I can see it makes it in and out of
MD> the stub for the SwarmCImpl create method ok..
BM> Your c++filt is too old and it isn't demangling the names
BM> correctly. Make sure it finds the new c++filt that gets put in your
BM> gcc install directory on the path first, and it should be a lot
BM> more readable.
BM> Err... get a new GDB I mean ;-)
Ok thanks.. I'm building a new version now.
Anyway, I'm wondering why this hash from PopSystemFrame is crashing.
(Not the meaning of the mangling..)
I get the same kind of thing from the command line:
Exception in thread "main" java.lang.NullPointerException
at 0x403ef7aa: _Jv_ThrowSignal (/packages/gcc/lib/libgcj.so.1)
at 0x403ef807: _Jv_ThrowSignal (/packages/gcc/lib/libgcj.so.1)
at 0x40468267: _ZN4java4util9Hashtable4hashEPNS_4lang6ObjectE (/packages/gcc/lib/libgcj.so.1)
at 0x40467339: _ZN4java4util9Hashtable3getEPNS_4lang6ObjectE (/packages/gcc/lib/libgcj.so.1)
at 0x403f1fe9: _Z12_Jv_JNI_Initv (/packages/gcc/lib/libgcj.so.1)
at 0x403f23f1: _Z12_Jv_JNI_Initv (/packages/gcc/lib/libgcj.so.1)
at 0x403f24f1: _Jv_JNI_PopSystemFrame (/packages/gcc/lib/libgcj.so.1)
at 0x40186891: _ZN5swarm10objectbase10SwarmCImpl6createEPNS_6defobj4ZoneE (/build/swarm-jdk/java/swarm/swarm.so)
at 0x40185207: _ZN5swarm10objectbase9SwarmImplC1EPNS_6defobj4ZoneE (/build/swarm-jdk/java/swarm/swarm.so)
at 0x08049b24: TestSwarm::TestSwarm(swarm::defobj::Zone*) (/home/mgd/TestSwarm.java:0)
at 0x08049c3d: TestSwarm::main(JArray<java::lang::String*>*) (/home/mgd/TestSwarm.java:0)
at 0x40408e2b: _ZN3gnu3gcj7runtime11FirstThread3runEv (/packages/gcc/lib/libgcj.so.1)
at 0x404137a2: _ZN4java4lang6Thread4run_EPNS0_6ObjectE (/packages/gcc/lib/libgcj.so.1)
at 0x4052b23a: _Z15_Jv_ThreadStartPN4java4lang6ThreadEPiPFvS2_E (/packages/gcc/lib/libgcj.so.1)
at 0x404138af: _ZN4java4lang6Thread5startEv (/packages/gcc/lib/libgcj.so.1)
at 0x403f132b: JvRunMain (/packages/gcc/lib/libgcj.so.1)
at 0x08049c93: main (/tmp/ccDMhYxwmain.i:0)
at 0x40706f5c: __libc_start_main (/lib/libc.so.6)
at 0x08049a21: _start (??:0)