apport-unpack crashed with IOError in <module>()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: apport
firefox -g 2>&1 | tee ~/Desktop/
... # some output
(gdb) run
... # run and reproduce crash
(gdb) bt full
... # full backtrace output
(gdb) thread apply all backtrace full
... # all threads full backtrace output
(gdb) quit
Now ~/Desktop/
Copy and paste in a xterm the following command:
TMPDIR=$(mktemp -d)
apport-unpack /var/crash/
gdb -nx /usr/lib/
rm -fr $TMPDIR
That command will run gdb against the coredump file included in the crash report that was generated when firefox crashed.
Upload the resulting gdb.log to launchpad.
ProblemType: Crash
Architecture: i386
CrashReports:
600:0:
600:0:
600:0:
600:0:
Date: Tue Jan 22 23:24:34 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.5
Package: apport 0.100
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/
ProcCwd: /root
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_CA.UTF-8
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport-unpack crashed with IOError in <module>()
Traceback:
Traceback (most recent call last):
File "/usr/bin/
pr.
IOError: [Errno 2] No such file or directory: '/var/crash/
Uname: Linux HewittRand-desktop 2.6.24-4-generic #1 SMP Mon Jan 14 17:30:39 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse plugdev scanner tape
root@HewittRand -desktop: ~# firefox -g 2>&1 | tee ~/Desktop/ gdb-firefox. log firefox/ run-mozilla. sh -g /usr/lib/ firefox/ firefox- bin FIVE_HOME= /usr/lib/ firefox PATH=/usr/ lib/firefox: /usr/lib/ firefox/ plugins: /usr/lib/ mre/mre PATH=/usr/ lib/firefox: /usr/lib/ mre/mre PATH=/usr/ lib/firefox: /usr/lib/ firefox/ components: /usr/lib/ mre/mre
SHLIB_PATH= /usr/lib/ firefox: /usr/lib/ mre/mre
LIBPATH= /usr/lib/ firefox: /usr/lib/ mre/mre
ADDON_PATH= /usr/lib/ firefox PROGRAM= /usr/lib/ firefox/ firefox- bin firefox/ firefox- bin -x /tmp/mozargs.c13846 gnu.org/ licenses/ gpl.html> i686/cmov/ libthread_ db.so.1" . firefox/ firefox- bin
/usr/lib/
MOZILLA_
LD_LIBRARY_
DISPLAY=:0.0
DYLD_LIBRARY_
LIBRARY_
MOZ_
MOZ_TOOLKIT=
moz_debug=1
moz_debugger=
/usr/bin/gdb /usr/lib/
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/
(gdb) run
Starting program: /usr/lib/
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb72216c0 (LWP 13853)]
Program exited normally. -desktop: ~#
(gdb) bt full
No stack.
(gdb) thread apply all backtrace full
No registers.
(gdb) quit
root@HewittRand