Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics doesn't catch SIGSEGV in Android

Today we found that Crashlytics don't catch SIGSEGV crashes, but google play console does. We were quite surprised to see many of such crashes in play console.

We want to have our crash reporting in one place. Can we catch SIGSEGV crashes with crashlytics?

like image 746
ar-g Avatar asked Oct 12 '25 19:10

ar-g


1 Answers

The standard Android Crashlytics SDK catches Java crashes. Since SIGSEGV is a native crash you'll also need to include the Crashlytics NDK SDK, whether the SIGSEGV originates in an app's native libraries or third-party libraries. Check out https://fabric.io/downloads/gradle (with the NDK toggle switch on) for setup instructions.

like image 184
Alexizamerican Avatar answered Oct 15 '25 09:10

Alexizamerican