Skip to content

Kurbo capacity overflow with Offset Path node #3288

@timon-schelling

Description

@timon-schelling

To reproduce take this artwork

https://gist.github.com/timon-schelling/9be36b2d76010c94aed0f7169110b5a6

and add offset path like in the video

2025-10-15.10-37-00.mp4

Editor crashes

Crash in web:

panicked at /var/lib/github-actions/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/kurbo-0.11.3/src/bezpath.rs:218:16:
capacity overflow

Wp/<@https://dev.graphite.rs/assets/index-D7AV1-LH.js:988:1384
w@https://dev.graphite.rs/assets/index-D7AV1-LH.js:970:74414
handleJsMessage@https://dev.graphite.rs/assets/index-D7AV1-LH.js:970:74562
yp/e<@https://dev.graphite.rs/assets/index-D7AV1-LH.js:970:74986
ep/o.wbg.__wbg_call_833bed5770ea2041/<@https://dev.graphite.rs/assets/index-D7AV1-LH.js:970:14910
Ke@https://dev.graphite.rs/assets/index-D7AV1-LH.js:969:6188
ep/o.wbg.__wbg_call_833bed5770ea2041@https://dev.graphite.rs/assets/index-D7AV1-LH.js:970:14880
graphite_wasm.wasm._ZN13graphite_wasm10editor_api12EditorHandle27send_frontend_message_to_js17h6b27ffe527a088afE@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[811]:0x44258c
graphite_wasm.wasm._ZN4core3ops8function2Fn4call17h3561e79a900b6a95E@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[19363]:0xec1982
graphite_wasm.wasm._ZN3std9panicking20rust_panic_with_hook17he3dc6abfb01fb415E@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[10803]:0xd9cd9b
graphite_wasm.wasm._ZN4core9panicking9panic_fmt17h808dbde205a89691E@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[15197]:0xe3c9a3
graphite_wasm.wasm._ZN5alloc7raw_vec12handle_error17h841edd28c2df25a2E@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[15773]:0xe44ab1
graphite_wasm.wasm._ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$8grow_one17hafa0a8c84f7f7e01E@https://dev.graphite.rs/assets/graphite_wasm_bg-BL700cnB.wasm:wasm-function[9936]:0xd68bc3
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashA panic which crashed the editor

    Type

    Projects

    Status

    Completed This Milestone

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions