I am running some native code in my Android app, and it produces a segmentation fault. Which takes down the entire app. Lets assume for the sake of this question that this part of the code can't be changed or avoided.
I want to avoid crashing the whole app and ignore the native error.
Naturally try / catch and signal handlers do not help with these specific signals as they are killing the entire process when they happen.
Is there any way (c or java side) to recover from these signals and avoid crashing the app?