coffeecatch icon indicating copy to clipboard operation
coffeecatch copied to clipboard

coffeecatch crash on android 7/8

Open ghost opened this issue 7 years ago • 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.

ghost avatar Aug 01 '17 21:08 ghost