apport-retrace crashed with ValueError in load()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: apport
I was using apport-retrace in the command prompt, and using option (-g)
ProblemType: Crash
ApportLog:
apport (pid 1169) Fri Apr 4 09:06:19 2008: called for pid 1168, signal 11
apport (pid 1169) Fri Apr 4 09:06:19 2008: executable: /usr/lib/
modinfo: could not open cdrom: No such device
modinfo: could not open cdrom: No such device
apport (pid 1169) Fri Apr 4 09:06:28 2008: wrote report /var/crash/
Architecture: i386
Date: Fri Apr 4 10:57:59 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
NonfreeKernelMo
Package: apport-retrace 0.106
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport-retrace crashed with ValueError in load()
Uname: Linux 2.6.24-14-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev video
ERROR:
Traceback (most recent call last):
File "/usr/bin/
report.
File "/usr/lib/
(key, value) = line.split(':', 1)
ValueError: need more than 1 value to unpack
Related branches
description: | updated |
This is caused by specifying an invalid report file:
You've given a coredump, but should provide a .crash file instead. Apport then would extract the coredump out of it and run gdb on it (when using the "-g" option, as you've done).
However, apport should not "crash" in this case, but exit with "Cannot open report file" in this case.
I'll attach a branch, which includes this fix.