Comment #94 on issue 10419 by
drago...@google.com: Implement Path rendering and stroking with GPU tessellation shaders
https://bugs.chromium.org/p/skia/issues/detail?id=10419#c94I have bisected a crash in my Flutter application to
https://skia-review.googlesource.com/c/skia/+/345759 and confirmed that setting disableTessellationPathRenderer to true causes the crash to go away. The relevant bit of the stack trace is:
WARNING: failed to attach a stencil buffer. Rendering will be skipped.
third_party/skia/HEAD/src/gpu/GrDrawingManager.cpp:361: fatal error: "assert(fTokenTracker.nextDrawToken() == fTokenTracker.nextTokenToFlush())"
@ 0x10428a1c5 GrDrawingManager::executeRenderTasks()::$_9::operator()()
@ 0x104289eac GrDrawingManager::executeRenderTasks()
@ 0x1042892e9 GrDrawingManager::flush()
@ 0x10428a669 GrDrawingManager::flushSurfaces()
@ 0x104276deb GrDirectContext::flush()
@ 0x10382bd2f GrDirectContext::flushAndSubmit()
@ 0x1040b5521 SkCanvas::onFlush()
@ 0x1040b54fa SkCanvas::flush()
@ 0x1038af2b8 flutter::(anonymous namespace)::DrawSnapshot()
@ 0x1038cbb02 flutter::Rasterizer::DoMakeRasterSnapshot()::$_4::operator()()
This is happening on Linux and macOS. There is a target in google3 you can run which crashes at launch time because of this assert failing.