Closed
Bug 128120
Opened 23 years ago
Closed 23 years ago
Printing fails after first invocation
Categories
(Core :: Printing: Output, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: bugzilla-mozilla-20220926, Assigned: roland.mainz)
Details
(Keywords: smoketest)
Attachments
(1 obsolete file)
On Linux nightly -sea build 2002022708, I am only able to print once.
Subsequent attempts report "You cannot print while in print preview." even if
I've never entered print preview since starting the browser.
I've tried going into print preview mode (which has a "Print" button that
displays the same error dialog) and exiting, but the behaviour is the same.
![]() |
||
Comment 3•23 years ago
|
||
Yes, I do (build 2002-02-27-08).
Severity: normal → blocker
Keywords: smoketest
![]() |
||
Comment 4•23 years ago
|
||
This is caused by the patch for bug 127627. Backing it out fixes the problem.
Are we forgetting to decrement instance_counter somewhere?
Assignee: rods → Roland.Mainz
Comment 5•23 years ago
|
||
That's what I was wondering about (the decrement), I think the best would be to
back it out unless there is an easy fix.
Assignee | ||
Comment 6•23 years ago
|
||
The decrement for the instance counter is "done" in the destructor... just
wondering... is this maybe a duplicate of bug 121620 ("Closing TABs causes leak
of print device context") or another devicecontext leak ?
If we leak the device context (or better: all device contexts) and only use them
in the order we created them (which seems to be not the case for the PP
crashers) - then we can back out the patch for bug 127627 for now. Or better:
make the if()-checks assertions...
Assignee | ||
Comment 7•23 years ago
|
||
Accepting bug...
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Assignee | ||
Comment 8•23 years ago
|
||
Some results:
1. I can print multiple times with the Xprint module
2. I can only print once with the PostScript module (the |instance_counter| gets
never decremented)
Looks we leak something within the gfx/src/ps/ area which finally ends in
leakage of the nsDeviceContextPS object... xx@@@@!!... ;-(
Assignee | ||
Comment 9•23 years ago
|
||
Fix was sponsored by the "stop-leaking-objects"-campaign ...
:)
Comment 11•23 years ago
|
||
Comment on attachment 71875 [details] [diff] [review]
Patch for 2002-02-27-08-trunk
Yes, this is exactly it!
r=rods
Attachment #71875 -
Flags: review+
Comment 12•23 years ago
|
||
a=suresh (sheriff for thursday). Get a sr and checkin.
Comment 13•23 years ago
|
||
Comment on attachment 71875 [details] [diff] [review]
Patch for 2002-02-27-08-trunk
sr=blizzard
Get it in.
Attachment #71875 -
Flags: superreview+
Comment 14•23 years ago
|
||
Comment on attachment 71875 [details] [diff] [review]
Patch for 2002-02-27-08-trunk
checked in
Attachment #71875 -
Attachment is obsolete: true
Comment 15•23 years ago
|
||
marking fixed. Thanks Timeless.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 16•23 years ago
|
||
Peter can you print successively now ?
twalker please try printing a few times in a row in today's linux
build....
thanks.
Comment 17•23 years ago
|
||
three in a row, no problem
marking verified on linux commercial build 2002-03-01-06-trunk
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 18•23 years ago
|
||
Ditto, no problems here.
You need to log in
before you can comment on or make changes to this bug.
Description
•