Closed Bug 269183 Opened 20 years ago Closed 20 years ago

Firefox hangs eating 99% CPU preparing to print

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: bob, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/0.7 StumbleUpon/1.89
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/0.7 StumbleUpon/1.89

When you try printing this page in FireFox (and the same happens with Mozilla
1.7.3) you see a Preparing box and the action stops.

The XP task manager shows FireFox 1.0 eating up 99% CPU.

Need to kill it.

Same page prints with IE.

Same problem on several machines.

Thank you for any help and for your excellent work.

Bob Alexander

Reproducible: Always
Steps to Reproduce:
1. Load page
2. File->Print
3. et voila'

Actual Results:  
Firefox hangs there consuming 99% CPU. Must be killed.

Expected Results:  
Printing the nice page 8-)) BTW the site declares 100% compliant with FireFox !!!
I'm the developer of XWiki.

I've reproduced this problem on my Firefox 1.0. 
To give some pointer, the pages of XWiki make quite a heavy usage of divs and css
I can help detecting the exact part of the page causing the issue by overrding
the templates and removing HTML/CSS one by one.. 

Ludovic
This HTML file containing styles is currently the smallest file I could  do
that reproduces the problem.

Especially, it seems that to following elements are needed to reproduce it:

1/ the big amount of line breaks inside the div section
2/ the image tag in the footer (even without a valid image)
3/ the css directive that are in the head section
I get a similar hang with another div-heavy site.  Trying to print search
results from www.rightmove.co.uk leads to the same problem.
I cant reproduce this bug in 1.0.2. Maybe it is fixed ?
WFM - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050326
Firefox/1.0+
I don't have any printers installed, so I solicited help testing this on IRC. 
Gavin reports this WFM on both branch and trunk.  kbrosnan, by his comments
above, and another person also call this WFM.  Going to mark this resolved WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
verified, Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050325 Firefox/1.0+

Maybe a printer/driver-specific problem (I tested on hp LaserJet 1010)? Perhaps
a conflict with other software or extensions? If you narrow down the problem,
please comment here.
Status: RESOLVED → VERIFIED
I confirm that this problem still happens using Firefox 1.0.2
It is still reported by some users. 
I'm testing using HP PhotoSmart. It was reported using an HP Color LaserJet

Please reopen the bug ! I can't do it !
(In reply to comment #8)
> I confirm that this problem still happens using Firefox 1.0.2
> It is still reported by some users. 
> I'm testing using HP PhotoSmart. It was reported using an HP Color LaserJet
> 
> Please reopen the bug ! I can't do it !
> 

Please reference comment #7 for an idea of what the problem may be, and some
things that need to be done before this will be re-opened.  Specifically, you
need to make sure there are no driver conflicts, extensions causing the problem,
and do something to attempt to narrow the problem down to something that is
easily reproducible, because several people have tested this, and it doesn't
appear to be a problem.  It also wouldn't be a bad idea to test this on
latest-trunk instead of using the most recent milestone build for your testing.
I also tested with hp psc 1350 on a different computer with Firefox 1.0, no hang.

Please don't be offended, there are a lot of printing bugs, including bugs
causing hangs, some are better reproducible than this. AIUI nobody's is actively
working on printing anyways.

To be sure it's a Firefox bug, please test with
* current trunk build from:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
* clean profile
* latest printer drivers
Please also indicate whether you and other people test using the site linked or
the provided testcase. Thanks.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: