[phone] crash files are only uploaded on boot when not running in the foreground
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
whoopsie (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On the phone (mako utopic #125) it seems that crash files are only uploaded on boot and not when the crash occurs. whoopsie is running but doesn't seem to detect that a crash file is ready for upload.
= Test Case =
1. In a shell run:
$ bash -c 'kill -SEGV $$'
2. Wait until the file _bin_bash.
-> Check that after a moment whoopsie-upload-all is running
-> Check the progress of the upload in /var/log/
-> Upon upload, check that /var/log/syslog contains a OOPS entry from whoopsie
= Actual Result =
whoopsie-upload-all times out and the crash file is not uploaded. If the device is rebooted, the crash is uploaded immediately.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: whoopsie 0.2.34
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.4-0ubuntu2
Architecture: armhf
CrashReports:
640:32011:
644:32011:
Date: Fri Jul 11 10:45:02 2014
InstallationDate: Installed on 2014-07-11 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140711-020204)
RelatedPackageV
SourcePackage: whoopsie
UpgradeStatus: No upgrade log present (probably fresh install)
Looking at syslog on my phone after a fresh install, I'm seeing this: whoopsie/ lock
Jul 16 18:14:03 ubuntu-phablet whoopsie[2080]: whoopsie 0.2.34 starting up.
Jul 16 18:14:03 ubuntu-phablet whoopsie[2080]: Using lock path: /var/lock/
Jul 16 18:14:28 ubuntu-phablet whoopsie[2154]: Could not connect to the system bus: Timeout was reached
Jul 16 18:14:29 ubuntu-phablet whoopsie[2154]: offline