-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on app startup don't have stacktrace/version/anything #224
Comments
There are a few scenarios where stacktraces can't be captured: Failed allocation errors
Missing unwind dataThis technical note details another scenario where stack unwind data is not available.
As an additional note, we have recently updated our backend so that errors with an empty stacktrace are displayed. Previously they were discarded. I've passed on details of marking an issue as "Fixed" to our web team, who will investigate further. |
Thanks for the information! In this case, the crash was a seemingly-straightforward Swift "you tried to access this implicitly unwrapped optional before it had been set" issue. I don't fully understand the unwind data thing, but I acknowledge that there might just be something unavoidable about the stacktrace being missing. Can you elaborate on why the app/device information isn't uploaded? |
I've discussed this with @kattrali and there's another scenario, where KSCrash itself crashes. If this happens a minimal report will be recorded, which won't contain the app/device information. We can amend this minimal report to include basic information such as app version. |
That would be great, thanks! |
Expected behavior
Crashes have a minimum set of information about what went wrong
Observed behavior
Certain crashes soon after app startup have no information: https://app.bugsnag.com/recharge-labs/ios/errors/5a53e4e1931c7b0018ff868a (missing stacktrace, device information, app information, user information)
Steps to reproduce
Crash on startup
Version
5.14.0
I contacted support about this and got this response:
Errors like these show up when Bugsnag detects a crash that does not have an associated stacktrace. It's likely that the crash occurred so immediately that a stacktrace could not be generated before the application exited.
Unfortunately, there's no reliable way to gather more information when an iOS application crashes on startup so Bugsnag just sends an event to at least highlight the occurrence.
So
The text was updated successfully, but these errors were encountered: