apport does not write .upload file in case of Automatic send

Bug #2065290 reported by Ravi Kant Sharma

This bug report will be marked for expiration in 37 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

In the gnome-control-center Diagnostics settings, set the `Send error reports to Canonical` to Automatic. Then generate a crash (eg. divide-by-zero from chaos-marmosets package), the .upload file is missing, hence whoopise does not send the error to the error tracker.
I observed this on Jammy and Noble.

Benjamin Drung (bdrung)
description: updated
Revision history for this message
Benjamin Drung (bdrung) wrote :

I cannot reproduce this behaviour. I set `Send error reports to Canonical` to `Automatic` and it worked on my noble laptop:
```
$ ls /var/crash/ -1
_usr_bin_divide-by-zero.1000.crash
_usr_bin_divide-by-zero.1000.upload
_usr_bin_divide-by-zero.1000.uploaded
```

Can you share the journal log during your tests?

Changed in apport (Ubuntu):
status: New → Incomplete
Revision history for this message
Ravi Kant Sharma (ravi-sharma) wrote :

/var/log/apport.log

INFO: apport (pid 7294) 2024-05-09 15:03:38,303: called for pid 7293, signal 4, core limit 0, dump mode 1
INFO: apport (pid 7294) 2024-05-09 15:03:39,307: executable: /usr/bin/divide-by-zero (command line "divide-by-zero")
INFO: apport (pid 7294) 2024-05-09 15:03:39,614: wrote report /var/crash/_usr_bin_divide-by-zero.1000.crash

journalctl -f

May 09 15:07:16 e-Standard-PC-Q35-ICH9-2009 kernel: traps: divide-by-zero[7423] trap invalid opcode ip:5abec08661a0 sp:7ffc67e45f78 error:0 in divide-by-zero[5abec0866000+1000]
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1145]: update-notifier-crash.service - Notification regarding a crash report was skipped because of an unmet condition check (ConditionPathExists=!/var/lib/apport/autoreport).
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1]: Started whoopsie.service - crash report submission.
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 whoopsie[7432]: [15:07:17] Using lock path: /var/lock/whoopsie/lock
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1]: whoopsie.service: Deactivated successfully.
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1145]: update-notifier-crash.service - Notification regarding a crash report was skipped because of an unmet condition check (ConditionPathExists=!/var/lib/apport/autoreport).
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1]: Started whoopsie.service - crash report submission.
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 whoopsie[7445]: [15:07:17] Using lock path: /var/lock/whoopsie/lock
May 09 15:07:17 e-Standard-PC-Q35-ICH9-2009 systemd[1]: whoopsie.service: Deactivated successfully.

/var/lib/apport/autoreport exists.

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.