question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase Crashlytics 17.3.0 not report native crash in Android 6.0

See original GitHub issue

[READ] Step 1: Are you in the right place?

Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:

  • For general technical questions, post a question on StackOverflow with the firebase tag.
  • For general Firebase discussion, use the firebase-talk google group.
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: 4.1.1
  • Android Gradle version: 4.0.1
  • Firebase Component: Crashlytics NDK
  • Component version: Crashlytics Gradle 2.4.1, Crashlytics NDK 17.3.0

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

  • Build a release apk using Crashlytics NDK.
  • Upload debugging symbols: ./gradlew uploadCrashlyticsSymbolFileRelease.
  • Force a native crash in the app.
  • In device using Android 6.0: log always are Minidump does not exist, No reports are available. (not occur in FW 5.1.1, 7.0, 8.0, 9.0)
12-28 16:03:24.508 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Crashlytics automatic data collection ENABLED by API.
12-28 16:03:24.508 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Firebase Analytics is available.
12-28 16:03:24.514 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Firebase Analytics listener registered successfully.
12-28 16:03:24.531 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Reading cached settings...
12-28 16:03:24.539 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Loaded cached settings: {"settings_version":3,"cache_duration":86400,"features":{"collect_logged_exceptions":true,"collect_reports":true,"collect_analytics":false,"prompt_enabled":false,"push_enabled":false,"firebase_crashlytics_enabled":false},"app":{"status":"activated","update_required":false,"report_upload_variant":2,"native_report_upload_variant":2},"fabric":{"org_id":"5f646252d796f3c753000003","bundle_id":"com.pan01.android.****.****"},"expires_at":1609232577970}
12-28 16:03:24.539 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Returning cached settings.
12-28 16:03:24.540 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Mapping file ID is: 510c681421064b9a9f03044ec90e0330
12-28 16:03:24.541 19556-19556/com.pan01.android.****.**** I/FirebaseCrashlytics: Initializing Crashlytics 17.3.0
12-28 16:03:24.542 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Installer package name is: null
12-28 16:03:24.580 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Minidump directory: /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics-ndk/5FE99F4801A7-0001-4BDF-0478D7C0C2EE/pending
12-28 16:03:24.580 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Minidump does not exist
12-28 16:03:24.583 19556-19556/com.pan01.android.****.**** D/FirebaseCrashlytics: Exception handling initialization successful
12-28 16:03:24.598 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Found matching FID, using Crashlytics IID: 524ce2f989dd4651829df4ac58be3495
12-28 16:03:24.598 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Opening a new session with ID 5FE99F5C024E-0001-4C64-0478D7C0C2EE
12-28 16:03:24.603 19556-19577/com.pan01.android.****.**** I/FirebaseCrashlytics: Crashlytics NDK initialization successful
12-28 16:03:24.627 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Initialization marker file created.
12-28 16:03:24.627 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Registered Firebase Analytics event receiver for breadcrumbs
12-28 16:03:24.627 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Finalizing previously open sessions.
12-28 16:03:24.628 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Minidump directory: /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics-ndk/5FE99F4801A7-0001-4BDF-0478D7C0C2EE/pending
12-28 16:03:24.628 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Minidump does not exist
12-28 16:03:24.634 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Closing open sessions.
12-28 16:03:24.634 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Closing session: 5FE99F4801A7-0001-4BDF-0478D7C0C2EE
12-28 16:03:24.634 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Collecting session parts for ID 5FE99F4801A7-0001-4BDF-0478D7C0C2EE
12-28 16:03:24.635 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE99F4801A7-0001-4BDF-0478D7C0C2EE has fatal exception: false
12-28 16:03:24.635 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE99F4801A7-0001-4BDF-0478D7C0C2EE has non-fatal exceptions: false
12-28 16:03:24.635 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: No events present for session ID 5FE99F4801A7-0001-4BDF-0478D7C0C2EE
12-28 16:03:24.635 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing session part files for ID 5FE99F4801A7-0001-4BDF-0478D7C0C2EE
12-28 16:03:24.636 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Finalizing report for session 5FE99F4801A700014BDF0478D7C0C2EE
12-28 16:03:24.639 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE99F4801A700014BDF0478D7C0C2EE has no events.
12-28 16:03:24.640 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Closed all previously open sessions
12-28 16:03:24.643 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: No reports are available.
12-28 16:03:24.643 19556-19577/com.pan01.android.****.**** D/FirebaseCrashlytics: Initialization marker file removed: true
  • This issue doesn’t occur in Firebase Crashlytics NDK 17.2.2
