-
Notifications
You must be signed in to change notification settings - Fork 473
Debug UI for seeing past crashes (like about:crashes) #1705
Comments
I would also love to have the ability to grab them from the host that runs the test. (maybe via a directory?) The use case would to automate the collecting of crashes when we're doing tests on the CI in raptor and other places (we can't visit about: pages easily from webdriver). Also, if we could grab it from a chrome API that would be fantastic, we would just do a webdriver call and would avoid having to read/write on the android file system. |
Fly-by: if the use-case is to capture the number of times something crashes, we could also work for making CI send |
For my use case it's to try to bring Fenix on par with other platforms where we push crash dumps as downloadable artifacts on jobs in Tascluster, so developers can investigate when something goes wrong, right after the test ended. |
I see, sorry for the noise then, my previous comment cannot help with respect to that! |
oh no worries, it's an interesting stuff ot have too |
…ique identifier for reported crashes.
…ique identifier for reported crashes.
…que identifier for reported crashes.
6738: Issue #1705: Allow CrashReporterService to return a unique identifier for reported crashes. r=rocketsroger a=pocmo This is one small piece of #1705. I am going to land some pieces independently to avoid ending up with a huge patch. Here we are allowing a `CrashReporterService` to return an ID that we can later use to lookup that crash. For Socorro we return the crash ID that we get when uploading. We can later use that to create a URL pointing to this crash. For Sentry we return the UUID of the event. We can at least ask Sentry with this UUID for the actual crash URL. Co-authored-by: Sebastian Kaspari <[email protected]>
6739: Issue #1705: Assign UUID to every crash object. r=rocketsroger a=pocmo Assigning every crash a unique ID so that we can later reference this crash when saving some metadata about it to disk. 6782: Upgrade to Glean 28.0.0 r=mdboom a=mdboom Co-authored-by: Sebastian Kaspari <[email protected]> Co-authored-by: Michael Droettboom <[email protected]>
6777: Issue #1705: Create separate interface for crash telemetry services. r=rocketsroger a=pocmo In #1705 I am going to add more methods/properties to the `CrashReporterService` interface. Those will not make any sense for a telemetry service. So here I am going to create a separate interface for telemetry service and make glean and the crash reporter class use that instead. Co-authored-by: Sebastian Kaspari <[email protected]>
Code landed in AC. Fenix integration PR: |
It landed in Fenix and is available via "Settings > About > Crashes". For now it also opens if you type |
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
… listing past recorded crashes. X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7 X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7 X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8 X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@684e92c
On Fennec we have
about:crashes
. This works partially for GeckoView for native crashes - but that's more like a lucky coincidence than something we expect.The only piece that actually knows about all crashes (native crashes vs. uncaught exceptions) is
lib-crash
. We could provide some UI piece (maybe a fragment) in the library that apps can decide to show (up to them what triggers it).We would like to see a list of crashes. For native crashes we would like to link to the crash on Socorro. I think for Sentry we can't do that - but we could at least expose parts of the stacktrace so that we can find it on Sentry. Or maybe append a random UUID to the crash report sent to Sentry - we can then expose the same UUID in the UI.
EDIT: Sentry internally already assigns a generated UUID to the event and we can get that via the event builder. Pasting this UUID into the search query field of the web UI directly jumps to the crash report and generates a URL like :
[SENTRY SERVER]?query=[UUID]&limit=25&sort=date&statsPeriod=24h&shortIdLookup=1
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: