java - JNI's "Invalid memory access of location.." -



java - JNI's "Invalid memory access of location.." -

i have code written in c++, let's phone call a. contains nested functions, create binary out of a, needed utilize -fnested-functions flag.

now need create .jnilib library out of a, can invoked java. however, go error:

invalid memory access of location 0x105... rip=0x105..

i not figure out cause (i tried include -fnested-functions flag when linking create .jnilib library, g++ not allow it).

has ran problem before, or kindly suggest how debug (core dump) problem?

i'm running macos lion, built-in java.

java c++ osx debugging jni

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -