Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: panicked at 'assertion failed: num_segments > 0' #3

Open
ErnWong opened this issue Nov 28, 2022 · 0 comments
Open

Crash: panicked at 'assertion failed: num_segments > 0' #3

ErnWong opened this issue Nov 28, 2022 · 0 comments

Comments

@ErnWong
Copy link
Owner

ErnWong commented Nov 28, 2022

wasm.js:437 panicked at 'assertion failed: num_segments > 0', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/lyon_tessellation-0.16.2/src/stroke.rs:1027:9

Stack:

Error
    at imports.wbg.__wbg_new_59cb74e423758ede (https://ernestwong.nz/dango-tribute/client/target/wasm.js:443:19)
    at console_error_panic_hook::Error::new::h799f20735cac74b5 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[104024]:0x1bc1f1f)
    at console_error_panic_hook::hook_impl::hfe98f285576b7df7 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[13912]:0xf66d55)
    at console_error_panic_hook::hook::h024505b23e1898e2 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[115166]:0x1c5cc4b)
    at core::ops::function::Fn::call::h5de70dd740a33179 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[97893]:0x1b61edb)
    at std::panicking::rust_panic_with_hook::h894f2bdeea4d0ce8 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[31806]:0x14481ad)
    at std::panicking::begin_panic_handler::{{closure}}::he30feeb51ae9f99b (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[44794]:0x1676051)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h83a4032c6b997446 (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[120244]:0x1c9c24d)
    at rust_begin_unwind (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[109028]:0x1c0a738)
    at core::panicking::panic_fmt::h0dfe153eb0ef456a (https://ernestwong.nz/dango-tribute/client/target/wasm_bg.wasm:wasm-function[120246]:0x1c9c2b3)


imports.wbg.__wbg_error_4bb6c2a97407129a @ wasm.js:437
wasm_bg.wasm:0x1d1e900 Uncaught RuntimeError: unreachable
    at __rust_start_panic (wasm_bg.wasm:0x1d1e900)
    at rust_panic (wasm_bg.wasm:0x1ccc83d)
    at std::panicking::rust_panic_with_hook::h894f2bdeea4d0ce8 (wasm_bg.wasm:0x14481d3)
    at std::panicking::begin_panic_handler::{{closure}}::he30feeb51ae9f99b (wasm_bg.wasm:0x1676051)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h83a4032c6b997446 (wasm_bg.wasm:0x1c9c24d)
    at rust_begin_unwind (wasm_bg.wasm:0x1c0a738)
    at core::panicking::panic_fmt::h0dfe153eb0ef456a (wasm_bg.wasm:0x1c9c2b3)
    at core::panicking::panic::ha2f229d777a180c9 (wasm_bg.wasm:0x1b4a750)
    at lyon_tessellation::stroke::StrokeBuilder::tessellate_round_join::h374f8ac4bab2ff0d (wasm_bg.wasm:0x56e6dd)
    at lyon_tessellation::stroke::StrokeBuilder::tessellate_join::h6ed00a53e24f1c48 (wasm_bg.wasm:0x376f34)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant