bevy: Off screen window crashes App

Bevy version

0.13.2

Relevant system information

If you cannot get Bevy to build or run on your machine, please include:

cargo: cargo 1.76.0 (c84b36747 2024-01-18) os: Linux EndeavourOS (6.8.2-arch2-1) AdapterInfo: { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan } windowing: Wayland

What you did

When running any app with the default rendering plugin, placing the window offscreen causes the program to crash.

Example

use bevy::prelude::*;

fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .run();
}

What went wrong

On my system, I run hyprland, a tiling window manager for Wayland. While running an app without any real content besides the default plugin, navigating to a new workspace causes the App to crash. This shouldn’t happen and the app should continue to run without crash when it is off the currently viewed screen. I am unsure if #12875 is related, as the crash log doesn’t really look similar, but perhaps that is the case.

Additional information

Error Log ```
2024-04-05T22:34:43.881679Z  WARN log: error setting XSETTINGS; Xft options won't reload automatically    
2024-04-05T22:34:43.895046Z  INFO bevy_winit::system: Creating new window "App" (0v1)
2024-04-05T22:34:43.895247Z  INFO log: Guessed window scale factor: 1.0833333333333333    
2024-04-05T22:34:44.023554Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
2024-04-05T22:34:44.198100Z  WARN bevy_render::view::window: Couldn't get swap chain texture. This often happens with the Nvidia 550 driver. It can be safely ignored.
thread 'Compute Task Pool (0)' panicked at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21:
Couldn't get swap chain texture, operation unrecoverable: A timeout was encountered while trying to acquire the next frame
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89c6302d3 - bevy_render::view::window::prepare_windows::h01f13462bd19bd45
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/view/window/mod.rs:362:21
17:     0x79e89c5ff7de - core::ops::function::FnMut::call_mut::h9359518015d589fd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:166:5
18:     0x79e89c5ff7de - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h9ecbf8fead9a625a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:294:13
19:     0x79e89c5ff7de - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::hd7e009688ad5a4fa
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:656:21
20:     0x79e89c5ff7de - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::h8257c478eaac64bf
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:659:17
21:     0x79e89c5ff7de - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::h3aebd1a071d6d129
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/system/function_system.rs:499:19
22:     0x79e89d304af5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}}::h6f6d4648a8a8e58b
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:534:26
23:     0x79e89d304af5 - core::ops::function::FnOnce::call_once::h98ef9d1ebed3aba5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
24:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h84533b6b7d896b7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
25:     0x79e89d304af5 - std::panicking::try::do_call::ha1bdddcebef3262f
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
26:     0x79e89d304af5 - std::panicking::try::h9189daa446635661
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
27:     0x79e89d304af5 - std::panic::catch_unwind::ha6b633411d4d6f55
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
28:     0x79e89d304af5 - bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::h257be07be8d6e4a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_ecs-0.13.2/src/schedule/executor/multi_threaded.rs:529:23
29:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hd9edb16f46b4b975
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:297:9
30:     0x79e89d304af5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h6eaa8913aab9147b
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
31:     0x79e89d304af5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h2ee4405a19f3e8a4
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
32:     0x79e89d304af5 - std::panicking::try::do_call::hd008134cd6d3ccbd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
33:     0x79e89d304af5 - std::panicking::try::h34773b786c0346e2
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
34:     0x79e89d304af5 - std::panic::catch_unwind::h562e298280e82e4e
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
35:     0x79e89d304af5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h69fd18c59a2c9384
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
36:     0x79e89d300a7e - async_executor::Executor::spawn::{{closure}}::h371d820650092d6c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
37:     0x79e89d30c6c4 - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h840a8c35ccb4f777
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
38:     0x79e89d30c6c4 - core::ops::function::FnOnce::call_once::hea37269d53fb3ee6
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
39:     0x79e89d30c6c4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf82452cfa7006b6a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
40:     0x79e89d30c6c4 - std::panicking::try::do_call::hd3078b1d21a455bf
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
41:     0x79e89d30c6c4 - std::panicking::try::ha0817f58c0aa1cea
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
42:     0x79e89d30c6c4 - std::panic::catch_unwind::h87f2200801edd172
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
43:     0x79e89d30c6c4 - async_task::raw::RawTask<F,T,S,M>::run::hc08add7dff14d650
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
44:     0x79e89d318d24 - async_task::runnable::Runnable<M>::run::h798d2b53defca3a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
45:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::{{closure}}::h63bea77f1e1502eb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
46:     0x79e89d318d24 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h41fff2e46b835a2c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
47:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::h4f576dc30fb2cfd4
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
48:     0x79e89d318d24 - futures_lite::future::block_on::{{closure}}::hd6aefe07ffae54c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
49:     0x79e89d318d24 - std::thread::local::LocalKey<T>::try_with::hb326291cddfe9f22
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
50:     0x79e89d318d24 - std::thread::local::LocalKey<T>::with::h267a0613b5738fba
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
51:     0x79e89d318d24 - futures_lite::future::block_on::h4e741f0408f64703
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
52:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3440fe6f11d6efee
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:180:37
53:     0x79e89d3154c8 - std::panicking::try::do_call::h0535be88093b4c7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
54:     0x79e89d3154c8 - std::panicking::try::h27440c427f861b4c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
55:     0x79e89d3154c8 - std::panic::catch_unwind::h34e02e96b0a2b6f5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
56:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h559a87103dad12e0
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:174:43
57:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::try_with::h1ce7a1b6a9ec67e1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
58:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::with::h08355adc34ecad6d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
59:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hae77d7efa0279da2
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:167:50
60:     0x79e89d3154c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8a24f2df7b0890d9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
61:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h046e652d3730c4e0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
62:     0x79e89d313495 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h134edfbc8b7f29c0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
63:     0x79e89d313495 - std::panicking::try::do_call::h45def883aeec3a7c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
64:     0x79e89d313495 - std::panicking::try::h9e44bb8403cff377
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
65:     0x79e89d313495 - std::panic::catch_unwind::he40cff11f1879025
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
66:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::h0cfe80353e0eeb27
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
67:     0x79e89d313495 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he7600ecd8684977d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
68:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
69:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
70:     0x79e89a7988e5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
71:     0x79e89a49755a - <unknown>
72:     0x79e89a514a3c - <unknown>
73:                0x0 - <unknown>
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'Compute Task Pool (0)' panicked at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:49:67:
called `Result::unwrap()` on an `Err` value: RecvError
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89a7dad43 - core::result::unwrap_failed::h03d8a5018196e1cd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
17:     0x79e89c53239f - core::result::Result<T,E>::unwrap::he1b602f4e04abfd4
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1073:23
18:     0x79e89c53239f - bevy_render::pipelined_rendering::RenderAppChannels::recv::{{closure}}::h6a369b73e24dc3c3
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:49:26
19:     0x79e89c53239f - bevy_render::pipelined_rendering::update_rendering::{{closure}}::{{closure}}::{{closure}}::{{closure}}::he9c6a71558016cc1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_render-0.13.2/src/pipelined_rendering.rs:185:60
20:     0x79e89c53239f - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::h2686eb2d5f6ee3c9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:297:9
21:     0x79e89c57bab5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h08921b2d76f1fb46
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
22:     0x79e89c57bab5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h6b9d16a5f6cc2b37
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
23:     0x79e89c57bab5 - std::panicking::try::do_call::h2f0c46ebccca0efa
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
24:     0x79e89c57bab5 - std::panicking::try::h7a0838e83e1cb0e2
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
25:     0x79e89c57bab5 - std::panic::catch_unwind::h25d790c76bd8cd82
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
26:     0x79e89c57bab5 - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::hf5afd8303cd0b9f3
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
27:     0x79e89c57bab5 - async_executor::Executor::spawn::{{closure}}::he07c07a84119b87a
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
28:     0x79e89c57bab5 - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::hfca61515791a221d
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
29:     0x79e89c57bab5 - core::ops::function::FnOnce::call_once::h5e4665e218c410df
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
30:     0x79e89c57bab5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8d143b7366149096
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
31:     0x79e89c57bab5 - std::panicking::try::do_call::hfd310b0cf052b4ea
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
32:     0x79e89c57bab5 - std::panicking::try::hc51ca6878ad2462c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
33:     0x79e89c458ab2 - std::panic::catch_unwind::hf64b82caa53e4824
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
34:     0x79e89c458ab2 - async_task::raw::RawTask<F,T,S,M>::run::hbe6a2db5ca582efb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
35:     0x79e89d318d24 - async_task::runnable::Runnable<M>::run::h798d2b53defca3a1
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
36:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::{{closure}}::h63bea77f1e1502eb
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
37:     0x79e89d318d24 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::h41fff2e46b835a2c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
38:     0x79e89d318d24 - async_executor::Executor::run::{{closure}}::h4f576dc30fb2cfd4
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
39:     0x79e89d318d24 - futures_lite::future::block_on::{{closure}}::hd6aefe07ffae54c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
40:     0x79e89d318d24 - std::thread::local::LocalKey<T>::try_with::hb326291cddfe9f22
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
41:     0x79e89d318d24 - std::thread::local::LocalKey<T>::with::h267a0613b5738fba
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
42:     0x79e89d318d24 - futures_lite::future::block_on::h4e741f0408f64703
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
43:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h3440fe6f11d6efee
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:180:37
44:     0x79e89d3154c8 - std::panicking::try::do_call::h0535be88093b4c7d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
45:     0x79e89d3154c8 - std::panicking::try::h27440c427f861b4c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
46:     0x79e89d3154c8 - std::panic::catch_unwind::h34e02e96b0a2b6f5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
47:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::h559a87103dad12e0
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:174:43
48:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::try_with::h1ce7a1b6a9ec67e1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:270:16
49:     0x79e89d3154c8 - std::thread::local::LocalKey<T>::with::h08355adc34ecad6d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
50:     0x79e89d3154c8 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hae77d7efa0279da2
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bevy_tasks-0.13.2/src/task_pool.rs:167:50
51:     0x79e89d3154c8 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8a24f2df7b0890d9
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:155:18
52:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h046e652d3730c4e0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:529:17
53:     0x79e89d313495 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h134edfbc8b7f29c0
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panic/unwind_safe.rs:272:9
54:     0x79e89d313495 - std::panicking::try::do_call::h45def883aeec3a7c
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:552:40
55:     0x79e89d313495 - std::panicking::try::h9e44bb8403cff377
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:516:19
56:     0x79e89d313495 - std::panic::catch_unwind::he40cff11f1879025
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panic.rs:142:14
57:     0x79e89d313495 - std::thread::Builder::spawn_unchecked_::{{closure}}::h0cfe80353e0eeb27
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/mod.rs:528:30
58:     0x79e89d313495 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he7600ecd8684977d
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/ops/function.rs:250:5
59:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h12de4fc57affb195
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
60:     0x79e89a7988e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3c619f45059d5cf1
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2015:9
61:     0x79e89a7988e5 - std::sys::unix::thread::Thread::new::thread_start::hbac657605e4b7389
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys/unix/thread.rs:108:17
62:     0x79e89a49755a - <unknown>
63:     0x79e89a514a3c - <unknown>
64:                0x0 - <unknown>
thread '<unnamed>' panicked at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:26:
cannot access a Thread Local Storage value during or after destruction: AccessError
stack backtrace:
0:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::libunwind::trace::hbee8a7973eeb6c93
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
1:     0x79e89a78b6f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8ac75eea3aa6899
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2:     0x79e89a78b6f6 - std::sys_common::backtrace::_print_fmt::hc7f3e3b5298b1083
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:68:5
3:     0x79e89a78b6f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbb235daedd7c6190
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:44:22
4:     0x79e89a7ddf40 - core::fmt::rt::Argument::fmt::h76c38a80d925a410
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/rt.rs:142:9
5:     0x79e89a7ddf40 - core::fmt::write::h3ed6aeaa977c8e45
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/fmt/mod.rs:1120:17
6:     0x79e89a77f53f - std::io::Write::write_fmt::h78b18af5775fedb5
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/io/mod.rs:1810:15
7:     0x79e89a78b4d4 - std::sys_common::backtrace::_print::h5d645a07e0fcfdbb
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:47:5
8:     0x79e89a78b4d4 - std::sys_common::backtrace::print::h85035a511aafe7a8
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:34:9
9:     0x79e89a78e267 - std::panicking::default_hook::{{closure}}::hcce8cea212785a25
10:     0x79e89a78dfc9 - std::panicking::default_hook::hf5fcb0f213fe709a
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:292:9
11:     0x79e89a78e828 - std::panicking::rust_panic_with_hook::h095fccf1dc9379ee
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:779:13
12:     0x79e89a78e702 - std::panicking::begin_panic_handler::{{closure}}::h032ba12139b353db
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:657:13
13:     0x79e89a78bbf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h9259bc2ff8fd0f76
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
14:     0x79e89a78e460 - rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
15:     0x79e89a7da645 - core::panicking::panic_fmt::h784f20a50eaab275
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
16:     0x79e89a7dad43 - core::result::unwrap_failed::h03d8a5018196e1cd
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1649:5
17:     0x79e89d0a4808 - core::result::Result<T,E>::expect::h1d705b8902ea48ff
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/result.rs:1030:23
18:     0x79e89d0a4808 - std::thread::local::LocalKey<T>::with::h8cb3eb3428f15d33
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/thread/local.rs:246:9
19:     0x79e89d0a4808 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::hce32b9bfd1e17482
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
20:     0x79e89d0b52f5 - tracing_core::dispatcher::Dispatch::event::h603a073f63501864
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
21:     0x79e89d0b52f5 - tracing_log::dispatch_record::{{closure}}::h84240cb12d0478c8
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:211:9
22:     0x79e89d0b5cf5 - tracing_log::dispatch_record::h10153d1dde847373
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/lib.rs:195:5
23:     0x79e89d0b5cf5 - <tracing_log::log_tracer::LogTracer as log::Log>::log::h99da9a8b2c612e32
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.1.4/src/log_tracer.rs:199:13
24:     0x79e89d25ef18 - log::__private_api::log_impl::hc517980f2d25fad7
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
25:     0x79e89cacfa2e - log::__private_api::log::h0550443878a9f778
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
26:     0x79e89cacfa2e - wgpu_hal::gles::egl::egl_debug_proc::h59649437c2db6f6c
at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
27:     0x79e8908b4843 - <unknown>
28:     0x79e89084df9e - <unknown>
29:     0x79e89084e050 - <unknown>
30:     0x79e8908a2541 - <unknown>
31:     0x79e890834aa1 - <unknown>
32:     0x79e89084942b - <unknown>
33:     0x79e899e0d633 - <unknown>
34:     0x79e899e1036f - <unknown>
35:     0x79e8908ad550 - <unknown>
36:     0x79e8908a3310 - <unknown>
37:     0x79e89a44ab36 - <unknown>
38:     0x79e89a44ac80 - exit
39:     0x79e89a431cd7 - <unknown>
40:     0x79e89a431d8a - __libc_start_main
41:     0x5f46fc04df35 - _start
42:                0x0 - <unknown>
fatal runtime error: failed to initiate panic, error 5

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Oh, turns out the log you posted is just the unrelated output of wgpu also initializing OpenGL. Vulkan is working normally, and gets picked over OpenGL. Everything is normal in that front.


Either way. Weird that eframe doesn’t experience the surface errors when using wgpu. I’m not sure how to continue debugging from here. Ultimately I still think Bevy should still simply be more lenient with surface errors.

Why is your wgpu falling back to OpenGL? Is your Vulkan driver broken? Please open the app with RUST_LOG=debug and post the log.

Okay, next observation: The default log level (when RUST_LOG is not specified) is error. Try setting RUST_LOG=warn, because the Dropped frame with error spam is on the warning log level.

@Friz64 Very good. That fixed compilation. Though, I am not entirely sure that this is helpful, as I don’t get any errors or crashes on the wgpu backend with either x11 or wayland (tried each separately). No Dropped frame with error spam either.

Edit: A minor difference from your config, I am on version 0.27.2 for egui and eframe

unfortunately no. The crash from that branch is included below

Log ```
    Finished dev [optimized + debuginfo] target(s) in 0.19s
   Running `target/debug/rust-game`
    2024-04-08T23:28:49.373101Z  WARN winit::platform_impl::platform::x11::xdisplay: error setting XSETTINGS; Xft options won't reload automatically    
    2024-04-08T23:28:49.387255Z  INFO bevy_winit::system: Creating new window "App" (Entity { index: 0, generation: 1 })
    2024-04-08T23:28:49.387442Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1.0833333333333333    
    2024-04-08T23:28:49.508194Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.67", backend: Vulkan }
    2024-04-08T23:28:49.668798Z  WARN bevy_render::view::window: Couldn't get swap chain texture. This often happens with the NVIDIA drivers on Linux. It can be safely ignored.
    thread 'Compute Task Pool (6)' panicked at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_render/src/view/window/mod.rs:362:21:
    Couldn't get swap chain texture, operation unrecoverable: A timeout was encountered while trying to acquire the next frame
    stack backtrace:
       0:     0x73f25a58bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
       1:     0x73f25a58bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2:     0x73f25a58bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
       3:     0x73f25a58bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
       4:     0x73f25a5de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
       5:     0x73f25a5de770 - core::fmt::write::h4311bce0ee536615
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
       6:     0x73f25a57f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
       7:     0x73f25a58baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
       8:     0x73f25a58baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
       9:     0x73f25a58e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
      10:     0x73f25a58e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
      11:     0x73f25a58ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
      12:     0x73f25a58ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
      13:     0x73f25a58c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
      14:     0x73f25a58ea74 - rust_begin_unwind
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
      15:     0x73f25a5dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
      16:     0x73f25c6f4d04 - bevy_render::view::window::prepare_windows::hc7655a1dd43e3fb4
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_render/src/view/window/mod.rs:362:21
      17:     0x73f25c6c72d5 - core::ops::function::FnMut::call_mut::h8cfafe9666f8e172
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:166:5
      18:     0x73f25c6c72d5 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h9c014c4aada37f43
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:294:13
      19:     0x73f25c6c72d5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::call_inner::he5c43bcfa512e253
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:661:21
      20:     0x73f25c6c72d5 - <Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0,F1,F2,F3,F4,F5,F6,F7,F8) .> Out>>::run::hc221d3dda0e6b710
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:664:17
      21:     0x73f25c6c72d5 - <bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe::hce1495c0efc54ee3
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/system/function_system.rs:504:19
      22:     0x73f25d3fb21a - bevy_ecs::schedule::executor::__rust_begin_short_backtrace::run_unsafe::h47d5083d3abfe74e
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/mod.rs:145:9
      23:     0x73f25d40d2ad - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::{{closure}}::hd62b0b9208b9b0cd
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:624:21
      24:     0x73f25d40d2ad - core::ops::function::FnOnce::call_once::he83e86282a9d6d78
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      25:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hf9d875139e504a11
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      26:     0x73f25d40d2ad - std::panicking::try::do_call::hde282b76cc16b968
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      27:     0x73f25d40d2ad - std::panicking::try::hf7ed268cd1e7d6a0
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      28:     0x73f25d40d2ad - std::panic::catch_unwind::h96ddaf380789e8de
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      29:     0x73f25d40d2ad - bevy_ecs::schedule::executor::multi_threaded::ExecutorState::spawn_system_task::{{closure}}::h0bfb774547e7b69b
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:616:23
      30:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::future::future::Future>::poll::hdf602257f7be9b3b
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:297:9
      31:     0x73f25d40d2ad - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::{{closure}}::h37b47c1e5a8de5cc
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:42
      32:     0x73f25d40d2ad - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdacfcbe65a9d4da1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      33:     0x73f25d40d2ad - std::panicking::try::do_call::h0019b15e9f62b5cf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      34:     0x73f25d40d2ad - std::panicking::try::h8409e9bcab90e706
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      35:     0x73f25d40d2ad - std::panic::catch_unwind::h0dcf5c1fd109c7c8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      36:     0x73f25d40d2ad - <futures_lite::future::CatchUnwind<F> as core::future::future::Future>::poll::h37cb87bd845549ff
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:588:9
      37:     0x73f25d40a7e6 - async_executor::Executor::spawn::{{closure}}::h5a754cd2abdc8166
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:158:20
      38:     0x73f25d3cff4a - async_task::raw::RawTask<F,T,S,M>::run::{{closure}}::h9ca94e8e8553e50f
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:550:21
      39:     0x73f25d3cff4a - core::ops::function::FnOnce::call_once::hb8d59a1ad61c9684
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      40:     0x73f25d3cff4a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0f27912582df9c21
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      41:     0x73f25d3cff4a - std::panicking::try::do_call::hb5671f483dea56f1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      42:     0x73f25d3cff4a - std::panicking::try::hb2cb1d8008363e19
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      43:     0x73f25d3cff4a - std::panic::catch_unwind::h90b8b1cb9f10662f
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      44:     0x73f25d3cff4a - async_task::raw::RawTask<F,T,S,M>::run::hf5466e1853d1a125
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/raw.rs:549:23
      45:     0x73f25d414824 - async_task::runnable::Runnable<M>::run::h7bd8020c61dec7f2
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.7.0/src/runnable.rs:781:18
      46:     0x73f25d414824 - async_executor::Executor::run::{{closure}}::{{closure}}::hd5b8a2edf60b7244
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:254:21
      47:     0x73f25d414824 - <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll::hea9dec25026c1ab7
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:449:33
      48:     0x73f25d414824 - async_executor::Executor::run::{{closure}}::hd9e84192a7b09447
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.8.0/src/lib.rs:261:32
      49:     0x73f25d414824 - futures_lite::future::block_on::{{closure}}::hfc49a202d42255a3
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:99:19
      50:     0x73f25d414824 - std::thread::local::LocalKey<T>::try_with::h160d1f34893477b8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
      51:     0x73f25d414824 - std::thread::local::LocalKey<T>::with::h1b0c1c3a8b88f4fa
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      52:     0x73f25d414824 - futures_lite::future::block_on::h961b7a5c7163c7b0
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-2.3.0/src/future.rs:78:11
      53:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}}::h7ab86138f3689f6c
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:180:37
      54:     0x73f25d411628 - std::panicking::try::do_call::ha6c426b1da217fbc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      55:     0x73f25d411628 - std::panicking::try::h56bb64cf9dc51bdc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      56:     0x73f25d411628 - std::panic::catch_unwind::haf88a0f72bb511da
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      57:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::heb4dd7d61dee4453
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:174:43
      58:     0x73f25d411628 - std::thread::local::LocalKey<T>::try_with::h30c342939d01b1a3
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:286:16
      59:     0x73f25d411628 - std::thread::local::LocalKey<T>::with::h353fed5c96771158
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      60:     0x73f25d411628 - bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::hf8256d97d53c92ad
                                   at /home/alexk101/.cargo/git/checkouts/bevy-cd2dc70f3b1c2dad/237d2bd/crates/bevy_tasks/src/task_pool.rs:167:50
      61:     0x73f25d411628 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9c437f29e51747d9
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:155:18
      62:     0x73f25d4178d5 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he02215e2d18a458a
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:529:17
      63:     0x73f25d4178d5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h43ded0282e11fc97
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panic/unwind_safe.rs:272:9
      64:     0x73f25d4178d5 - std::panicking::try::do_call::h8ab653932f3ee83e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:554:40
      65:     0x73f25d4178d5 - std::panicking::try::h4310971cfac9a7ec
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:518:19
      66:     0x73f25d4178d5 - std::panic::catch_unwind::hc551080e82d43ca7
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panic.rs:142:14
      67:     0x73f25d4178d5 - std::thread::Builder::spawn_unchecked_::{{closure}}::h49c1e5032b6ce5a1
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/mod.rs:528:30
      68:     0x73f25d4178d5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h74c26fdc06bf76cf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
      69:     0x73f25a598675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h32ae492e80523c39
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
      70:     0x73f25a598675 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd05b2dc112b7a972
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/alloc/src/boxed.rs:2015:9
      71:     0x73f25a598675 - std::sys::pal::unix::thread::Thread::new::thread_start::h40e6fd3f8ce15a14
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys/pal/unix/thread.rs:108:17
      72:     0x73f25a38255a - <unknown>
      73:     0x73f25a3ffa3c - <unknown>
      74:                0x0 - <unknown>
    Encountered a panic in system `bevy_render::view::window::prepare_windows`!
    thread '<unnamed>' panicked at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:26:
    cannot access a Thread Local Storage value during or after destruction: AccessError
    stack backtrace:
       0:     0x73f25a58bd16 - std::backtrace_rs::backtrace::libunwind::trace::h6e4a662bea54ccfc
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
       1:     0x73f25a58bd16 - std::backtrace_rs::backtrace::trace_unsynchronized::hb42b4eb2797d9c0e
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
       2:     0x73f25a58bd16 - std::sys_common::backtrace::_print_fmt::h2bc261f3223f4e4d
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:68:5
       3:     0x73f25a58bd16 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h9cca0343d66d16a8
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:44:22
       4:     0x73f25a5de770 - core::fmt::rt::Argument::fmt::h8b666c45176be671
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/rt.rs:142:9
       5:     0x73f25a5de770 - core::fmt::write::h4311bce0ee536615
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/fmt/mod.rs:1120:17
       6:     0x73f25a57f58f - std::io::Write::write_fmt::h0685c51539d0a0cd
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/io/mod.rs:1846:15
       7:     0x73f25a58baf4 - std::sys_common::backtrace::_print::h25f19b1d64e81f86
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:47:5
       8:     0x73f25a58baf4 - std::sys_common::backtrace::print::h2fb8f70628a241ed
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:34:9
       9:     0x73f25a58e887 - std::panicking::default_hook::{{closure}}::h05093fe2e3ef454d
      10:     0x73f25a58e5e9 - std::panicking::default_hook::h5ac38aa38e0086d2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:292:9
      11:     0x73f25a58ee48 - std::panicking::rust_panic_with_hook::hed79743dc8b4b969
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:781:13
      12:     0x73f25a58ed22 - std::panicking::begin_panic_handler::{{closure}}::ha437b5d58f431abf
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:659:13
      13:     0x73f25a58c216 - std::sys_common::backtrace::__rust_end_short_backtrace::hd98e82d5b39ec859
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/sys_common/backtrace.rs:171:18
      14:     0x73f25a58ea74 - rust_begin_unwind
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
      15:     0x73f25a5dae75 - core::panicking::panic_fmt::hc69c4d258fe11477
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
      16:     0x73f25a5db573 - core::result::unwrap_failed::hff299ec748d62aab
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1649:5
      17:     0x73f25ca543e8 - core::result::Result<T,E>::expect::h655093adbf4fa061
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/result.rs:1030:23
      18:     0x73f25ca543e8 - std::thread::local::LocalKey<T>::with::h48e06288cf42d2a2
                                   at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/thread/local.rs:262:9
      19:     0x73f25ca543e8 - <tracing_subscriber::fmt::fmt_layer::Layer<S,N,E,W> as tracing_subscriber::layer::Layer<S>>::on_event::hada5d14c563a2414
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-subscriber-0.3.18/src/fmt/fmt_layer.rs:949:13
      20:     0x73f25cbfa7f3 - tracing_core::dispatcher::Dispatch::event::h100f35249a85755d
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/dispatcher.rs:615:13
      21:     0x73f25cbfa7f3 - tracing_log::dispatch_record::{{closure}}::h42f86a2de49384ed
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:183:9
      22:     0x73f25cbfa545 - tracing_core::dispatcher::get_default::h8cecf50996c98724
      23:     0x73f25cbfa545 - tracing_log::dispatch_record::h0ab14b19ba57484e
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-log-0.2.0/src/lib.rs:167:5
      24:     0x73f25d19488f - log::__private_api::log_impl::h305216db6cf11c6d
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:61:5
      25:     0x73f25d01dcbe - log::__private_api::log::h60a4f174fcd11ee1
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/__private_api.rs:73:5
      26:     0x73f25d01dcbe - wgpu_hal::gles::egl::egl_debug_proc::hd259507099ab6f48
                                   at /home/alexk101/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.21/src/macros.rs:50:13
      27:     0x73f2508b4843 - <unknown>
      28:     0x73f25084df9e - <unknown>
      29:     0x73f25084e050 - <unknown>
      30:     0x73f2508a2541 - <unknown>
      31:     0x73f250834aa1 - <unknown>
      32:     0x73f25084942b - <unknown>
      33:     0x73f2595f6633 - <unknown>
      34:     0x73f2595f936f - <unknown>
      35:     0x73f2508ad550 - <unknown>
      36:     0x73f2508a3310 - <unknown>
      37:     0x73f25a335b36 - <unknown>
      38:     0x73f25a335c80 - exit
      39:     0x73f25a31ccd7 - <unknown>
      40:     0x73f25a31cd8a - __libc_start_main
      41:     0x6505a7c60095 - _start
      42:                0x0 - <unknown>
    fatal runtime error: failed to initiate panic, error 5
    [1]    53488 IOT instruction (core dumped)  cargo run
    ```

Great, sounds like a Bevy problem in some form then. Thanks for investigating.

I would test this on #12669 next: there’s a chance that this resolves the problem.

Tested the eframe template and did not have any issues.