xroche/coffeecatch

coffeecatch crash on android 7/8

Opened this issue · 0 comments

Coffeecatch crashes on android 7/8.
I only managed to identify the crash point:

/* Call the old handler. */
static void coffeecatch_call_old_signal_handler(const int code, siginfo_t *const si,
                                                       void * const sc) {
     ...
     native_code_g.sa_old[code].sa_handler(code); // <---- here it throws NPE on __rt_sigproc`
     ...
}

If I comment this line out, it works as intended.
I assume it's related to changes to bds_signal in android 7, but I am not able to fix it yet.
If you could give me more insight, maybe I will try to put more time into fixing this.