Segmentation fault in _Jv_equalUtf8Consts
Andrew Haley
aph@redhat.com
Tue Jun 10 15:53:00 GMT 2008
Volodymyr Buell wrote:
> I'm trying to compile java using CNI with C++ code. It compiles but
> produces <Segmentation fault (core dumped)> while executing.
>
> -- -- gdb backtrace -- --
> (gdb) bt
> #0 0xb644aa41 in _Jv_equalUtf8Consts () from /usr/lib/libgcj.so.81
> #1 0xb64951c7 in _Jv_GetMethodLocal () from /usr/lib/libgcj.so.81
> #2 0xb6497553 in java::lang::Class::initializeClass () from
> /usr/lib/libgcj.so.81
> #3 0xb6497533 in java::lang::Class::initializeClass () from
> /usr/lib/libgcj.so.81
> #4 0xb644cc67 in _Jv_AllocObjectNoFinalizer () from /usr/lib/libgcj.so.81
> #5 0xb644cc96 in _Jv_AllocObject () from /usr/lib/libgcj.so.81
> #6 0x0812c923 in main (argc=1, argv=0xbff54cc4) at
> /home/vbuell/NetBeansProjects/Opine/invadptr.cpp:7308
We need a test case.
Andrew.
More information about the Java
mailing list