Does Crashlytics receive Tombstone data from native crashes? #6552
-
Starting from Android 12, we can obtain Tombstone traces in ApplicationExitInfo. val exitReasons = activityManager.getHistoricalProcessExitReasons()
for (aei in exitReasons) {
if (aei.reason == ApplicationExitInfo.REASON_CRASH_NATIVE) {
val trace = aei.traceInputStream
val tombstone = Tombstone.parseFrom(trace)
}
} I've examined the Crashlytics source code: private static CrashlyticsReport.ApplicationExitInfo convertApplicationExitInfo(
ApplicationExitInfo applicationExitInfo) {
String traceFile = null;
try {
InputStream traceInputStream = applicationExitInfo.getTraceInputStream();
if (traceInputStream != null) {
traceFile = convertInputStreamToString(traceInputStream);
}
} catch (IOException e) {
// ..omitted
}
return CrashlyticsReport.ApplicationExitInfo.builder()
// ..omitted
.setTraceFile(traceFile)
.build();
} It appears that Crashlytics already sends the However, it's unclear to me whether the Can we confirm that Crashlytics already parses the Tombstone ( Having a Thank you in advance 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since May 27, 2025, Crashlytics has started displaying Tombstone traces. |
Beta Was this translation helpful? Give feedback.
Since May 27, 2025, Crashlytics has started displaying Tombstone traces.
I assume this feature is only available on Android 12 and higher.