How to add more info to an "uploaded" crash report?

ls /var/crash/_usr_bin_gnome-shell.1000*
/var/crash/_usr_bin_gnome-shell.1000.upload /var/crash/_usr_bin_gnome-shell.1000.uploaded
sudo cat /var/crash/_usr_bin_gnome-shell.1000*
02e64840-7e78-11eb-941e-fa163ee63de6

So I got a crash and it was uploaded. I actually know what caused the crash so I want to add that somewhere. Can I do that?

Add group whoopsie to your user
sudo adduser $USER whoopsie
so (after re-login) you can see the content of the .crash file
and you will find some info about your crash

then go to https://launchpad.net/gnome-shell and check if can find a bug that looks like yours

1 Like

There is no .crash file, only .upload and .uploaded.

It depends. Not all crash reports turn into bugs. You can manually file a bug, and link to the previously-uploaded crash report. Selected bug triage developers have access to those, but they’re not public. You can find all the crash reports from your current PC by running the following command

xdg-open https://errors.ubuntu.com/user/$(sudo cat /var/lib/whoopsie/whoopsie-id)

For me that opens a web page like this:

Yours will differ of course. But you can see which component needs a bug filing against it, and can link to the url you have under the date field.

1 Like

@ernstp, the content of the .uploaded file identifies the crash. So in your case:

$ cat /var/crash/_usr_bin_gnome-shell.1000.uploaded
02e64840-7e78-11eb-941e-fa163ee63de6

and then the details page is:

http://errors.ubuntu.com/oops/02e64840-7e78-11eb-941e-fa163ee63de6

But for everyone’s security, not everyone can view that page. In the case of your crash above, I can tell it is gnome-shell that crashed but there is no bug ID. The relevant section of log says:

gnome-shell[14721]: JS ERROR: Error: Source.notify() has been moved to Source.showNotification()this code will break in the future
notify@resource:///org/gnome/shell/ui/messageTray.js:793:23
_notify@/home/ernst/.local/share/gnome-shell/extensions/gamemode@christian.kellner.me/extension.js:212:26
_onStateChanged@/home/ernst/.local/share/gnome-shell/extensions/gamemode@christian.kellner.me/extension.js:259:26
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
_onPropertiesChanged@/home/ernst/.local/share/gnome-shell/extensions/gamemode@christian.kellner.me/client.js:98:18

systemd[2036]: org.gnome.Shell@wayland.service: Main process exited, code=dumped, status=6/ABRT

so the first thing you should do is try disabling/uninstalling the gamemode extension.

In future if you want to get a bug ID and more help you should be able to force a new upload with:

cd /var/crash
sudo rm FILENAME.uploaded
sudo apport-cli FILENAME.crash

If that doesn’t work and you’re desperate for help then please manually create a bug using this page (or similar).

2 Likes

Thanks for the excellent replies!