serenity
serenity copied to clipboard
LibWeb/LibGfx: start_of_subpath.has_value() assertion failure in Gfx::Path::close_all_subpaths() when loading puzzle on jigsawpuzzles.io
When loading a puzzle on jigsawpuzzles.io, it crashes with:
VERIFICATION FAILED: start_of_subpath.has_value() at /home/lukew/Desktop/serenity-project/serenity/Userland/Libraries/LibGfx/Path.cpp:201
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-core.so.0(ak_verification_failed+0xef) [0x7fd2a29c80cf]
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-gfx.so.0 Gfx::Path::close_all_subpaths() 0x23d) [0x7fd2a2bd9dad]
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-web.so.0 Web::HTML::CanvasRenderingContext2D::clip_internal(Gfx::Path&, Gfx::Painter::WindingRule) 0x1e) [0x7fd2a39ea2be]
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-web.so.0 Web::HTML::CanvasRenderingContext2D::clip(AK::StringView) 0x8f) [0x7fd2a39ea79f]
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-web.so.0 Web::Bindings::CanvasRenderingContext2DPrototype::clip0(JS::VM&) 0x1da) [0x7fd2a3e8632a]
/home/lukew/Desktop/serenity-project/serenity/Build/lagom/lib/liblagom-web.so.0 Web::Bindings::CanvasRenderingContext2DPrototype::clip(JS::VM&) 0x77e) [0x7fd2a3e7bfae]
Cannot reproduce as puzzles do not load (stuck at "Contacting matchfinding server...")
Seems to be working now... Possibly fixed in #23618 (which changed how close_all_subpaths()
is implemented).