apport crashed with OSError in check_lock()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: apport
Don't really know more. If the report is useless, just discard this bug.
ProblemType: Crash
Architecture: i386
CrashReports:
600:1000:
600:1000:
Date: Sun Sep 30 16:03:20 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/share/
InterpreterPath: /usr/bin/python2.5
Package: apport 0.97
PackageArchitec
ProcCmdline: /usr/bin/python /usr/share/
ProcCwd: /var/crash
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=fr_FR.UTF-8
PythonArgs: ['/usr/
SourcePackage: apport
Title: apport crashed with OSError in check_lock()
Uname: Linux milan 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux
Setting this to confirmed. join(apport. fileutils. report_ dir, '.lock') os.O_CREAT| os.O_NOFOLLOW)
error_ log('cannot create lock file (uid %i): ' % os.getuid() + e.message)
The code from /bin/apport in question is:
# create a lock file
lockfile = os.path.
try:
fd = os.open(lockfile, os.O_WRONLY|
except OSError, e:
raise
I think this exception should not get raised, because there might be just another user locking apport.