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
Post a Comment