There are so many 'unresponsive script' threads out there but none seem to quite match my symptoms, so bear with me. Will try to list all of the important points.
Firefox… (read more)
There are so many 'unresponsive script' threads out there but none seem to quite match my symptoms, so bear with me. Will try to list all of the important points.
Firefox sporadically freezes. After a wait of 10-20 seconds of being completely unresponsive, the unresponsive script dialog appears.
- Interestingly, at the point the unresponsive script dialog opens, the website I'm on starts to work again in the background, fully finishing loading. Of course, I'm unable to access it due to the dialog.
- It doesn't matter whether I click Continue, Stop Script, or Debug Script - whichever one I click, the dialog disappears and Firefox re-freezes. If I click debug, I do see the debug panel open and start to load, but don't actually see the source code appear on the right.
- The script referred to in the dialog varies though I believe is always of the form chrome://browser/content/browser.js:xxxx
- It happens *inconsistently* and *not* in a replicable way - perhaps once a day, on all sorts of different websites. The same page that causes the crash will reload perfectly fine at a later stage. It happens while the page is loading (though I believe I've had it happen when a site AJAXed in a new ad too).
- I can often close the window by right clicking in the task bar and choosing close window, though the Firefox process continues to run.
- If I go into Task Manager and try to end the Firefox process, nothing happens, at least not straight away; the process remains there. Any attempts to open Firefox results in the 'Firefox is already running' popup; if I click the close Firefox button, it says the profile is inaccessible and is unable to.
- I've tried going into the profile folder and deleting the parent.lock file while this is happening, but get an error that the file is in use.
- After a few minutes, the Firefox process ends, and I can open it again.
- This problem only started happening after upgrading from Windows 7 to Windows 10 last year.
I have tried:
- disabling all extensions
- disabling hardware acceleration, both in the Firefox settings and in Flash settings (though I've had crashes with Flash disabled)
- creating a new profile
- and even running in safe mode
It's hard to test given it happens infrequently, but I've had crashes during all of the above.
The fact that I'm unable to end the process suggests a driver issue; I've checked for display driver updates but it says they're up to date.
Here's one example crash report - this was one with all of my extensions etc enabled, and may just say it crashes because I ended the process, but in case it helps: https://crash-stats.mozilla.com/report/index/bp-342945b0-7e54-4a69-8f6a-99b082160417
Happy to provide other details as needed.
I'm a developer myself, so if there are any methods that allow *debugging* the problem as it is happening, that would be something I'd like to try.