Closed Bug 206341 Opened 21 years ago Closed 18 years ago

Windows 2000/XP takes a long time when restoring from hibernation after hibernate with an open Mozilla window that have a Flash object

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 265172

People

(Reporter: alberto_mtnez, Assigned: peterlubczynski-bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

When you hibernate or suspend a system with Windows 2000/XP leaving open a large
number of pages (10-15 and up) in Mozilla that contains a Flash object, the
computer take a lot of time restoring from hibernation. The more pages you leave
open, more time takes Windows to restore (up to 5-7 minutes in an Athlon system
with 512 MB of RAM). This is more notable in Windows XP, because it performs
more operations when restoring from hibernation: I left about 30 pages in tabs
open in one Mozilla window in a Pentium 4 system, and the computer took about 7
minutes in showing the logon screen and about 1 minute between I typed the
password and the bullets that mask the characters appeared in the box (I spent
about 2 minutes in moving the cursor to the box); then 3-5 minutes until I could
work normally with the computer.

The delay start just after the progress bar of "Restoring Windows" completes.
The bar remains in the screen for a few seconds and then goes black for some
minutes. It appears that after loading all the contents of the hibernation file,
Mozilla take a lot of CPU cicles, as when you **** high priority to a CPU
consuming task. I tried to hibernate the computer with a lot of programs running
(about 350 MB of RAM used) but shutting down Mozilla,, and the computer get back
from hibernation in a normal time (15-45 seconds). Also, I removed the flash
plugin DLL from the plugins directory an since then the computer restores from
hibernation properly, no matter how many pages I left open (I tested it using up
to 36 pages open at the same time).

I noticed this behaviour in Mozilla 1.1, 1.2.1, 1.3 and Phoenix 0.5 (and maybe
in Mozilla 1.0, I don't rembember exactly when changed from 1.0 to 1.1) and with
Flash 6 r47 and r79. I get the same behaviour in a Pentium 4 and Athlon
computers, so it appear that is not related with hardware or drivers. Also, 
most of the times in Windows XP Mozilla still takes almost the 100% of the CPU
after restoring, and it not drop to zero until you close it. I never found that
behaviour in Windows 2000 (the CPU load its the normal after restoring no matter
how many time it take to that process). I also tried leaving pages with flash
open in other browsers and worked fine, so it's a problem of Mozilla or the
Netscape version of the plug-in.


Reproducible: Always

Steps to Reproduce:
1. Open several windows in Mozilla that have Flash objects
2. Hibernate the computer
3. Restore the computer from hibernation

Actual Results:  
The computer takes a long time restoring from hibernation.


Browser: Mozilla 1.3 with all components but Chatzilla.
Add-ons: Calendar
Plugins: Flash 6 r79, Quicktime 6
Windows 2000/XP Spanish version

I have installed more plugins and addons, but this is the set of components
common to both systems.

Maybe this could be related to bug 137963:
http://bugzilla.mozilla.org/show_bug.cgi?id=137963

*** This bug has been marked as a duplicate of 76831 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Summary: Windows 2000/XP takes a long time when restoring from hibernation after hibernate with an open Mozilla window that have a Flash object → Windows 2000/XP takes a long time when restoring from hibernation after hibernate with an open Mozilla window that have a Flash object
I am not experiencing bug 76831, but I am very often experiencing this one.
So, I don't think this is a duplicate of that.

laptop (both when hibernating or going to standby), Windows XP SP2, Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0.

I do not see any disk activity when the problem occurs. However, it sometimes
takes the laptop 30 minutes to recover. The actual recovery is shorter, but
while Firefox is using 100% of the CPU, the machine is completely unusable.

It usually happens when I have a few tabs (sometimes even 5 is enough) open from
http://index.hu (a news-site with flash).

30 minutes... Very annoying :-((

Please see also the discussion at
http://forums.mozillazine.org/viewtopic.php?t=143505&highlight=standby
I am fairly certain this is not the same bug as #76831. I have not experienced
#76831, but I have this 'long slow hang on XP wake' reliably whenever Firefox
has one or more tabs of Flash content open, and the machine has been
'hibernated' (or even put in 'stand by' for a while. 

The duration of the long slow hang seems proportional to the amount of time that
the machine has been 'asleep', making me think that it's some code in the Flash
viewer and/or Firefox that's trying to catch up the software's time/event-queues
with the system clock. 

I've further confirmed this impression by the following process:
(1) visit a Flash page, hibernate, wake -- no delay or Firefox max CPU state noticed
(2) on same flash page, hibenate, on power-on go immediately to BIOS, set clock
forward 10 days, allow wake to proceed -- result is wake-up process that takes
8+ minutes, about 2-3 of which feature a blank screen and the rest a
slowly-drawing, mostly unresponsive desktop. To the extent the task manager
updates during this phase, it shows Firefox at 99% CPU. 

So there's a good chance that this is a flash player bug, rather than mozilla
code, but it's not likely the same thing as #76831.

This doesn't seem to be fully resolved.

I can reproduce this in Mozilla Suite 1.7.6 on two systems: Windwos 2000 &
Windows XP.

Note that it is NOT 100% repeatable. I can open five browser windows/tabs, load
a page with flash, and hibernate/resume several times before this happens, OR
hibernate for a long period (such as > 24 hours) then resume to find Mozilla
running cpu to 100%.

Re: previous comment by Justin

This is 100% repeatable for me in Firefox through 1.0.2. However, unless a lot
of time has gone by, by the system clock, the effect is so small as to be
imperceptible. The longer the gap in system time, the larger the effect. This
seems consistent with your report.

See also bug #265172 -- https://bugzilla.mozilla.org/show_bug.cgi?id=265172

(This was never really a duplicate of 76831.)
This bug is neither a duplicate of 76831 nor has it been resolved. I can see this bug every time I happen to leave Firefox open when I hibernate my computer.

Please re-open and look into it. My computer takes up to 15 minutes at 100% CPU when I resume in this scenario!
This bug is neither a duplicate of 76831 nor has it been resolved. I can see this bug every time I happen to leave Firefox open when I hibernate my computer.

Please re-open and look into it. My computer takes up to 15 minutes at 100% CPU when I resume in this scenario!

For more information you may want to look at http://forums.mozillazine.org/viewtopic.php?t=143505
Yeah, this is not a dup of bug 76831.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
...but dup of 265172 anyway.
Many 265172 dups are marked as dup of 76831 by mistake. 

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