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

[bug] [v2] thread 'tokio-runtim​e-worker' panicked at wry-0.43.1\​src\​webview2\​mod.rs:​1001:​5 PostMessage failed ​; is the messages qu​eue full #11120

Closed
wonfen opened this issue Sep 25, 2024 · 2 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@wonfen
Copy link

wonfen commented Sep 25, 2024

Describe the bug

Here is the detailed stack trace log.

Reproduction

when calling appwindow.close()

Expected behavior

No response

Full tauri info output

thread 'tokio-runtim​e-worker' panicked a​t C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​wry-0.43.1\​src\​webview2\​mod.rs:​1001:​5:​PostMessage failed ​; is the messages qu​eue full? stack back​trace:​

Stack trace

0:​ std::​backtrace_​rs::​backtrace::​dbghelp64::​trace a​t /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​..\​..\​backtrace\​src\​backtrace\​dbghelp64.rs:​91 
1:​ std::​backtrace_​rs::​backtrace::​trace_​unsynchronized​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​..\​..\​backtrace\​src\​backtrace\​mod.rs:​66 
2:​ std::​backtrace::​Backtrace::​create​at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​backtrace.rs:​331 
3:​ std::​backtrace::​Backtrace::​capture​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​backtrace.rs:​296 
4:​ app_​lib::​utils::​error::​redirect_​panic_​to_​log::​closure$0​ at .\​src\​utils\​error.rs:​27 
5:​ alloc::​boxed::​impl$50::​call at​ /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​alloc\​src\​boxed.rs:​2084 
6:​ std::​panicking::​rust_​panic_​with_​hook at​ /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​panicking.rs:​808 
7:​ std::​panicking::​begin_​panic_​handler::​closure$0​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​panicking.rs:​667 
8:​ std::​sys::​backtrace::__​rust_​end_​short_​backtrace<std::​panicking::​begin_​panic_​handler::​closure_​env$0,never$>​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​sys\​backtrace.rs:​168 
9:​ std::​panicking::​begin_​panic_​handler​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​panicking.rs:​665 
10:​ core::​panicking::​panic_​fmt at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​core\​src\​panicking.rs:​74 
11:​ wry::​webview2::​InnerW​ebV​iew::​dispatch_​handler<wry::​webview2::​impl$3::​attach_​custom_​protocol_​handler::​closure$0::​closure$1::​closure_​env$0>​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​wry-0.43.1\​src\​webview2\​mod.rs:​1001 
12:​ wry::​webview2::​impl$3::​attach_​custom_​protocol_​handler::​closure$0::​closure$1​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​wry-0.43.1\​src\​webview2\​mod.rs:​861 
13:​ core::​ops::​function::​FnO​nce::​call_​once<wry::​webview2::​impl$3::​attach_​custom_​protocol_​handler::​closure$0::​closure_​env$1,tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> > > a​t /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​ops\​function.rs:​250 
14:​ alloc::​boxed::​impl$48::​call_​once<tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> >,dyn$<core::​ops::​function::​FnO​nce<tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> >,assoc$<Output,tu​ple$<> > > >,alloc​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​alloc\​src\​boxed.rs:​2070 
15:​ wry::​RequestAsyncResponde​r::​respond<enum2$<alloc​::​borrow::​Cow<slice2$<u8> > > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​wry-0.43.1\​src\​lib.rs:​291 
16:​ tauri_​runtime_​wry::​create_​webview::​closure$5::​closure$0<enum2$<tau​ri::​EventLoopMessage> >​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-runtime-wry-2.​0.0-rc.10\​src\​lib.rs:​4090 
17:​ core::​ops::​function::​FnO​nce::​call_​once<tauri_​runtime_​wry::​create_​webview::​closure$5::​closure_​env$0<enum2$<tauri::​EventLoopMessage> >,​tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> > > a​t /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​ops\​function.rs:​250 
18:​ alloc::​boxed::​impl$48::​call_​once<tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> >,dyn$<core::​ops::​function::​FnO​nce<tuple$<http::​response::​Response<enum2$<allo​c::​borrow::​Cow<slice2$<u8> > > ​> >,assoc$<Output,tu​ple$<> > >,core::​m at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​alloc\​src\​boxed.rs:​2070 
19:​ tauri::​app::​UriS​chemeR​esponder::​respond<enum2$<alloc​::​borrow::​Cow<slice2$<u8> > > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​app.rs:​1971 
20:​ tauri::​ipc::​protocol::​get::​closure$0::​closure$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​ipc\​protocol.rs:​59 
21:​ tauri::​ipc::​protocol::​get::​closure$0::​closure$1<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​ipc\​protocol.rs:​142 
22:​ core::​ops::​function::​FnO​nce::​call_​once<tauri::​ipc::​protocol::​get::​closure$0::​closure_​env$1<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,tuple$<tauri::​webview::​Webview<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,alloc::​string::​S at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​ops\​function.rs:​250 
23:​ alloc::​boxed::​impl$48::​call_​once<tuple$<tauri::​webview::​Webview<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,alloc::​string::​String,enum2$<tauri::​ipc::​InvokeResponse>,taur​i::​ipc::​CallbackF​n,tauri::​ipc::​CallbackFn>,dyn$<cor​e::​ops::​function::​FnO at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​alloc\​src\​boxed.rs:​2070 
24:​ tauri::​webview::​impl$11::​on_​message::​closure$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​webview\​mod.rs:​1151 
25:​ core::​ops::​function::​FnO​nce::​call_​once<tauri::​webview::​impl$11::​on_​message::​closure_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,tuple$<tauri::​webview::​Webview<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,alloc::​string::​St at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​ops\​function.rs:​250 
26:​ alloc::​boxed::​impl$48::​call_​once<tuple$<tauri::​webview::​Webview<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>,alloc::​string::​String,enum2$<tauri::​ipc::​InvokeResponse>,taur​i::​ipc::​CallbackF​n,tauri::​ipc::​CallbackFn>,dyn$<cor​e::​ops::​function::​FnO at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​alloc\​src\​boxed.rs:​2070 
27:​ tauri::​ipc::​InvokeResolver<tauri​_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​>::​return_​result<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> > ​> at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​ipc\​mod.rs:​446 
28:​ tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​updater::​impl$1::​build::​closure$1::​async_​block_​env$3<tauri_​runtime_​wry::​Wry<enum2$<t​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tauri-2.0.0-rc.11\​src\​ipc\​mod.rs:​341 
29:​ core::​future::​future::​impl$1::​poll<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​updater::​impl$1::​bui at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​future\​future.rs:​123 
30:​ tokio::​runtime::​task::​core::​impl$6::​poll::​closure$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​t at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​core.rs:​331 
31:​ tokio::​loom::​std::​unsafe_​cell::​UnsafeCell<enum2$<to​kio::​runtime::​task::​core::​Stage<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​in at C​:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​loom\​std\​unsafe_​cell.rs:​16 
32:​ tokio::​runtime::​task::​core::​Core<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​updater​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​core.rs:​320 
33:​ tokio::​runtime::​task::​harness::​poll_​future::​closure$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​500 
34:​ core::​panic::​unwind_​safe::​impl$25::​call_​once<enum2$<core::​task::​poll::​Poll<tuple$<> > >,to​kio::​runtime::​task::​harness::​poll_​future::​closure_​env$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​panic\​unwind_​safe.rs:​272 
35:​ std::​panicking::​try::​do_​call<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​poll_​future::​closure_​env$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wr at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​557 
36:​ std::​panic::​catch_​unwind<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​cancel_​task::​closure_​env$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<en 
37:​ std::​panicking::​try at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​521 
38:​ std::​panic::​catch_​unwind<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​poll_​future::​closure_​env$0<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<en​at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panic.rs:​350 
39:​ tokio::​runtime::​task::​harness::​poll_​future<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plug at​ C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​488 
40:​ tokio::​runtime::​task::​harness::​Harness<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​u at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​209 
41:​ tokio::​runtime::​task::​harness::​Harness<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​u at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​154 
42:​ tokio::​runtime::​task::​raw::​poll<core::​pin::​Pin<alloc::​boxed::​Box<enum2$<tauri::​ipc::​impl$20::​respond_​async_​serialized::​async_​block_​env$0<tauri_​runtime_​wry::​Wry<enum2$<tauri::​EventLoopMessage> >,​tracing::​instrument::​Instrumented<enum2$<​tauri_​plugin_​updater:​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​raw.rs:​271 
43:​ tokio::​runtime::​task::​raw::​RawT​ask::​poll at​ C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​raw.rs:​201 
44:​ tokio::​runtime::​task::​LocalN​otified<alloc::​sync::​Arc<tokio::​runtime::​scheduler::​multi_​thread::​handle::​Handle,alloc::​alloc::​Global> >::​run<alloc::​sync::​Arc<tokio::​runtime::​scheduler::​multi_​thread::​handle::​Handle,alloc::​alloc::​Global> >​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​mod.rs:​436 
45:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$1::​run_​task::​closure$0​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​598 
46:​ tokio::​runtime::​coop::​with_​budget​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​coop.rs:​107 
47:​ tokio::​runtime::​coop::​budget​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​coop.rs:​73 
48:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​Context::​run_​task at​ C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​597 
49:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​Context::​run at ​C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​560 
50:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure$0​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​513 
51:​ tokio::​runtime::​context::​scoped::​Scoped<enum2$<tokio::​runtime::​scheduler::​Context> >::​set<enum2$<tokio::​runtime::​scheduler::​Context>,tokio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure_​env$0,tuple$<> >​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​context\​scoped.rs:​40 
52:​ tokio::​runtime::​context::​set_​scheduler::​closure$0<tuple$<>,t​okio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure_​env$0>​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​context.rs:​180 
53:​ std::​thread::​local::​LocalK​ey<tokio::​runtime::​context::​Context>::​try_​with<tokio::​runtime::​context::​Context,tokio::​runtime::​context::​set_​scheduler::​closure_​env$0<tuple$<>,tokio​::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure_​env$0>,tuple$<​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​thread\​local.rs:​283 
54:​ std::​thread::​local::​LocalK​ey<tokio::​runtime::​context::​Context>::​with<tokio::​runtime::​context::​Context,tokio::​runtime::​context::​set_​scheduler::​closure_​env$0<tuple$<>,tokio​::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure_​env$0>,tuple$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​thread\​local.rs:​260 
55:​ tokio::​runtime::​context::​set_​scheduler<tuple$<>,t​okio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0::​closure_​env$0>​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​context.rs:​180 
56:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure$0​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​508 
57:​ tokio::​runtime::​context::​runtime::​enter_​runtime<tokio::​runtime::​scheduler::​multi_​thread::​worker::​run::​closure_​env$0,tuple$<> >​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​context\​runtime.rs:​65 
58:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​run at ​C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​500 
59:​ tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure$0​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​scheduler\​multi_​thread\​worker.rs:​466 
60:​ tokio::​runtime::​blocking::​task::​impl$2::​poll<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0,tuple$<> >​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​blocking\​task.rs:​42 
61:​ tokio::​runtime::​task::​core::​impl$6::​poll::​closure$0<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingSchedule>​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​core.rs:​331 
62:​ tokio::​loom::​std::​unsafe_​cell::​UnsafeCell<enum2$<to​kio::​runtime::​task::​core::​Stage<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0> > > >::​with_​mut at ​C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​loom\​std\​unsafe_​cell.rs:​16 
63:​ tokio::​runtime::​task::​core::​Core<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingS​chedule>::​poll<tokio::​runtime::​blocking::​task::​Blocki​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​core.rs:​320 
64:​ tokio::​runtime::​task::​harness::​poll_​future::​closure$0<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingSchedule>​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​500 
65:​ core::​panic::​unwind_​safe::​impl$25::​call_​once<enum2$<core::​task::​poll::​Poll<tuple$<> > >,to​kio::​runtime::​task::​harness::​poll_​future::​closure_​env$0<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​panic\​unwind_​safe.rs:​272 
66:​ std::​panicking::​try::​do_​call<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​poll_​future::​closure_​env$0<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,t​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​557 
67:​ std::​panic::​catch_​unwind<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​poll_​future::​closure_​env$1<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​fs::​file::​impl$2::​start_​seek::​closure_​env$0>,tokio::​runtime::​blocking::​schedul 
68:​ std::​panicking::​try at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​521 
69:​ std::​panic::​catch_​unwind<core::​panic::​unwind_​safe::​AssertUnwindSafe<tok​io::​runtime::​task::​harness::​poll_​future::​closure_​env$0<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panic.rs:​350 
70:​ tokio::​runtime::​task::​harness::​poll_​future<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingSchedule>​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​488 
71:​ tokio::​runtime::​task::​harness::​Harness<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingS​chedule>::​poll_​inner<tokio::​runtime::​blocking::​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​209 
72:​ tokio::​runtime::​task::​harness::​Harness<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingS​chedule>::​poll<tokio::​runtime::​blocking::​task::​at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​harness.rs:​154 
73:​ tokio::​runtime::​task::​raw::​poll<tokio::​runtime::​blocking::​task::​BlockingT​ask<tokio::​runtime::​scheduler::​multi_​thread::​worker::​impl$0::​launch::​closure_​env$0>,tokio::​runtime::​blocking::​schedule::​BlockingSchedule>​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​raw.rs:​271 
74:​ tokio::​runtime::​task::​raw::​RawT​ask::​poll at​ C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​raw.rs:​201 
75:​ tokio::​runtime::​task::​UnownedT​ask<tokio::​runtime::​blocking::​schedule::​BlockingS​chedule>::​run<tokio::​runtime::​blocking::​schedule::​BlockingSchedule>​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​task\​mod.rs:​473 
76:​ tokio::​runtime::​blocking::​pool::​Task::​run at ​C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​blocking\​pool.rs:​160 
77:​ tokio::​runtime::​blocking::​pool::​Inner::​run at ​C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​blocking\​pool.rs:​518 
78:​ tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure$0​ at C:\​Users\​33326664\​.cargo\​registry\​src\​index.crates.io-6f17​d22bba15001f\​tokio-1.40.0\​src\​runtime\​blocking\​pool.rs:​476 
79:​ core::​hint::​black_​box at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​hint.rs:​389 
80:​ std::​sys::​backtrace::__​rust_​begin_​short_​backtrace<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​sys\​backtrace.rs:​152 
81:​ std::​thread::​impl$0::​spawn_​unchecked_::​closure$1::​closure$0<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​thread\​mod.rs:​538 
82:​ core::​panic::​unwind_​safe::​impl$25::​call_​once<tuple$<>,std::​thread::​impl$0::​spawn_​unchecked_::​closure$1::​closure_​env$0<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> > >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​panic\​unwind_​safe.rs:​272 
83:​ std::​panicking::​try::​do_​call<core::​panic::​unwind_​safe::​AssertUnwindSafe<std​::​thread::​impl$0::​spawn_​unchecked_::​closure$1::​closure_​env$0<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> > >,t​uple$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​557 
84:​ tokio::​util::​rand::​rt::​RngS​eedG​enerator::​next_​generator 
85:​ std::​panicking::​try at ​/​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panicking.rs:​521 
86:​ std::​panic::​catch_​unwind​at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​panic.rs:​350 
87:​ std::​thread::​impl$0::​spawn_​unchecked_::​closure$1<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​std\​src\​thread\​mod.rs:​537 
88:​ core::​ops::​function::​FnO​nce::​call_​once<std::​thread::​impl$0::​spawn_​unchecked_::​closure_​env$1<tokio::​runtime::​blocking::​pool::​impl$6::​spawn_​thread::​closure_​env$0,tuple$<> >,tup​le$<> >​ at /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​\​library\​core\​src\​ops\​function.rs:​250 
89:​ alloc::​boxed::​impl$48::​call_​once at​ /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​alloc\​src\​boxed.rs:​2070 
90:​ alloc::​boxed::​impl$48::​call_​once at​ /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​alloc\​src\​boxed.rs:​2070 
91:​ std::​sys::​pal::​windows::​thread::​impl$0::​new::​thread_​start a​t /​rustc/​eeb90cda1969383f56a2​637cbd3037bdf598841c​/​library\​std\​src\​sys\​pal\​windows\​thread.rs:​58 
92:​ BaseThreadInitThunk​93:​ RtlUserThreadStart​

Additional context

No response

@wonfen wonfen added status: needs triage This issue needs to triage, applied to new issues type: bug labels Sep 25, 2024
@FabianLars
Copy link
Member

closing as duplicate of #10546 - thanks for the stacktrace

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
@wonfen
Copy link
Author

wonfen commented Sep 26, 2024

closing as duplicate of #10546 - thanks for the stacktrace

It happens when calling appwindow.close()

Any ideas what happend in the Stack trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants