Closed Bug 279680 Opened 20 years ago Closed 20 years ago

Printing crash when PRINTER contains invalid printer name

Categories

(Core :: Printing: Output, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 260675

People

(Reporter: mvanross, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

I just discovered why Mozilla and Firefox kept crashing on printing, and print
preview.
This happens when the env. var. PRINTER is set to a non-existing printer (an old
one in my case)

So in a way the bug is solved, but a more elegant warning would be nice. I'm not
sure with library takes care of this,

Reproducible: Always

Steps to Reproduce:
1. setenv PRINTER  notaprinter  (in csh)
2. start mozilla/firefox. 
3. print preview
3. crash




The solution is easy 
unsetenv PRINTER
does the trick.
Summary: Printing crash when PRINTER → Printing crash when PRINTER is undefined
Whiteboard: DUPEME CUPS
Mark, what printer do you have mozilla (firefox, whatever) set to? In other
words, when you open the print dialog (select File->Print), what is listed in
the "Printer name" selector?
Summary: Printing crash when PRINTER is undefined → Printing crash when PRINTER contains invalid printer name
My printer is set to "Postscript/lp0"

I use cups (1.1.20 ?).
Is it the same as bug271260 ?
I think that it is dup to bug260675 if so. 

*** This bug has been marked as a duplicate of 260675 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME CUPS
You need to log in before you can comment on or make changes to this bug.