12-28 16:27:56.885 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Crashlytics automatic data collection ENABLED by API.
12-28 16:27:56.885 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Firebase Analytics is available.
12-28 16:27:56.886 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Firebase Analytics listener registered successfully.
12-28 16:27:56.907 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Reading cached settings...
12-28 16:27:56.918 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Loaded cached settings: {"settings_version":3,"cache_duration":86400,"features":{"collect_logged_exceptions":true,"collect_reports":true,"collect_analytics":false,"prompt_enabled":false,"push_enabled":false,"firebase_crashlytics_enabled":false},"app":{"status":"activated","update_required":false,"report_upload_variant":2,"native_report_upload_variant":2},"fabric":{"org_id":"5f646252d796f3c753000003","bundle_id":"com.pan01.android.****.****"},"expires_at":1609234052206}
12-28 16:27:56.918 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Returning cached settings.
12-28 16:27:56.919 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Mapping file ID is: bba9f3f171b248e49e81b441672d8dc2
12-28 16:27:56.919 20241-20241/com.pan01.android.****.**** I/FirebaseCrashlytics: Initializing Crashlytics 17.2.2
12-28 16:27:56.921 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Installer package name is: null
12-28 16:27:56.946 20241-20241/com.pan01.android.****.**** D/FirebaseCrashlytics: Exception handling initialization successful
12-28 16:27:56.964 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Found matching FID, using Crashlytics IID: da9af47716314738a4d224abf2da62f2
12-28 16:27:56.965 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Opening a new session with ID 5FE9A51C03B2-0001-4F11-6442FAC43A65
12-28 16:27:56.973 20241-20264/com.pan01.android.****.**** I/FirebaseCrashlytics: Crashlytics NDK initialization successful
12-28 16:27:57.012 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Initialization marker file created.
12-28 16:27:57.013 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Registered Firebase Analytics event receiver for breadcrumbs
12-28 16:27:57.013 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Finalizing previously open sessions.
12-28 16:27:57.014 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Finalizing native report for session 5FE9A5110289-0001-4E94-6442FAC43A65
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Closing open sessions.
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Closing session: 5FE9A5110289-0001-4E94-6442FAC43A65
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Collecting session parts for ID 5FE9A5110289-0001-4E94-6442FAC43A65
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE9A5110289-0001-4E94-6442FAC43A65 has fatal exception: false
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE9A5110289-0001-4E94-6442FAC43A65 has non-fatal exceptions: false
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: No events present for session ID 5FE9A5110289-0001-4E94-6442FAC43A65
12-28 16:27:58.492 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing session part files for ID 5FE9A5110289-0001-4E94-6442FAC43A65
12-28 16:27:58.493 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Finalizing report for session 5FE9A511028900014E946442FAC43A65
12-28 16:27:58.494 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Session 5FE9A511028900014E946442FAC43A65 has no events.
12-28 16:27:58.495 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Closed all previously open sessions
12-28 16:27:58.495 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Unsent reports are available.
12-28 16:27:58.499 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Crashlytics automatic data collection ENABLED by API.
12-28 16:27:58.499 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Automatic data collection is enabled. Allowing upload.
12-28 16:27:58.499 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Initialization marker file removed: true
12-28 16:27:59.150 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Checking for crash reports...
12-28 16:27:59.152 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Reports are being sent.
12-28 16:27:59.185 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Starting report processing in 1.0 second(s)...
12-28 16:27:59.187 20241-20335/com.pan01.android.****.**** D/FirebaseCrashlytics: Logging Crashlytics event to Firebase
12-28 16:27:59.190 20241-20335/com.pan01.android.****.**** D/FirebaseCrashlytics: Awaiting app exception callback from FA...
12-28 16:27:59.282 20241-20264/com.pan01.android.****.**** D/FirebaseCrashlytics: Crashlytics report successfully enqueued to DataTransport: 5FE9A511028900014E946442FAC43A65
12-28 16:28:00.224 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Attempting to send 1 report(s)
12-28 16:28:00.224 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Send to Reports Endpoint disabled. Removing Reports Endpoint report.
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/binaryImages
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/metadata
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/session
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/app
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/device
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/os
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report file at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65/minidump
12-28 16:28:00.225 20241-20336/com.pan01.android.****.**** D/FirebaseCrashlytics: Removing native report directory at /data/user/0/com.pan01.android.****.****/files/.com.google.firebase.crashlytics/native-sessions/5FE9A5110289-0001-4E94-6442FAC43A65

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
tuancoltechcommented, Jan 17, 2022

hpad issue.

@mrichards It turns out this was because of our problems when building the native lib. Stack traces are back after we solve our own issue. Thanks.

1reaction
kmandrikacommented, Jul 29, 2021

@ianyuen - we’ve made a number of changes to how the NDK kit works recently, a new version should be coming out within the next week or so - please give that a try. If the problem still persists, would you be willing to set up a live debugging session?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get Android NDK crash reports | Firebase Crashlytics - Google
Get Android NDK crash reports ... If your Android app contains native libraries, you can enable full stack traces and detailed crash reports...
Read more >
[SOLVED] Does anyone have Firebase Crashlytics ...
Google Crashlytics is not providing useful NDK crash reports Android. I am writing a JUCE app for mobile (both Android and iOS), ...
Read more >
Could not find com.google.firebase:firebase-crashlytics-gradle ...
After going through the document, I got the following error. Could not find com.google.firebase:firebase-crashlytics-gradle:17.0.0-beta01.
Read more >
Crash with ProGuard and Firebase Crashlytics - Google Groups
It is expected for the release version of the Android build to run successfully when enabling minifyEnabled and shrinkResources per the Android ......
Read more >
@react-native-firebase/crashlytics - npm
React Native Firebase provides automatic crash reporting for both native and Jav. Latest version: 16.4.6, last published: a month ago.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found