apport refuses to report a crash from another machine if package is not installed locally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Apport refuses to submit a report from a crash file collected on another machine if the package is not installed on the local machine.
The use case is a report generated and collected on a touch device and reported from a PC or laptop.
TEST CASE:
1. On a touch device, generate a crash file for a package that doesn't exist on your local machine, for example maliit-server
# kill -SIGSEGV $(pidof maliit-server)
2. Check that a crash file has been generated in /var/crash/
# ls -l /var/crash/
total 8220
-rw-r----- 1 phablet whoopsie 8416974 Sep 16 12:46 _usr_bin_
3. Collect information required by apport.
To the question "What would you like to do? Your options are:" answer "(V) View"
(If apport tells that it is using third party software proceed anyway)
4. When apport is done with data collection, choose (K) Keep and save the new crash file
5. Copy it to an intel machine
$ adb pull /var/crash/
6. Run ubuntu-bug against this file:
ubuntu-bug /tmp/_usr_
ACTUAL RESULT:
Reporting fails with an Invalid problem report "This problem report applies to a program which is not installed any more. (/usr/bin/
EXPECTED RESULT:
Report is uploaded to LP
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: apport 2.12.1-0ubuntu4
ProcVersionSign
Uname: Linux 3.11.0-7-generic x86_64
ApportLog:
ApportVersion: 2.12.1-0ubuntu4
Architecture: amd64
CrashReports: 640:0:136:
Date: Mon Sep 16 14:39:40 2013
MarkForUpload: True
PackageArchitec
SourcePackage: apport
UpgradeStatus: Upgraded to saucy on 2012-01-31 (593 days ago)
mtime.conffile.
Changed in apport (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | New → In Progress |
That's actually what the ui.test_ run_crash_ precollected test case should cover. Could it be that there is no gdb installed on the phone, so that it cannot actually determine a StacktraceAddre ssSignature and Stacktrace? The dependency was removed from apport itself a long time ago due to
apport (1.8.1-0ubuntu1) karmic; urgency=low
* Move gdb dependency from apport to GUI packages to avoid pulling in gdb on
Ubuntu server. Thanks to Steve Beattie! (LP: #354172)
But indeed these days apport cannot work any more without gdb, so I think I'll just add it back. Subscribing Steve Beattie.
JB, could you try installing gdb on the phone and verify that this works then? Thanks!