Closed
Bug 1242811
Opened 8 years ago
Closed 7 years ago
GrBatchAtlas.cpp:243: failed assertion "!plot->unique()"
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
On shutdown: gfx/skia/skia/src/gpu/GrBatchAtlas.cpp:243: failed assertion "!plot->unique()"
Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
I was not able to reproduce this at all. I tried loading the test case then shutting down Firefox in various ways. It all worked fine.
Comment 3•8 years ago
|
||
While I couldn't manage to reproduce this one, at least it would be a good idea to force the GrContext to discard any remaining unprocessed batched draws. This way we avoid the GrContext trying to draw things during the shutdown process for whatever reason, which could only lead to nothing good.
Comment 4•8 years ago
|
||
Comment on attachment 8712773 [details] [diff] [review] discard partial draws before destroying GrContext Review of attachment 8712773 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/gl/SkiaGLGlue.cpp @@ +942,5 @@ > * through it, uses mGLContext > */ > + if (mGrContext) { > + // Discard any partial draws as deleting the GrContext will implicitly flush them. > + mGrContext->flush(GrContext::kDiscard_FlushBit); Is discarding the right thing to do? What if we have a snapshot? What makes sure it gets these deferred updates?
Comment 5•8 years ago
|
||
(In reply to Jesse Ruderman from comment #0) > Created attachment 8711967 [details] > testcase Can you reproduce in rr?
Flags: needinfo?(jruderman)
Comment 6•8 years ago
|
||
Comment on attachment 8712773 [details] [diff] [review] discard partial draws before destroying GrContext Review of attachment 8712773 [details] [diff] [review]: ----------------------------------------------------------------- I'm going to r- for now until we better understand what's happening here.
Attachment #8712773 -
Flags: review?(jmuizelaar) → review-
Comment 7•7 years ago
|
||
This no longer reproduces on trunk.
Assignee: lsalzman → nobody
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox47:
affected → ---
Flags: needinfo?(jruderman) → in-testsuite+
Resolution: --- → WORKSFORME
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fbad23d9e737 Add crashtest. r=me
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fbad23d9e737
You need to log in
before you can comment on or make changes to this bug.
Description
•