This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox process stays behind after quit (Windows 10)

  • 3 cavab
  • 1 has this problem
  • 20 views
  • Last reply by FredMcD

more options

When I quit Firefox, the process stays running forever; I have to open the task manager and kill it. (I wait until CPU usage is down to 0 so I know it's actually done, so it doesn't think it crashed.) Running Windows 10. I think this started more or less when the Anniversary Update landed.

To prevent wasted time from either party, here are some things I already tried:

  • disabled all extensions one by one
  • fresh profile
  • fresh install of Developer Edition
  • wiped all traces of Firefox from my system, and still got this on a fresh install → 32 and 64 bit, latest release, oldest release I was able to download, Developer Edition
  • switched antivirus
  • turned antivirus off entirely
  • Windows' own safe mode
When I quit Firefox, the process stays running forever; I have to open the task manager and kill it. (I wait until CPU usage is down to 0 so I know it's actually done, so it doesn't think it crashed.) Running Windows 10. I think this started more or less when the Anniversary Update landed. To prevent wasted time from either party, here are some things I already tried: * disabled all extensions one by one * fresh profile * fresh install of Developer Edition * wiped all traces of Firefox from my system, and still got this on a fresh install → 32 and 64 bit, latest release, oldest release I was able to download, Developer Edition * switched antivirus * turned antivirus off entirely * Windows' own safe mode

Modified by lalomartins

All Replies (3)

more options
more options

Hi FredMcD, thanks for your reply. Here's the results along with some extra debugging:

  • crashfirefox.exe fails on my stable install (whether I run it while the process is hanging, or when it's running normally) with “Could not create remote thread.” I guess it's not 64b-compatible? With Developer Edition it hangs.
  • I couldn't find any other way to generate a crash report. I thought I could trick Developer Edition into doing it but no. Which makes sense since, well, it's not crashing. A report would only be meaningful if I could make it crash after it's in the hanging state, and that seems epistemologically difficult ;-)
  • Issue also happens in Safe Mode. (BTW it wasn't trivial at all to get to Safe Mode to start with, since the browser isn't able to restart.)
  • Playing around with a clean profile, I discovered one and only one situation where it exits successfully: if I change settings to “When Firefox starts: Show a blank page”, and then quit without navigating to anything at all, it quits. If I open anything at all, even the settings UI, the process hangs.
  • Memory usage displayed in the task manager after CPU reaches 0 varies according to how many tabs I had open and, I think, their content.
  • It makes no difference whether I close the window (using the X button or alt-f4) or exit Firefox via the menu.
  • And BTW it's not a matter of waiting it out. Sometimes I forget to kill it and it stays there hanging for hours while I'm doing Chrome work.
  • The Developer Edition install has multiprocess (Electrolysis) on, the stable install doesn't. That doesn't seem to make a difference. However, only one process stays behind. (That said, even when it's running, with 4 tabs open, I only see 2 processes — so maybe I misunderstand how Electrolysis works, or how to list/count processes on Windows.)

FredMcD said

How to crash Firefox; Instructions here; https://developer.mozilla.org/en-US/docs/Mozilla/How_to_report_a_hung_Firefox

You did not say if you tried Firefox in Safe Mode.


https://support.mozilla.org/en-US/kb/firefox-hangs-or-not-responding

https://support.mozilla.org/kb/Firefox+is+already+running+but+is+not+responding

more options

Create a batch file on your Windows computer and call it something like ‘KillFirefox.bat’ Place this in the batch file;

TASKKILL /IM Firefox.exe /t

Now place a shortcut on the desktop to the batch.