Closed
Bug 196306
Opened 22 years ago
Closed 18 years ago
[ps] Mozilla goes into a loop when trying to print (even to a file)
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: gjones5555, Assigned: blizzard)
Details
(Keywords: hang)
Attachments
(4 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030306
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030306
Open File/Print. Select print to file. Enter file name and hit print. Mozilla
goes into an infinite loop and hangs.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Expected Results:
Printed the page to a file
Comment 1•22 years ago
|
||
does this happen with every page? is the printer listed as "Postscript/default"?
Keywords: hang
Reporter | ||
Comment 2•22 years ago
|
||
The Printer is Postscript default. I select the file button and print to the
default file (mozilla.ps). Mozilla prints out a partial file and goes into
what
appears an infinite loop. I recompiled the 1_3_Branch with --disable-xprint
and
it made no difference. FWI (gtk1, gcc-3.2.2, glibc-2.2.5 using the LFS patches)
Right now, if I want to print the page, I save it to html, and then open it in
OpenOffice to print it. (The latest snap OpenOffice 644_m4).
It appears that Mozilla is getting to a certain point in converting the page to
postscript and then the problem shows up.
Comment 3•22 years ago
|
||
if you are building Mozilla yourself, can you grab a stracktrace with gdb (be
sure not to compile with --enable-strip)?
Reporter | ||
Comment 4•22 years ago
|
||
I downloaded the 1.3b seamonkey binary and it worked fine. This is my problem.
Hopefully a recompile of the 1_3_Branch without the extra tweaks will resolve this.
Regards,
Reporter | ||
Comment 5•22 years ago
|
||
I have something wrong with my build scripts. The recompile now works.
Sorry for the trouble.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•22 years ago
|
||
FIXED is reserved for bugs fixed by code patches
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 7•22 years ago
|
||
this is WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → WORKSFORME
Comment 8•22 years ago
|
||
Reporter:
Does printing work when you print using Mozilla's Xprint module (which means you
do not have to build with --disable-xprint before trying that out...) ?
Summary: Mozilla goes into a loop when trying to print (even to a file) → [ps] Mozilla goes into a loop when trying to print (even to a file)
Reporter | ||
Comment 9•22 years ago
|
||
If in .mozilla, I reverse this patch in user.js with
user_pref("font.FreeType2.enable", false)
user_pref("font.FreeType2.unhinted", true)
then there is no problem printing to a file.
Reporter | ||
Comment 10•22 years ago
|
||
Roland,
Finally got around to getting the Xprint server up and running. Very nice.
The bad.patch doesn't seem to affect the 1_3_Branch and Xprint. The page was
written to file prefectly.
Greg
Reporter | ||
Comment 11•22 years ago
|
||
Mozilla 1_3_Branch && these preferences are set as shown:
pref("font.FreeType2.enable", false)
pref("font.FreeType2.unhinted", true)
Mozilla will print to a file prefectly if an "xprint" printer is selected.
If the "PostScript/Default" printer is selected, Mozilla goes into the infinite
loop when printing to a file.
Regards,
Reporter | ||
Comment 12•22 years ago
|
||
This looks like a legitimate bug now.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 13•22 years ago
|
||
I added these two prefs:
user_pref("font.FreeType2.enable", true);
user_pref("font.FreeType2.unhinted",false);
but I still could not reproduce the hang. Is it any particular page that causes
problems?
Reporter | ||
Comment 14•22 years ago
|
||
This is built with gcc-3.2, glibc-2.2.5, gnome 2.2.
Could it be something to do with --enable-xft?
Comment 15•22 years ago
|
||
worksforme with Xft/CVS build.
greg: if you still have the build directory, can you run from there (libs there
shouldn't be stripped) and grab a stacktrace with gdb?
Comment 16•22 years ago
|
||
my Xft/CVS build crashed on shutdown after trying to print, but gdb seems
worthless (the stack is just a bunch of ??), even if I attach gdb before the crash.
But I also have the stack walker code active, and it gave an almost as worthless
stack, but at least gave me lib names which included libgfx_gtk and libxpcom, so
my guess would be that xft/gtk2 was trying to shutdown and crashed.
==> blizzard
Assignee: printing → blizzard
Comment 17•22 years ago
|
||
less optimization made gdb happy.
it seems to be freeing FreeType stuff, but I have no problems with a
non-gtk2/xft build.
Comment 18•22 years ago
|
||
valgrind basically claims that |face| at nsFreeType.cpp:950 is an uninitialized
pointer (Address 0x46430D54 is not stack'd, malloc'd or free'd)
I'm a bit suspicious that I'm seeing the same crash as greg, but everything is
the same except for the timing.
Comment 19•18 years ago
|
||
greg writes: "Not [seen] for a while!" so closing WFM.
Please reopen if you still see this or believe it is not gone.
QA Contact: sujay → printing
Comment 20•18 years ago
|
||
[wrong click - sorry for bugspam]
Status: NEW → RESOLVED
Closed: 22 years ago → 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•