Closed
Bug 1442037
Opened 7 years ago
Closed 7 years ago
Intermittent image/test/mochitest/test_discardFramesAnimatedImage.html | application crashed [@ mozilla::image::DecoderFactory::CloneAnimationDecoder]
Categories
(Core :: Graphics: ImageLib, defect, P5)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox58 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: aosmond)
References
Details
(Keywords: crash, intermittent-failure, Whiteboard: [gfx-noted])
Crash Data
Attachments
(1 file)
1.96 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
Updated•7 years ago
|
Flags: needinfo?(aosmond)
Assignee | ||
Comment 1•7 years ago
|
||
> [task 2018-02-28T20:00:21.607Z] 20:00:21 INFO - 02-28 12:00:04.660 F/MOZ_Assert( 804): Assertion failure: aDecoder->HasAnimation(), at /builds/worker/workspace/build/src/image/DecoderFactory.cpp:232
I've convinced myself it is the assert that is the problem, rather than being indicative of a problem.
Possible sequence of events:
1) Metadata decode determines it is an animated image.
2) We create an AnimationSurfaceProvider and decode enough frames to go over the discard threshold.
3a) We reset the animation, and clone a new decoder. A task is waiting in the decoding task queue.
OR
3b) Decoding finishes and we clone new decoder. We don't need any more frames at this moment, so we stop decoding and wait for the animation to progress to redecode.
4) Before the decoder gets a chance to run, we reset the animation again. The decoder hasn't produced any metadata and we trip the assert.
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Depends on: 523950
Flags: needinfo?(aosmond)
Whiteboard: [gfx-noted]
Assignee | ||
Comment 2•7 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad585b69ae77b4ff6f6322ce66c0cd2cf49763a0
Attachment #8955124 -
Flags: review?(tnikkel)
Updated•7 years ago
|
Attachment #8955124 -
Flags: review?(tnikkel) → review+
Pushed by aosmond@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3a5462439ead
Fix an incorrect assert in DecoderFactory::CloneAnimationDecoder. r=tnikkel
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•7 years ago
|
Blocks: 523950
status-firefox58:
--- → unaffected
status-firefox59:
--- → unaffected
status-firefox-esr52:
--- → unaffected
No longer depends on: 523950
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•