twall/jna — Issue #57: jna-android callbacks crash
Author: auris
Created: 2012-03-08 12:18:12+00:00
State: open

When using jna under Android armeabi-v7a, jna callbacks crash when called from native code. Our investigation showed that generated callback proxy code is allocated in heap (which does not have executable permission) and memory protection does not allow such call on some devices. Could you point in which code place could we attempt to fix the issue (so that code is allocated into executable piece of memory) ?