Closed
Bug 226656
Opened 22 years ago
Closed 22 years ago
Crash when printing an image [@ nsPostScriptObj::colorimage ]
Categories
(Core :: Printing: Output, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jy.baudy, Unassigned)
References
()
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
|
8.44 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031029
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031029
Printing the page http://eclipse.org/articles/Article-JET2/jet_tutorial2.html
crash the browser with 1.6a and 1.5 series.
Reproducible: Always
Steps to Reproduce:
1. print
2.
3.
Actual Results:
Crash.
Expected Results:
Print the page
Comment 1•22 years ago
|
||
wfm both print preview and actual printing using 20031123 on Win2k.
Can you post Talkback ID or attach a GDB stack trace ?
Keywords: crash,
stackwanted
Comment 2•22 years ago
|
||
Comment 3•22 years ago
|
||
BTW, my stack trace is from printing PostScript-to-file.
Comment 4•22 years ago
|
||
This is the image it's crashing on:
http://eclipse.org/articles/Article-JET2/images/jetemitter.gif
Summary: Printing crash → Crash when printing an image [@ nsPostScriptObj::colorimage ]
Comment 5•22 years ago
|
||
The image in question has a logical size of 649 x 95 pixels, but a physical size
of 641 x 87 pixels. The code which copies the image pixel data into the print
job is addressing the pixel array as if it were the larger size, and eventually
running off the end of the pixel array.
Comment 6•22 years ago
|
||
Is there a way to get access to the physical size instead?
nsIImage.get{Width,Height} will return the physical size. The frame offset
is added in nsRenderingContextImpl::DrawScaledImage (pavlov: why here?).
Comment 8•22 years ago
|
||
The suggested patch in bug 225243 fixes this bug.
When Print Previewing the image, I see random pixels at the bottom and right
sides (even with the patch from bug 225243 applied)
Depends on: 225243
Comment 9•22 years ago
|
||
The patch for bug 225243 contained a fix for this bug.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Crash Signature: [@ nsPostScriptObj::colorimage ]
You need to log in
before you can comment on or make changes to this bug.
Description
•