-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Error info
➜ iced-demo git:(master) /Users/xyz/.vscode/extensions/vadimcn.vscode-lldb-1.11.5/adapter/codelldb terminal-agent --connect=52222
Assertion failed: (CGAtomicGet(&is_initialized)), function CGSConnectionByID, file CGSConnection.mm, line 419.
The call stack is
__pthread_kill (@__pthread_kill:6)
pthread_kill (@pthread_kill:65)
abort (@abort:40)
__assert_rtn (@err:3)
CGSConnectionByID (@CGSConnectionByID:132)
SLSRegisterConnectionNotifyProc (@SLSRegisterConnectionNotifyProc:19)
+[NSCGSStatusItem addNavigationChangedNotificationHandler:] (@+[NSCGSStatusItem addNavigationChangedNotificationHandler:]:32)
__53+[NSStatusItem _registerNotificationHandlersIfNeeded]_block_invoke (@__53+[NSStatusItem _registerNotificationHandlersIfNeeded]_block_invoke:12)
_dispatch_client_callout (@_dispatch_client_callout:8)
_dispatch_once_callout (@_dispatch_once_callout:11)
-[NSStatusItem _initWithStatusBar:length:priority:systemInsertOrder:] (@-[NSStatusItem _initWithStatusBar:length:priority:systemInsertOrder:]:27)
-[NSStatusBar _statusItemWithLength:withPriority:] (@-[NSStatusBar _statusItemWithLength:withPriority:]:22)
<(A,) as objc2::encode::EncodeArguments>::__invoke (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.2/src/encode.rs:433)
objc2::runtime::message_receiver::msg_send_primitive::send (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.2/src/runtime/message_receiver.rs:172)
objc2::runtime::message_receiver::MessageReceiver::send_message (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.2/src/runtime/message_receiver.rs:432)
<MethodFamily as objc2::__macro_helpers::msg_send_retained::MsgSend<Receiver,Return>>::send_message (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.2/src/__macro_helpers/msg_send_retained.rs:35)
objc2_app_kit::generated::__NSStatusBar::NSStatusBar::statusItemWithLength (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-0.6.2/src/macros/extern_methods.rs:238)
tray_icon::platform_impl::platform::TrayIcon::create (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tray-icon-0.21.1/src/platform_impl/macos/mod.rs:55)
tray_icon::platform_impl::platform::TrayIcon::new (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tray-icon-0.21.1/src/platform_impl/macos/mod.rs:36)
tray_icon::TrayIcon::new (/Users/xyz/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tray-icon-0.21.1/src/lib.rs:341)
iced_demo::main::{{closure}} (/Users/xyz/Desktop/iced-demo/src/main.rs:133)
iced_demo::main (/Users/xyz/Desktop/iced-demo/src/main.rs:138)
core::ops::function::FnOnce::call_once (/Users/xyz/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250)
std::sys::backtrace::__rust_begin_short_backtrace (/Users/xyz/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:152)
std::rt::lang_start::{{closure}} (/Users/xyz/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:206)
core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once (@std::rt::lang_start_internal:219)
std::panicking::catch_unwind::do_call (@std::rt::lang_start_internal:217)
std::panicking::catch_unwind (@std::rt::lang_start_internal:217)
std::panic::catch_unwind (@std::rt::lang_start_internal:217)
std::rt::lang_start_internal::{{closure}} (@std::rt::lang_start_internal:217)
std::panicking::catch_unwind::do_call (@std::rt::lang_start_internal:14)
std::panicking::catch_unwind (@std::rt::lang_start_internal:14)
std::panic::catch_unwind (@std::rt::lang_start_internal:14)
std::rt::lang_start_internal (@std::rt::lang_start_internal:14)
std::rt::lang_start (/Users/xyz/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/rt.rs:205)
main (@main:10)
start (@start:439)

Metadata
Metadata
Assignees
Labels
No labels