engine: android build SEGFAULTs #2404
Labels
bug
Something isn't working
interrupt
needs investigation
This issue needs extra data and investigation
ooni/probe-engine
ooni/probe-mobile
issues related to OONI Probe mobile
platform/android
priority/high
technical task
technical tasks e.g. deployment
testing
The Android build for 3.17.0-alpha.1 published at 2023.01.27-095434 is completely broken. As soon as you load the shared library, there is a segfault in the app.
I have already investigated. The reason why this happens is that we're using hardening flags involving sanitizers. It seems building using sanitizers produces this SEGFAULT. A previous attempt of mine that was not using sanitizers was WAI.
To fix this issue, therefore, we should recompile without using sanitizers. Ideally, we should use the same hardening flags used by the
ndk-build
tool. Copying whatndk-build
would do is definitely going to be safe.The text was updated successfully, but these errors were encountered: