Closed Bug 310401 Opened 19 years ago Closed 19 years ago

95-100% CPU usage after resuming session from hibernation

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 265172

People

(Reporter: mike1337, Unassigned)

Details

(Whiteboard: do not dupe to dupe bug 76831 ( or any bug that was duped to it ))

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla 1.5 Beta 1

Open up a few tabs in Mozilla Firefox 1.5 Beta 1, and use the browser for a 
few minutes, then click on Mozilla Firefox 1.5 Beta 1, and use the browser for 
a few minutes, then click on 

Reproducible: Always

Steps to Reproduce:
1. Open up a few tabs in Mozilla Firefox 1.5 Beta 1 and use it for a few 
minutes
2. Go to the start menu, shut down, then hibernate, and click OK
3. Turn on your computer and resume your last Windows session.

Actual Results:  
You should notice that your CPU usage for Firefox.exe is constantly above 95%

Expected Results:  
The CPU usage shouldn't be that high.
Related to/duplicate of bug 265172?
(In reply to comment #1)
> Related to/duplicate of bug 265172?

I'm not quite sure. That bug is a little bit similar to that, but I just found 
this bug (305330) that is extremely similar to mine.  It takes a few minutes 
extra to resume from hibernation mode, and after it's done, the CPU stays 
consistently above 95% until you kill the app and reload it.
Happens to me too (WinXP SP2, Athlon XP 1800+, 512MB RAM).

Resume from hibernate is now taking ten to fifteen minutes (vs. two minutes
without Firefox running), and Firefox is consuming 95% average CPU time (90%
minimum).

Closing tabs doesn't seem to help -- I have to close the entire browser before
the problem goes away.  This is a very serious problem -- I use Hibernate all
the time.
I have the same exact problem as you too. I'm running WinXP Professional SP2, 
Pentium 4 2.53 ghz, 1GB 1066MHZ RDRAM)

I just tried testing this a few minutes ago on Firefox 1.0.7, but I couldn't 
replicate it. However, on FireFox 1.5 Beta 1, it's always replicable.  The 
reason I believe it's taking a much longer time to resume from hibernation is 
because the program is eating up all the CPU preventing the resources from 
being used to restore the previous session.
(In reply to comment #4)
> I have the same exact problem as you too. I'm running WinXP Professional SP2, 
> Pentium 4 2.53 ghz, 1GB 1066MHZ RDRAM)
> 
> I just tried testing this a few minutes ago on Firefox 1.0.7, but I couldn't 
> replicate it. However, on FireFox 1.5 Beta 1, it's always replicable.  The 
> reason I believe it's taking a much longer time to resume from hibernation is 
> because the program is eating up all the CPU preventing the resources from 
> being used to restore the previous session.

I'm not getting it to happen here.  I'm running WinXP Pro SP2, P4 1.7GHz, 1GB
PC800 RDRAM.  I can use Firefox for a period, enter hibernate, come out of
hibernate, everything is normal.  Currently using Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.8b5) Gecko/20050930 Firefox/1.4 ID:2005093006, which
is the latest nightly branch.

Obviously the fix for bug 76831 has not fixed all hibernationproblems in Firefox.
As stated in that bug, Brendan don't want it reopened

Since almost all other Hibernationbugs from FF were dupe agains bug 76831 I'll
set this one new

->NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: do not dupe to dupe bug 76831 ( or any bug that was duped to it )
My repro was for "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10)
Gecko/20050716 Firefox/1.0.6" (so I'm a little behind the times, but I haven't
yet reached a good upgrade spot).  And FWIW it does only happen intermittently
-- it does seem to require some kind of "critical mass" of tabs open before it
triggers.  Or possibly a certain plugin running or something.  I'm not entirely
sure what the triggers are, apart from hibernation.
Component: General → XP Toolkit/Widgets
Product: Firefox → Core
Version: unspecified → Trunk
There we go.  Happening right now on Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7.

I'm strongly suspecting that it's Flash's fault, though I could be wrong.

I've only got six tabs open this time, and three of them clearly contain Flash
animations.

*** This bug has been marked as a duplicate of 265172 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.