Closed
Bug 349293
Opened 19 years ago
Closed 19 years ago
Excessive process termination delay on shutdown
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 341384
People
(Reporter: per.angstrom, Unassigned)
Details
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060817 Minefield/3.0a1
When Firefox (trunk) is closed, there is an excessive delay of some 55 seconds before the process exits. During this time, it is impossible to start another Firefox session, instead the launch procedure will abort prematurely, displaying the message "Firefox is already running, but it is not responding [...]".
How to reproduce:
1) Start Firefox from the command line, keeping it in the foreground.
2) When Firefox has started properly, close it.
3) Note the current time.
4) Check the command prompt and note the time when the Firefox launch script exits.
Expected behavior: The Firefox process should exit almost immediately after Firefox has been shut down by the user.
Current behaviour: The Firefox process does not exit until after an inordinate delay.
I have timed the shutdown in the Firefox 2.0 beta 1, and the corresponding figure is 10 seconds. That is also quite long, but not nearly as bad as on the trunk.
Using strace I can see that during the shutdown delay, Firefox seems to get stuck in an almost infinite loop consisting of the following system calls:
[trace output]
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=3, events=POLLIN}, {fd=16, events=POLLIN}, {fd=20, events=POLLIN|POLLPRI}, {fd=22, events=POLLIN|POLLPRI}, {fd=23, events=POLLIN|POLLPRI}, {fd=24, events=POLLIN|POLLPRI}, {fd=8, events=POLLIN}], 7, 0) = 0
write(9, "\372", 1) = 1
gettimeofday({1155969812, 561439}, NULL) = 0
[/trace output]
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 341384 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•