Closed Bug 544791 Opened 15 years ago Closed 9 years ago

Printing hang and failure when offline network printers exist in printers menu. "unresponsive script" warning NetworkPrioritizer.jsm

Categories

(Core :: Printing: Setup, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: richieg261, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf, regression)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 I run windows XP with Firefox 3.6, which has a printing bug which did not exist in FF 3.5 and lower. I have a printer on a network which I connect to via CUPS and Adobe PDF which is my default printer. I cannot print at all if the CUPS printer is *not* connected to the network, Firefox will hang and eventually a dialog box will appear, saying a script in running too long: Script: file:///C:/Program%20Files/Mozilla%20Firefox/modules/NetworkPrioritizer.jsm:175 Pressing either button to continue or cancel script execution will bring up Print dialog, and even trying to print to Adobe PDF, as soon as you confirm print you get a dialog box up saying An unknown error occurred while printing. So, to print with Firefox 3.6, I need my network printer to be always on. If it is off, all printing fails. Reproducible: Always Steps to Reproduce: 1. Create a network printer, shared by CUPS and remotely connect to it on Win box. 2. Have a local printer, make sure this is on and default printer. 3. Knock network printer offline and attempt to print.
It's weird that you get this file and line # in the long-running-script dialog: http://hg.mozilla.org/mozilla-central/annotate/4aec85d30806/browser/base/content/NetworkPrioritizer.jsm#l172 Ccing Paul on the off-chance he knows what might be going on here. What happened in 3.5 and earlier? I believe Firefox just hanged (bug 369617) until the time-out occurred. If you can reliably reproduce this, it might help if you figured out the day when this regressed by doing a binary search between http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/07/2009-07-01-04-mozilla-central/ and http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2010/01/2010-01-20-05-mozilla-1.9.2/ (You should get a build from a mozilla-1.9.2 folder after 2009-08-13, mozilla-central before that. There's a doc about this - http://quality.mozilla.org/documents-home/bugs-docs/bug-triaging-guidelines/finding-regression-windows , feel free to e-mail me with questions if you have any.) NetworkPrioritizer.jsm was added in bug 514490 on 2009-11-13, so it might make sense to first check if the bug existed right before it landed (on 2009-11-12 -- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/11/2009-11-12-05-mozilla-1.9.2/)
I'm working on Windows 7 32bit with the 3.6.2 firefox. I have a sort of similar problem. Firefox hangs when selecting print, print preview, page settings (free translated from dutch) in the File menu. I have network printers offline, adobe pdf is default printer.
Very delayed response from me, but I'm guessing this is a dupe of bug 476541. Another bug about slow script warnings was duped to that and it also caused Firefox to hang with a modal dialog (in the other case, it was the save file dialog). Though that bug was OS X only... In any case, I highly doubt this is actually related to NetworkPrioritizer - it only interacts with browser windows (so _not_ the printer dialog).
Component: General → Printing: Setup
Product: Firefox → Core
QA Contact: general → printing.setup
can you reproduce with firefox 4 beta? (bug 476541 is, so far, still Mac-only0
Severity: normal → critical
Keywords: hang
Richard... > What happened in 3.5 and earlier? I believe Firefox just hanged (bug 369617) > until the time-out occurred. > > If you can reliably reproduce this, it might help if you figured out the day > when this regressed by doing a binary search between > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/07/2009-07-01-04-mozilla-central/ > and > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2010/01/2010-01-20-05-mozilla-1.9.2/ > > (You should get a build from a mozilla-1.9.2 folder after 2009-08-13, > mozilla-central before that. There's a doc about this - > http://quality.mozilla.org/documents-home/bugs-docs/bug-triaging-guidelines/finding-regression-windows > , feel free to e-mail me with questions if you have any.) I've adjusted severity based on comment 0, sounds like temporary UI freeze, not permanent hang. But please adjust if that is not correct.
Severity: critical → major
Keywords: hangperf
Summary: Printing hang and failure when offline network printers exist in printers menu. → Printing hang and failure when offline network printers exist in printers menu. "unresponsive script" warning NetworkPrioritizer.jsm
Blocks: 521204
Closing this out due to inactivity. Feel free to reopen the bug if it still reproduces, though.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.