coffeecatch
coffeecatch copied to clipboard
CoffeeCatch, a tiny native POSIX signal catcher (especially useful for JNI code on Android/Dalvik)
Fix for compiling similar to fixes mentioned here https://github.com/xroche/coffeecatch/issues/16 https://github.com/xroche/coffeecatch/issues/25
I am trying to use `COFFEE_TRY_JNI` on Android, but it does not seem to catch the signal. I just copied the coffeecatch source files in my project, and had to...
work linux 18.04 i386 i got regular crash SIGSEGV that come to coffeee_signal_abort handler after coffee_end() why this handlers may invokes after them are released? trace log shows like: ```...
i`ve got catch SIGSEGV, and found that recovering backtrace info is crashed with such output: ``` caught abort sig11 abort in context $0xc7224fc0 copy context called unwind callback for $0xc7226c30...
with NDK_DEBUG == 2 provide printing debug messages by application-specifie printers coffeecatch_print[f]. This hepls when aplication override serial for own purposes. Debug mode infer more trace messages. provided ERROR( )...
this patch fixes build coffee on gcc5.4 - there have missed some signal definitions, - missed some ucontext definitions - registers defs wath able only with _GNU_SOURCE
cerrent rev looks like not compiles without USE_UNWIND. this patch fixex such situation
provide SIG_ABORT_SIGSEGV config to prevent catched SIGSEGV pass to JNI. * this allow to handle this fault with no crash JNI application. application cooja works on debuging code, and it...
When I try to Build project from terminal getting following error: ndk-build C:/Users/Admin/Desktop/test-isssu/testPlugin/testtestLibrary/jni/externals/coffeecatch/coffeecatch.c:120:8: error: redefinition of '_libc_fpreg' struct _libc_fpreg { ^ C:/Users/Admin/User1/Sdk/Sdk/ndk-bundle/build//../sysroot/usr/include\sys/ucontext.h:174:8: note: previous definition is here struct _libc_fpreg {...
I have tried to catch a native exception under NDK r9d on Android 7.0 device with an error generated by the code char str[10]; for( int i = 0; i...