You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dont know if I did something wrong, but the library is just not doing anything for me.
jbooleanreal_vpxGetFrame(JNIEnv*env, structvpx_wrapper*wrapper, jobjectbitmap, jintpixel_skip) {
char*x=0;
*x=10;
// other code which is not even ran because of the error above
}
__attribute__ ((noinline))
voidprotected_vpxGetFrame(JNIEnv*env, structvpx_wrapper*wrapper, jobjectbitmap, jintpixel_skip, jboolean*result) {
COFFEE_TRY_JNI(env, *result=real_vpxGetFrame(env, wrapper, bitmap, pixel_skip));
}
JNIEXPORTjbooleanJNICALLJava_com_pr0gramm_app_vpx_VpxWrapper_vpxGetFrame(JNIEnv*env, jlongwrapper_addr, jobjectbitmap, jintpixel_skip) {
structvpx_wrapper*wrapper= (structvpx_wrapper*) wrapper_addr;
jbooleanresult= false;
protected_vpxGetFrame(env, wrapper, bitmap, pixel_skip, &result);
returnresult;
}
Calling this code just produces this on Android 4.0:
07-20 18:44:24.813 27913-28056/com.pr0gramm.app A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
I compiled it as a static library and linked it against my shared library. I use APP_CFLAGS := -funwind-tables -Wl,--no-merge-exidx-entries in my Application.mk... Any Ideas?
Edit: Compiled for armabi-v7a on the sdk emulator.
The text was updated successfully, but these errors were encountered:
I dont know if I did something wrong, but the library is just not doing anything for me.
Calling this code just produces this on Android 4.0:
I compiled it as a static library and linked it against my shared library. I use
APP_CFLAGS := -funwind-tables -Wl,--no-merge-exidx-entries
in my Application.mk... Any Ideas?Edit: Compiled for armabi-v7a on the sdk emulator.
The text was updated successfully, but these errors were encountered: