Double-clicking Firefox launcher produces "Firefox is already running" error

Bug #366103 reported by Matthew Paul Thomas on 2009-04-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Confirmed
Critical
firefox-3.0 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: firefox

Firefox 3.0.9, Ubuntu 9.04

Canonical has started user testing of Ubuntu and its applications. During our first test, one test subject double-clicked on the Firefox launcher in the panel. She managed to do this at exactly the right/wrong speed, producing a "Close Firefox" error alert: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

I have been unable to reproduce this error from the launcher, but it is reproducible from the terminal. Steps to reproduce:
1. In a terminal window, enter "firefox & firefox".

What happens:
* A Firefox window appears.
* A "Close Firefox" error alert appears.

What should happen:
* Two Firefox windows should appear.
* No error alert should appear.

There have been a lot of reports on this lately, it's not clear if there is a single cause or multiple causes. We could really use some QA help to take this seriously and track these issues down.

Once it happens you can't relaunch Firefox without finding the process and killing it -- a procedure that novice users are not going to manage. No doubt there are a lot of bugs something like "Firefox won't open anymore until I reboot".

Notice that there is a new Mozillazine article for this (bug 399392):
http://kb.mozillazine.org/Firefox.exe_always_open

Not sure if I should have just reuused the meta bug 239223 -- that's pretty old and seemed to be privacy/security related. We should take a closer look at the bugs listed there as well.

See also bug 395891, perhaps it is related.

