Firefox does not shut down when closing all Firefox windows

Bug #386362 reported by tdn
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

When I close Firefox, it often does not terminate entirely.

When I start Firefox again, I often get this error:
``Firefox cannot use the profile "default" because it is in use.

To continue, close the running instance of Firefox or choose a different profile.''

This makes it impossible for a regular user to use Firefox without having to logout or restart.

I know I can just open a terminal an kill it by: killall firefox, but regular users don't know that and shouldn't have to.

I use Kubuntu 9.04.

~ $ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
~ $ apt-cache policy firefox
firefox:
  Installed: 3.0.10+nobinonly-0ubuntu0.9.04.1
  Candidate: 3.0.10+nobinonly-0ubuntu0.9.04.1
  Version table:
 *** 3.0.10+nobinonly-0ubuntu0.9.04.1 0
        500 http://dk.archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     3.0.8+nobinonly-0ubuntu3 0
        500 http://dk.archive.ubuntu.com jaunty/main Packages

PS.
Another thing that is extremely annoying is that Flash plugin often stops working when using Firefox. Sometimes I can watch several pages with Flash and then suddenly Flash stops working. Actually, this is the reason that I need to restart Firefox all the time. I know that Flash plugin is not officially part of supported Ubuntu, but I think it should be expected that Firefox will work with it anyway. Not sure if I need to open a new bug on this issue?

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this issue to Ubuntu. Sometimes it takes a few seconds for Firefox to fully close and save everything after the windows disappear. How long does it actually take before you can restart Firefox? As for the second issue, are you on a 64 bit system? Which flash player are you using? We generally like to keep one issue per bug, but your issue might already have been reported so I wanted to get more information.

affects: firefox (Ubuntu) → firefox-3.0 (Ubuntu)
Changed in firefox-3.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
tdn (spam-thomasdamgaard) wrote :

> How long does it actually take before you can restart Firefox?

I have tried waiting several minutes at least one time. But normally, I will just get impatient and kill it. I will try to take time on it next time it happens and wait at least, say, 5 minutes? But even if the user has to wait "just" 30 secs or more, I think it still qualifies as a bug because the user expects that the application is closed, when the windows are closed. If it takes a long time, some mechanism should inform the user of this.

> As for the second issue, are you on a 64 bit system?

Yes.

> Which flash player are you using?

Not sure if this is the correct way of checking:

~/recipes $ dpkg -l |grep flashpl
ii flashplugin-installer 10.0.22.87ubuntu2 Adobe Flash Player plugin installer
ii flashplugin-nonfree 10.0.22.87ubuntu2 Adobe Flash Player plugin installer (transit

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for the information. You shouldn't have to wait more than 30 seconds for Firefox to fully quit. Please let us know what happens.

As for the flash issue, you can subscribe to https://bugs.launchpad.net/ubuntu/+source/flashplugin-nonfree/+bug/238606 and mark as the issue affecting you. However, please do not comment unless you have read all the posts and have something more to contribute. We are waiting for Adobe to release the 64 bit version of Flash.

Please feel free to report any other issues.

Revision history for this message
tdn (spam-thomasdamgaard) wrote :

I have just checked. After waiting over an hour and still getting the "profile already in use" error, I gave up and killed Firefox.

I noticed, however, that Firefox was consuming 100% CPU before being killed.

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you, is your home directory on an NFS mount?

Revision history for this message
tdn (spam-thomasdamgaard) wrote :

No. My home directory is on local disk.

Revision history for this message
Mike Sunderland (mike-cornerstone) wrote :

I'm seeing the firefox not terminating problem here too.

~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

~$ apt-cache policy firefox
firefox:
  Installed: 3.0.11+build2+nobinonly-0ubuntu0.9.04.1
  Candidate: 3.0.11+build2+nobinonly-0ubuntu0.9.04.1
  Version table:
 *** 3.0.11+build2+nobinonly-0ubuntu0.9.04.1 0
        500 http://archive.ubuntu.com jaunty-updates/main Packages
        500 http://security.ubuntu.com jaunty-security/main Packages
        100 /var/lib/dpkg/status
     3.0.8+nobinonly-0ubuntu3 0
        500 http://archive.ubuntu.com jaunty/main Packages

Revision history for this message
Micah Gersten (micahg) wrote :

Are either of you running ext4 for the partition your home directory is on?

Revision history for this message
Mike Sunderland (mike-cornerstone) wrote :

$ df /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 211019536 195133492 5251280 98% /

$ sudo vol_id --type /dev/sda3
ext3

Revision history for this message
tdn (spam-thomasdamgaard) wrote :

(tdn@malbec) (09-07-22 8:11) (P:0 L:1) [0] [ 08:11:32 up 8 min, 1 user, load average: 2.71, 2.44, 1.07]
~ $ df /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/sda4_crypt
                     115345932 106489756 8856176 93% /
(tdn@malbec) (09-07-22 8:11) (P:0 L:1) [0] [ 08:11:33 up 8 min, 1 user, load average: 2.71, 2.44, 1.07]
~ $ sudo vol_id --type /dev/mapper/sda4_crypt
[sudo] password for tdn:
ext3
(tdn@malbec) (09-07-22 8:11) (P:0 L:1) [0] [ 08:11:49 up 8 min, 1 user, load average: 2.27, 2.35, 1.07]
~ $

Revision history for this message
daveer42 (daveer42) wrote :

I too, am having a problem with firefox not shutting down. Problem started after I began using Kubuntu Jaunty. Did not encounter this with previous versions. Have tried waiting several hours and even overnight. Still have to close or kill process or reboot.

Revision history for this message
Micah Gersten (micahg) wrote :

Could this be a duplicate of bug 400088? Does anyone see FUTEX_WAIT_PRIVATE repeating when closing if you run an strace?

You can run an strace by the following command:

strace -eopen firefox 2>&1 | tee /tmp/strace_ff.log

This will show the output on the console as well as in the /tmp/strace_ff.log file.

Revision history for this message
tdn (spam-thomasdamgaard) wrote :

I tried strace -eopen firefox 2>&1 | tee /tmp/strace_ff.log and attached the log file.

I also tried stracing the running firefox:
~ $ strace -p 5104
Process 5104 attached - interrupt to quit
futex(0x784a18, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
Process 5104 detached

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 400088, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.