eframe_template icon indicating copy to clipboard operation
eframe_template copied to clipboard

Strange non-unwinding panic

Open ChiefReifer opened this issue 7 months ago • 1 comments

Upon running the template in debug mode. I am getting this strange error that I havent seen before:

thread 'main' panicked at /Users/reifstanfield/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-foundation-0.2.2/src/generated/NSEnumerator.rs:7:1: invalid message send to -[TtGCs23_ContiguousArrayStorageCSo8NSScreen$ countByEnumeratingWithState:objects:count:]: expected return to have type code 'q', but found 'Q' note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

thread 'main' panicked at library/core/src/panicking.rs:218:5: panic in a function that cannot unwind stack backtrace: 0: 0x1010ca2e4 - std::backtrace_rs::backtrace::libunwind::trace::hd09570c029a6744a at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 1: 0x1010ca2e4 - std::backtrace_rs::backtrace::trace_unsynchronized::h8d2fa64833f91cb3 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 2: 0x1010ca2e4 - std::sys::backtrace::_print_fmt::h567d2a106a3b0dee at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/sys/backtrace.rs:66:9 3: 0x1010ca2e4 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h92dda645f072dcaf at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/sys/backtrace.rs:39:26 4: 0x1010e4698 - core::fmt::rt::Argument::fmt::hc0b28dad2d7b7ba8 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/fmt/rt.rs:184:76 5: 0x1010e4698 - core::fmt::write::hbc92919d8e8f9a96 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/fmt/mod.rs:1481:21 6: 0x1010c8578 - std::io::default_write_fmt::h0768ab719ca8b5cc at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/io/mod.rs:639:11 7: 0x1010c8578 - std::io::Write::write_fmt::hcee3b5dc9ab531be at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/io/mod.rs:1914:13 8: 0x1010ca198 - std::sys::backtrace::BacktraceLock::print::h0f497abce563e5d2 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/sys/backtrace.rs:42:9 9: 0x1010cb038 - std::panicking::default_hook::{{closure}}::h62595143a6c21f05 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:300:22 10: 0x1010cae88 - std::panicking::default_hook::hd800536ed1df5085 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:327:9 11: 0x1010cbb18 - std::panicking::rust_panic_with_hook::h1882a30575fbb763 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:833:13 12: 0x1010cb71c - std::panicking::begin_panic_handler::{{closure}}::h39275ef3005e6337 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:699:13 13: 0x1010ca794 - std::sys::backtrace::__rust_end_short_backtrace::h6ede323c05a76849 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/sys/backtrace.rs:168:18 14: 0x1010cb3ec - __rustc[95feac21a9532783]::rust_begin_unwind at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:697:5 15: 0x10110ea1c - core::panicking::panic_nounwind_fmt::runtime::hcbc23776d9f6f115 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/panicking.rs:117:22 16: 0x10110ea1c - core::panicking::panic_nounwind_fmt::hae736249e48cf020 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/intrinsics/mod.rs:3241:9 17: 0x10110ea94 - core::panicking::panic_nounwind::hb89b2a5de4429251 at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/panicking.rs:218:5 18: 0x10110ec38 - core::panicking::panic_cannot_unwind::h620b5c02cb97e1cc at /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/panicking.rs:323:5 19: 0x100dd169c - winit::platform_impl::macos::app_state::ApplicationDelegate::app_did_finish_launching::h9267dff364e1144b at /Users/reifstanfield/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.5.2/src/macros/declare_class.rs:981:25 20: 0x18d670524 - 21: 0x18d6d8fbc - 22: 0x18d6d8f00 - 23: 0x18d64ed94 - 24: 0x18f7f26ec - 25: 0x191a07010 - 26: 0x191a06dc0 - 27: 0x191f22200 - 28: 0x191f25a78 - 29: 0x18f7406ac - 30: 0x18edd4708 - thread caused non-unwinding panic. aborting. [1] 38984 abort cargo run

I'm wondering if anyone has seen this or knows some recourse.

ChiefReifer avatar Jun 24 '25 01:06 ChiefReifer

idk if it's the same but it looks like it... here's my output

thread 'main' panicked at /Users/safeshows/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-foundation-0.2.2/src/generated/NSEnumerator.rs:7:1: invalid message send to -[TtGCs23_ContiguousArrayStorageCSo8NSScreen$ countByEnumeratingWithState:objects:count:]: expected return to have type code 'q', but found 'Q' note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

thread 'main' panicked at library/core/src/panicking.rs:218:5: panic in a function that cannot unwind stack backtrace: 0: 0x102e52bd8 - std::backtrace_rs::backtrace::libunwind::trace::h7f51f64da084d564 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0x102e52bd8 - std::backtrace_rs::backtrace::trace_unsynchronized::h0c7f623a469276df at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x102e52bd8 - std::sys::backtrace::_print_fmt::hd4ebb49eee8ba9e9 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/backtrace.rs:66:9 3: 0x102e52bd8 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4b01b56329a0a8fc at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/backtrace.rs:39:26 4: 0x102e6dfa4 - core::fmt::rt::Argument::fmt::h06e9a80dc1e58715 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/fmt/rt.rs:177:76 5: 0x102e6dfa4 - core::fmt::write::h5ac783d2f16cae69 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/fmt/mod.rs:1440:21 6: 0x102e50808 - std::io::Write::write_fmt::h740ae8bf4425e1f4 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/io/mod.rs:1887:15 7: 0x102e52a8c - std::sys::backtrace::BacktraceLock::print::h822ac0a1da741b33 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/backtrace.rs:42:9 8: 0x102e53a24 - std::panicking::default_hook::{{closure}}::h182e34e1427a763f at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/panicking.rs:295:22 9: 0x102e53818 - std::panicking::default_hook::hf3c673ab0d652139 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/panicking.rs:322:9 10: 0x102e54370 - std::panicking::rust_panic_with_hook::ha68643d4311595e9 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/panicking.rs:828:13 11: 0x102e53ef0 - std::panicking::begin_panic_handler::{{closure}}::h0edcf2e5c8ce9186 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/panicking.rs:694:13 12: 0x102e53098 - std::sys::backtrace::__rust_end_short_backtrace::h25049b070cf1a527 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/backtrace.rs:168:18 13: 0x102e53bd0 - rust_begin_unwind at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/panicking.rs:692:5 14: 0x102e92f5c - core::panicking::panic_nounwind_fmt::runtime::ha88e14870ff6907a at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/panicking.rs:117:22 15: 0x102e92f5c - core::panicking::panic_nounwind_fmt::h930012317ee5fbe3 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/intrinsics/mod.rs:3869:9 16: 0x102e92fd4 - core::panicking::panic_nounwind::h072d1e65f18d6201 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/panicking.rs:218:5 17: 0x102e9314c - core::panicking::panic_cannot_unwind::h14da2d2699e88696 at /rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/core/src/panicking.rs:307:5 18: 0x102cff51c - winit::platform_impl::macos::app_state::ApplicationDelegate::app_did_finish_launching::hdea587c946bfb847 at /Users/safeshows/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.5.2/src/macros/declare_class.rs:981:25 19: 0x19a3b8574 - 20: 0x19a4210c4 - 21: 0x19a421008 - 22: 0x19a39708c - 23: 0x19c598570 - 24: 0x19e7abf1c - 25: 0x19e7abccc - 26: 0x19ed0ebf8 - 27: 0x19ed123fc - 28: 0x19c4e646c - 29: 0x19bbb9638 - thread caused non-unwinding panic. aborting.

SafeShows avatar Sep 12 '25 13:09 SafeShows