Closed
Bug 898929
Opened 11 years ago
Closed 11 years ago
"ASSERTION: Must have temporary surface to move pixels!"
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: jruderman, Assigned: nrc)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files, 1 obsolete file)
###!!! ASSERTION: Must have temporary surface to move pixels!: 'tmp', file /home/jruderman/mozilla-central/gfx/thebes/gfxASurface.cpp, line 526 Linux only? Doesn't seem to happen on Mac.
Reporter | ||
Updated•11 years ago
|
Blocks: randomstyles
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
I could only repro this once and couldn't catch it in a debugger. But I'm guessing the issue is simply that we are requesting a really wide surface (400*the max width) and that is bigger than something along the line can handle. These limits are different on different platforms, so would explain why it doesn't assert on Mac (or Windows, I tested there). Given that we sometimes expect CreateSimilarSurface to fail, and after the assert we return on a bad result (so we never crash on opt builds). I don't think we should worry about this. We could change the assert to a warning, I guess.
Reporter | ||
Comment 4•11 years ago
|
||
Downgrading the assertion to a warning sounds reasonable.
Assignee | ||
Comment 5•11 years ago
|
||
Assignee: nobody → ncameron
Attachment #796446 -
Flags: review?(roc)
Comment on attachment 796446 [details] [diff] [review] patch this patch is empty
Attachment #796446 -
Flags: review?(roc) → review-
Assignee | ||
Comment 7•11 years ago
|
||
With the actual changes this time. Sorry about that.
Attachment #796446 -
Attachment is obsolete: true
Attachment #796467 -
Flags: review?(roc)
Attachment #796467 -
Flags: review?(roc) → review+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2e786cb19603
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2e786cb19603
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•