Closed
Bug 529732
Opened 16 years ago
Closed 16 years ago
###!!! ABORT: Decoded but frame not available?: '!mDecoded', file /builds/moz2_slave/mozilla-central-linux-debug/build/modules/libpr0n/src/imgContainer.cpp, line 2362
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
People
(Reporter: roc, Assigned: joe)
Details
Attachments
(1 file)
|
1.63 KB,
patch
|
jrmuizel
:
review+
bholley
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•16 years ago
|
||
Disabled the tests temporarily:
http://hg.mozilla.org/mozilla-central/rev/72e61f2a524f
| Assignee | ||
Comment 2•16 years ago
|
||
Asserting that Get(Current)DrawableImgFrame() must always return non-null is bogus, and we shouldn't do that.
Assignee: nobody → joe
Attachment #413272 -
Flags: review?(jmuizelaar)
Attachment #413272 -
Flags: review?(bobbyholley)
Comment 3•16 years ago
|
||
Comment on attachment 413272 [details] [diff] [review]
remove bogus NS_ABORT_IF_FALSE, re-enable tests
I don't really have any idea what the implications of this are, but it seems like this is better to have in the tree than not. Still, it would be nice to hear what went wrong here.
Attachment #413272 -
Flags: review?(jmuizelaar) → review+
| Assignee | ||
Comment 4•16 years ago
|
||
I answered this in real life, but for posterity:
The whole point of GetDrawableImgFrame and friends is that it can return null in the case that we failed to create a drawable image frame from a paletted frame. Before bug 523528, we would just try to draw a paletted image frame and crash.
Now, we notice when we fail to create an imgFrame because new returned null or imgFrame::Init() returned an error. (Init returns an error when we're low on virtual memory - see nsIMemory - or when the image's size is too large.) In those cases, GetDrawableImgFrame returns null, instead of returning a paletted image frame that crashes when we call Draw() on it.
| Assignee | ||
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Comment 6•16 years ago
|
||
Comment on attachment 413272 [details] [diff] [review]
remove bogus NS_ABORT_IF_FALSE, re-enable tests
Comment below the removed line is now slightly inaccurate, but w/e. r+
Attachment #413272 -
Flags: review?(bobbyholley) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•