stale lock prevents apport runs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apport
Today I succeeded in crashing Evolution-
Looking at /var/log/apport I see an entry for the crash with this message: "another apport instance is already running, aborting", so this is the reason for the missing keyword, I guess.
The problems:
1. there was *no* other instance of apport running at the time of the crash;
2. the /var/crash/.lock lock file was dated Sep 5th 2007. Since then this machine has been rebooted several times.
So... stale lock. Since the .lock file was owned by root, it might well be that my apport run (being run as myself) did not have the necessary privilege to delete a file owned by root. I do not know, have not had time to look at the code.
Although I do understand the need to throttle apport simultaneous runs, I also think some sort of cleanup should be implemented; this cleanup would have to take in consideration that the lock file may be owned by another user.
bah, the lock file was not dated Sep 5th... it was Aug 5th. Sorry.