Closed Bug 271260 Opened 20 years ago Closed 20 years ago

Crash Upon Clicking File->Print If No Printer Set Up

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 260675

People

(Reporter: markvoelker, Assigned: bugzilla)

Details

(Keywords: crash)

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

Firefox 1.0 on Linux (specifically RHEL 3.0 in my case, haven't tested other
distros) will crash immediately upon clicking File->Print if you don't have a
print queue set up.  At my workplace, we have a modified version of lpr that
selects what printer to use based on the PRINTER environmental variable, so I
have never set up a printer (using redhat-config-printer or other tool). 
Mozilla 1.7.2 doesn't seem to have any trouble with this, but Firefox 1.0
crashes immediately, every time.  If I start Firefox from an xterm, I see this
when it dies:
bash-2.05b$  /scratch/firefox/firefox
/scratch/firefox/run-mozilla.sh: line 451: 17903 Segmentation fault      "$prog"
${1+"$@"}
[1]+  Done                    /scratch/firefox/firefox
bash-2.05b$ 

Even if Firefox has some sort of problem with a modified lpr (which I don't
think should be an issue?) it should at least still bring up the print dialogue
window and allow me to print to file.


Reproducible: Always
Steps to Reproduce:
1.Run redhat-config-oprinter and delete any printers you may have set up.
2.Start Firefox 1.0 and load any webpage.
3.Click File->Print.  

Actual Results:  
Firefox crashes, leaving this on the xterm it was started from:
bash-2.05b$  /scratch/firefox/firefox
/scratch/firefox/run-mozilla.sh: line 451: 17903 Segmentation fault      "$prog"
${1+"$@"}
[1]+  Done                    /scratch/firefox/firefox
bash-2.05b$

Expected Results:  
The print dialogue box should have appeared (e.g. window allowing you to select
how many copies to print, what printer to use, print to file rather than to
printer, etc).

/scratch/firefox/run-mozilla.sh: line 451: 17903 Segmentation fault      "$prog"
${1+"$@"}
Whiteboard: DUPEME
WFM, in Novell Linux Desktop.
Keywords: crash
Firefox on debian unstable crashes. Start by export PRINTER=foo firefox and 
press print preview. 

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