forwarded 324791 https://bugzilla.mozilla.org/show_bug.cgi?id=307147
thanks

* Jason Dorje Short ([EMAIL PROTECTED]) wrote:
> Eric Dorland wrote:
> >reassign 324791 firefox
> >thanks
> >
> >* Jason Dorje Short ([EMAIL PROTECTED]) wrote:
> >
> >>Package: mozilla-firefox
> >>Version: 1.0.6-3
> >>Severity: normal
> >>
> >>
> >>Firefox crashed (actually my power went out and the whole system went 
> >>down in
> >>an instant).  When I restarted it, it refused to use my default profile. 
> >>Naturally the lock file in ~/.mozilla/firefox/*.default/lock was still 
> >>there;
> >>removing this fixed the problem.  This lockfile pointed to 127.0.0.1:5371 
> >>but
> >>there was no such process running.  (After I removed the lock and 
> >>restarted,
> >>the new lock pointed to 5543; `ps -p 5543` showed that this was indeed
> >>firefox.)  I think I've seen this behavior before but I can't be certain.
> >>
> >>If I kill firefox manually (killall -SEGV firefox-bin) there is no 
> >>problem.
> >>Only if there's a computer restart does the problem show up (I haven't
> >>tried killing the process and then restarting the computer before bringing
> >>firefox back up; that might show the same symptoms).
> >
> >
> >I'm not sure what the bug is here. This is a common problem with lock
> >files. 
> 
> Common but both solvable and poorly handled.
> 
> The common solution is for the lock to include the PID of the locking 
> process, so that when acquiring the lock it's possible to check for 
> stale locks.
> 
> The problem is handled poorly because there is no way to fix it!  Unless 
> you go in and delete the lock file by hand, it will never go away.  The 
> typical user will then see the "Pick profile" screen every time they log 
> in and will be unable to return to their default profile.

The link the lock file points to does contain the pid in it. 

Forwarding this bug. 

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: Digital signature

Reply via email to