(Shouldn't this meta bug be using 'Depends on' rather than 'Blocks' ?)

*** Bug 442555 has been marked as a duplicate of this bug. ***

[Reported in Launchpad as <http://launchpad.net/bugs/366103>]

Firefox 3.0.9, Ubuntu 9.04

Canonical has begun user testing of Ubuntu and its applications. During our first test, one test subject double-clicked on the Firefox launcher in the panel. She managed to do this at exactly the right/wrong speed to produce a "Close Firefox" error alert: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

I have been unable to reproduce this error using the panel launcher, but it is reproducible from the terminal. Steps to reproduce:
1. In a terminal window, enter "firefox & firefox".

What happens:
* A Firefox window appears.
* A "Close Firefox" error alert appears.

What should happen:
* Two Firefox windows should appear.
* No error alert should appear.

tags: added: user-testing
John Vivirito (gnomefreak) wrote :

This has been reported already in LP and upstream IIRC. I'm looking for it at this time.

affects: firefox (Ubuntu) → firefox-3.0 (Ubuntu)
John Vivirito (gnomefreak) wrote :

This bug is being caused by the "double click" action. Doing that tries to open 2 instances of the browser.
Upstream has to do some cleaning on their end as this bug has been reported a number of times. I asked them to do that.
I haven't found the LP bug yet but I'm still looking

Changed in firefox:
status: Unknown → New
Changed in firefox-3.0 (Ubuntu):
status: New → Confirmed
John Vivirito (gnomefreak) wrote :

ok i lo0oked through all 232 bugs and it seems that it isnt there for what ever reason.

Matthew Paul Thomas (mpt) wrote :

John, <https://bugzilla.mozilla.org/show_bug.cgi?id=436676> is about closing Firefox then reopening it, which is not the same as this bug.

Changed in firefox:
status: New → Unknown
Changed in firefox:
status: Unknown → Confirmed

Sometimes when you start firefox fast to many times on windows it will tell you the same,that it's already running and you let it like couple of seconds it will work.

Sometimes firefox says it is running when it is not. It comes up randomly. I don't have to click on it repeatedly or fast, I just click on it normally and it says I must close firefox, but there is nothing open and nothing to close. When I use another browser to go to my home page and then close it, I can open firefox.
Very annoying when it tells me it is busy and I need to close it, and there is nothing to close. When I try firefox again, I get same message, but when i use another browser and then come back to firefox after closing the other browser, firefox takes me to my home page.

Changed in firefox:
importance: Unknown → Low

Can we make this a cross-platform bug, or should I create a new bug for Linux?

I was able to reproduce this error manually on Firefox 9.0.1 using Ubuntu 10.04. I simply double-clicked the Firefox icon twice quicker than I ever normally would, and the Close Firefox error appears: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."

(In reply to Marco Castelluccio from comment #4)
> Can we make this a cross-platform bug, or should I create a new bug for
> Linux?

I don't see a good reason why not make it as cross-platform

*** Bug 513419 has been marked as a duplicate of this bug. ***

*** Bug 561144 has been marked as a duplicate of this bug. ***

*** Bug 661820 has been marked as a duplicate of this bug. ***

*** Bug 489981 has been marked as a duplicate of this bug. ***

Changed in firefox:
importance: Low → Unknown
status: Confirmed → Unknown

*** Bug 416348 has been marked as a duplicate of this bug. ***

*** Bug 403623 has been marked as a duplicate of this bug. ***

Changed in firefox:
importance: Unknown → Critical
status: Unknown → Confirmed
In , Sjw (sjw) wrote :

*** Bug 918381 has been marked as a duplicate of this bug. ***

In , Sjw (sjw) wrote :

*** Bug 942046 has been marked as a duplicate of this bug. ***

In , Sjw (sjw) wrote :

*** Bug 741455 has been marked as a duplicate of this bug. ***

I could reproduce this bug with a new Firefox installation and before the addition of of plug-in like AddBlock Plus.
It occurs randomly : somtimes Firefox close normally if it was opened through a link within a message, sometime not.
This bug appeared with the last update 25.0.1, I never saw it before the installation of this update.

Mistake from me : We must read "I could NOT reproduce this bug with a new installation of Firefox"

*** Bug 981253 has been marked as a duplicate of this bug. ***

I started getting this after update to 27.0.1 I am on windows 7 64 bit.
Problem started last week of feb 2014. I did not install any new plugins.

- 1) I had something closed from your problem : Firefox would not shutdown after closing.
- 2) I sggested you the following solution (this was the only way which worked for the above problem) : made a comlete new installation of your system (OS) which might be corrupted.

This bug seems to be fixed for me : it never occured since five months.
It disapeared without new OS installation (W7 64 bits uptodate).
I am using Firefox 31

I am faced with the same problem for Thunderbird 31.0 and 32.0b1.

It does not happen with Firefox 31.0 and Thunderbird 24.7.0 or lower.

Does Thunderbird hang in safe mode? YES.
Does Thunderbird hang with firewall or antivirus software disabled? YES.
Is gloda indexing enabled or disabled? ENABLED.
Are your mail accounts pop, imap, or a combination? IMAP.
Did the computer go into sleep or hibernate while Thunderbird was running? NO.
Did you change Thunderbird to online or offline status? NO. Always online.
Did you move your (laptop) computer to a different network? NO.
State your operating system and version. State Thunderbird version from Help > About. Win7 Professional, SP1, current patch level. Thunderbird 31.0.
How often you see the hang (always, rarely, etc)? ALWAYS.
CPU usage - is usage zero, low, high (maxed or pegged), or other? 0 percent.
ldap address book - do you have an ldap directory address book defined? NO.
run netstat (normal start mode):
  TCP 127.0.0.1:59799 Thomas-PC:59800 HERGESTELLT 7036
 [thunderbird.exe]
  TCP 127.0.0.1:59800 Thomas-PC:59799 HERGESTELLT 7036
 [thunderbird.exe]
run netstat (save mode):
  TCP 127.0.0.1:60253 Thomas-PC:60254 HERGESTELLT 6348
 [thunderbird.exe]
  TCP 127.0.0.1:60254 Thomas-PC:60253 HERGESTELLT 6348
 [thunderbird.exe]

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

Other bug subscribers

Remote bug watches

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