Re: Segmentation fault in _Jv_equalUtf8Consts

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.