serenity icon indicating copy to clipboard operation
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

Open Lubrsi opened this issue 1 year ago • 1 comments

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]

Lubrsi avatar Oct 26 '23 18:10 Lubrsi

Cannot reproduce as puzzles do not load (stuck at "Contacting matchfinding server...")

MacDue avatar Nov 12 '23 16:11 MacDue

image

Seems to be working now... Possibly fixed in #23618 (which changed how close_all_subpaths() is implemented).

MacDue avatar Mar 19 '24 12:03 MacDue