panic with add with overflow when converting with vtracer · Issue #11 · visioncortex/visioncortex · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color.rs:251:9:
attempt to add with overflow
stack backtrace:
0: rust_begin_unwind
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5
1: core::panicking::panic_fmt
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14
2: core::panicking::panic_const::panic_const_add_overflow
at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:178:21
3: visioncortex::color::ColorSum::merge
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color.rs:251:9
4: visioncortex::color_clusters::builder::BuilderImpl::combine_clusters
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:532:9
5: visioncortex::color_clusters::builder::BuilderImpl::combine_clusters_clone
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:516:9
6: visioncortex::color_clusters::builder::BuilderImpl::merge_cluster_into
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:498:13
7: visioncortex::color_clusters::builder::BuilderImpl::stage_2
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:470:13
8: visioncortex::color_clusters::builder::BuilderImpl::tick
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:217:24
9: visioncortex::color_clusters::builder::Builder::run
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/builder.rs:92:16
10: visioncortex::color_clusters::runner::Runner::run
at /Users/gbaranski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/visioncortex-0.8.8/src/color_clusters/runner.rs:105:9
11: vtracer::converter::color_image_to_svg
at ./src/converter.rs:138:24
12: vtracer::converter::convert
at ./src/converter.rs:19:29
13: vtracer::converter::convert_image_to_svg
at ./src/converter.rs:31:15
14: vtracer::main
at ./src/main.rs:273:18
15: core::ops::function::FnOnce::call_once
at /Users/gbaranski/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Commit: efa4351b2c4392584a7856628a13d0dfeb133967
How to reproduce?
$ git clone https://github.com/visioncortex/visioncortex.git
$ cd vtracer
$ cargo run -- --input angel-luciano-LATYeZyw88c-unsplash.jpg --output out.svg
The text was updated successfully, but these errors were encountered:
Hey!
I've found an issue, that I can reproduce both in the CLI, and on the website: https://www.visioncortex.org/vtracer.
When I upload the image attached from https://unsplash.com/photos/medium-short-coated-white-dog-lying-on-green-grass-field-LATYeZyw88c it crashes due to
attempt to add with overflow
.Full logs:
Commit: efa4351b2c4392584a7856628a13d0dfeb133967
How to reproduce?
The text was updated successfully, but these errors were encountered: