This thread was archived. Please ask a new question if you need help.
browser freezes after resuming from sleep
FF 21.0 Browser freezes after resuming from sleep. What would cause FF 21.0 Browser to freezes after resuming from sleep?
I have been following since I started thread. For me, the browser would freeze if I left it open when the computer went to sleep. So I would minimize the browser before putting computer to sleep. But if the computer was in sleep for along time (2 to 4 hours) minimizing didn't prevent the browser from freezing.
I just now Updated 8-14-13 to Firefox 23 I will see if the problem still exist.
If Firefox 23 fixes the problem I will Mark thread as solved.
jorbRead this answer in context 👍 1
All Replies (20)
Try Firefox Safe Mode to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
(If you're not using it, switch to the Default theme.)
- You can open Firefox 4.0+ in Safe Mode by holding the Shift key when you open the Firefox desktop or Start menu shortcut.
- Or open the Help menu and click on the Restart with Add-ons Disabled... menu item while Firefox is running.
Once you get the pop-up, just select "'Start in Safe Mode"
If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to figure out which one. Please follow the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article for that.
To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.
When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.
We had a similar report last week: FF 21.0 Unresponsive after Sleep - Windows 7.0 (unsolved).
Just to confirm, the problem is with "sleep" (suspended, but kept in RAM, powered by battery) and not "hibernate" (RAM copied to disk, safe to remove battery).
The problem is with "sleep". It freezes after awhile in sleep. I've tried to recreate the problem by changing sleep to 1 minute. and waiting, but I can't get it to do it. With the lid open or closed and undisturbed for like 30-45 minutes seems is when it freezes. I can minimize and reopen with no change. I have to X out to close the browser and open a new one, fixes the freeze. I am not sure if there are other things going to sleep at different times when a computer goes into sleep.
Windows 7 OS is not effected by this problem.
Modified by jorb
Could you clarify that last comment - Windows 7 OS is not affected by this problem. Do you mean other applications are not affected, or are you running a different version of Windows?
When you X out, does Firefox close normally or does it crash?
The passage of time might be significant to particular websites, if scripts or plugins are sensitive to that. However, I can't think of a way to predict that in advance. Also, I can't think of any reason for the interface to be frozen, particularly if the browser was "at rest" when Windows went to sleep. Hmmm...
Q.Windows 7 OS is not affected by this problem. Do you mean other applications are not affected, or are you running a different version of Windows?
A. What I mean is after resuming from sleep FF and possibly other browsers are the only programs that are affected.
Q.When you X out, does Firefox close normally or does it crash?
I thought it was the web site that I was on at first but after awhile of it freezing it would happen with any web site I was on.
I am dumb founded as to how to recreate the problem after it goes into sleep. All I know is the computer seems to do it when its undisturbed for like 30-45 minutes. Strange
When I configure the computer not to require password on wake up it does not freeze.
Update: The above statement is not true, not to require password on wake does not correct the FF freeze problem.
Modified by jorb
Ok, I was able to get the browser to freeze with two tabs open (Hotmail and this page).
All I did was close the lid unplug the power supply move the computer to different location plug in the power supply open the lid, click on password icon, FF was froze. A total of about 10 minutes elapsed from closing lid to opening lid .
While the frozen browser was still open. I opened a new a FF browser in a new window, that browser opens but is plank and unresponsive.
Checked task manager, it says FF is running.
Modified by jorb
What I have found up to this point is this problem seems to be happening when the computer goes to sleep on battery.
When I stop using the computer, I normally log off from the wireless internet connection, then close the lid and unplug the AC power supply.
After the computer sits for awhile in sleep mode on battery, this is when I'm able to recreate the FF browser to freeze upon wake up.
Modified by jorb
How do you log off from your wi-fi connection??
Does it make any difference if you put Firefox in offline mode before doing that?
Alt+f (calls up the File menu) > Work Offline
Or also in Firefox > Web Developer > Work Offline
Q.How do you log off from your wi-fi connection??
A. By clicking on the internet access icon located on the lower right hand corner of the desktop, then clicking disconnect.
Q.Does it make any difference if you put Firefox in offline mode before doing that?
A. I'll give it try and let you know.
Modified by jorb
Q. Does it make any difference if you put Firefox in offline mode before doing that?
I am pretty sure I have found out how to recreate this FF freezing problem. It is happens on battery in sleep mode upon wake up.
What is interesting is when its frozen, the minimize, restore down & close buttons work, But I just discovered the Firefox button upper left hand corner functions and everything behind it.
I also discovered that IE 10 is not freezing just FF 21.0
Modified by jorb
So when you resume from sleep, you are not first plugging in the A/C -- the computer is on A/C when put to sleep, and then on battery when it wakes up.
Depending on your power management settings, I imagine your GPU might not be used on battery. Try disabling Firefox from using GPU (hardware acceleration of graphics) and see whether that makes any difference with this problem.
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste gfx and pause while the list is filtered
(3) Double-click gfx.direct2d.disabled to toggle its value from false to true (it should turn bold). This is the one for which there is a checkbox in the options dialog.
(4) Double-click gfx.content.azure.enabled to toggle its value from true to false (it should turn bold). Technically, this is different than hardware acceleration, but just in case.
You usually need to restart Firefox before this takes effect.
Q. So when you resume from sleep, you are not first plugging in the A/C -- the computer is on A/C when put to sleep, and then on battery when it wakes up.
A.Correct, It diffidently has something do with the sensing A/C and battery.
gfx.direct2d.disabled was already true, so I left it true
gfx.content.azure.enabled was at true, I switch it to false
Closed and opened FF, put to sleep on A/C, unplugged A/C, waited 10 minutes, woke up on battery, FF froze - No change
No freeze on Google Chrome browser 27.0.1453.110 m noted.
Modified by jorb
I'm definitely not sure what's going on. I do not experience this problem myself, but I also do not do anything special with my wireless connection when starting sleep mode (I press a Fn key combination to go into sleep mode and confirm I have the "moon" LED on before closing the lid, because I set my lid for hibernate).
Two bugs have been filed recently relating to sleep on Windows 7 (64-bit). Neither seems to have progressed toward a solution as of yet:
- 859038 – UI stops painting after resuming from sleep
- 873110 – When OS Windows 7 wakes up after sleep Firefox doesn't respond to actions
(It was also posted on a closed bug: https://bugzilla.mozilla.org/show_bug.cgi?id=765215#c91.)
If forum members can contribute to the development, please feel free to pitch in. Otherwise, it's generally not helpful to add comments to bugs (unless there is a call for test cases), but you can register on the Bugzilla site and "vote" for them to be fixed. See:
Thanks for the suggestions. jscher2000 I will check out the links you mentioned. If I find a solution the problem I will post it.
I just wanted update on how to recreate the FF freeze problem.
The quickest only consistent reliable way that I have found to recreate the FF freeze problem, was to do the following:
1. opened Firefox
2. put computer to sleep on A/C (close lid)
3. unplugged A/C
4. wait 5-10 minutes
5. wake up on battery (open lid)
6. click on password icon
7. Firefox froze
At first it seemed the problem was somehow connected to the computer sensing when it went from AC to battery power. What I have discovered is that you can recreate the problem which takes longer, just by leaving FF open the computer lid open with the AC plugged in, then just wait for the computer to go to sleep (mine is set to sleep in 20 minutes).
But thats not the end, after it goes into sleep mode, FF does not freeze immediately, you still have to wait (I don't know how long) awhile before FF realizes that the computer has gone into sleep mode. That is when FF freezes. Its like FF has some kind of timed out period after it detects sleep mode.
So my original assumption that the problem had something to do with AC and battery power, was incorrect. It just happen to be the quickest way to recreate the problem.
In the old Firefox 13 bug, there was speculation that Firefox was unresponsive because it was trying to "catch up" on all the script activity it hadn't done while it was suspended. Some people report that Firefox does come back after some amount of time, or displays the dialog allowing you to stop a slow-running script after some amount of time. Whatever the actual reason, something like that might explain why the length of sleep has any effect at all.
Hello I have a Win 7 desktop machine. It presents the same problem. It also does this when I have had the browser minimised whilst I do other tasks, for an extended period. ie 30mins Firefox freezes and is unresponsive after resuming from sleep. If I open another instance of Firefox whilst this is happening, it too, is unresponsive and is a blank page. The three buttons in the top right do work.. I am not on a wireless connection.
Same problem here. I am running FireFox 22 on a desktop, Win 7 Ultimate, 64-bit. I connect this computer to the Internet by ethernet, not WiFi. I have tried disabling all extensions and all add-ons. Nothing will make this problem go away. I had the same problem in Version 21.
When my computer wakes from "sleep" (not hibernation), FF pretty much ceases to function. The sleep settings are based on my power scheme settings. Yes, I agree that the three buttons in the upper right corner still function, but not much else does. I have to shut FF down and start over, losing all the info in my open tabs. I hope someone can get to the bottom of this soon!
Having problem on my machines too (with both a/c adapter and battery). One additional reproducible feature is that clicking twice on a systray icon will get the UI to repaint once. The problem may have started after a Java update -- is that possible?