8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Problem When resizing any example (smaller and/or bigger), the wgpu panicks with:
thread 'main' panicked at gpu/src/wgpu_impl.rs:356:52: called `Result::unwrap()` on an `Err` value: Outdated stack backtrace: 0: 0x59ff01456bf0 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 1: 0x59ff01456bf0 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 2: 0x59ff01456bf0 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 3: 0x59ff01456bf0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d42cc84fc840290 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 4: 0x59ff0147ef23 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 5: 0x59ff0147ef23 - core::fmt::write::h5af61a909e3ec64d at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 6: 0x59ff01452ca3 - std::io::Write::write_fmt::h5a7b54aa6e4a315d at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 7: 0x59ff01456a42 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 8: 0x59ff01457adf - std::panicking::default_hook::{{closure}}::h9128866118196224 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 9: 0x59ff0145794a - std::panicking::default_hook 8000 ::h52e9e7314e0255f6 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:325:9 10: 0x59ff01458482 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:831:13 11: 0x59ff0145822a - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 12: 0x59ff01457109 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 13: 0x59ff01457ebd - rust_begin_unwind at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 14: 0x59feffac8250 - core::panicking::panic_fmt::h5764ee7030b7a73d at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 15: 0x59feffac86f6 - core::result::unwrap_failed::h3ff7104a9ace307a at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1704:5 16: 0x59feffeb2e04 - core::result::Result<T,E>::unwrap::hbbd4730206987d09 at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs:1109:23 17: 0x59feffeb2e04 - ribir_gpu::wgpu_impl::Surface::get_current_texture::{{closure}}::hb5d067dce1143c73 at /home/tada/Projects/Ribir/gpu/src/wgpu_impl.rs:356:17 18: 0x59feffea1728 - core::option::Option<T>::get_or_insert_with::h854431e7c1aff5dd at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:1696:26 19: 0x59feffea60c5 - ribir_gpu::wgpu_impl::Surface::get_current_texture::he9370d253683fb4f at /home/tada/Projects/Ribir/gpu/src/wgpu_impl.rs:355:5 20: 0x59feffba120d - <ribir::backends::wgpu_backend::WgpuBackend as ribir::winit_shell_wnd::WinitBackend>::draw_commands::hd2c6ea481d814ba6 at /home/tada/Projects/Ribir/ribir/src/backends/wgpu_backend.rs:38:7 21: 0x59feffb9ca86 - <ribir::winit_shell_wnd::WinitShellWnd as ribir_core::window::ShellWindow>::draw_commands::h168c5d9372722660 at /home/tada/Projects/Ribir/ribir/src/winit_shell_wnd.rs:163:5 22: 0x59ff0094b30e - ribir_core::window::Window::draw_frame::h7e616054fe9573bd at /home/tada/Projects/Ribir/core/src/window.rs:261:7 23: 0x59feffb02e2e - <ribir::app::app_event_handler::AppHandler as winit::application::ApplicationHandler<ribir::app::AppEvent>>::window_event::hd656d6dd4de65262 at /home/tada/Projects/Ribir/ribir/src/app/app_event_handler.rs:36:9 24: 0x59feffb1d952 - winit::event_loop::dispatch_event_for_app::h6753fc7d3e8745ea at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/event_loop.rs:642:52 25: 0x59feffb1d952 - winit::event_loop::EventLoop<T>::run_app::{{closure}}::hbc4c110077c0cdef at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/event_loop.rs:265:49 26: 0x59feffb1d7a0 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h954e436c505bb583 at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:294:13 27: 0x59feffb1d740 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h6ddaf0b486adaa4e at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:294:13 28: 0x59feffb2b377 - winit::platform_impl::linux::x11::EventLoop<T>::drain_events::{{closure}}::h8567b38d6b905b3a at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:594:21 29: 0x59feffb2aa45 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::hb5094994506bbad5 at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:294:13 30: 0x59feffb2a985 - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h88cf0e0c2365408c at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:294:13 31: 0x59feffaeb40b - winit::platform_impl::linux::x11::event_processor::EventProcessor::visibility_notify::h1f7ad8e1df59f49d at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/event_processor.rs:873:9 32: 0x59feffae2ca7 - winit::platform_impl::linux::x11::event_processor::EventProcessor::process_xevent::hd8b3bd6e3ed264ed at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/event_processor.rs:195:39 33: 0x59feffadeb77 - winit::platform_impl::linux::x11::event_processor::EventProcessor::process_event::hf51fe2c9bce1ec8f at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/event_processor.rs:82:9 34: 0x59feffb2afea - winit::platform_impl::linux::x11::EventLoop<T>::drain_events::h48cbd199da5640d2 at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:585:13 35: 0x59feffb2c653 - winit::platform_impl::linux::x11::EventLoop<T>::single_iteration::hd1df908b15831b3d at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:521:9 36: 0x59feffb2de99 - winit::platform_impl::linux::x11::EventLoop<T>::poll_events_with_timeout::h487f8c40cf876705 at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:505:9 37: 0x59feffb2ac3b - winit::platform_impl::linux::x11::EventLoop<T>::pump_events::hb28d5a0fe2c68fcf at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:424:13 38: 0x59feffb2b540 - winit::platform_impl::linux::x11::EventLoop<T>::run_on_demand::hafe63988d38f8386 at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/x11/mod.rs:385:19 39: 0x59feffad73bb - winit::platform_impl::linux::EventLoop<T>::run_on_demand::hc7d44f5ee6a86eaf at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/mod.rs:819:56 40: 0x59feffad7bfe - winit::platform_impl::linux::EventLoop<T>::run::h89f3d55a8afffff5 at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/platform_impl/linux/mod.rs:812:9 41: 0x59feffb1d852 - winit::event_loop::EventLoop<T>::run_app::hfcce286f98b02035 at /home/tada/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.10/src/event_loop.rs:265:9 42: 0x59feffad460d - ribir::app::App::exec::h80ceadf6b7d138c8 at /home/tada/Projects/Ribir/ribir/src/app.rs:174:13 43: 0x59feffb5169d - <ribir::app::AppRunGuard as core::ops::drop::Drop>::drop::hcda97486afe5c551 at /home/tada/Projects/Ribir/ribir/src/app.rs:280:5 44: 0x59feffaca0f7 - core::ptr::drop_in_place<ribir::app::AppRunGuard>::he6576b2a1bf65b13 at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ptr/mod.rs:523:1 45: 0x59feffac8f29 - counter::run::h5fba23edb64ef625 at /home/tada/Projects/Ribir/examples/counter/src/lib.rs:22:27 46: 0x59feffac8cd7 - counter::main::h77abdc9e4e3f7f72 at /home/tada/Projects/Ribir/examples/counter/src/main.rs:1:13 47: 0x59feffac8d6b - core::ops::function::FnOnce::call_once::he13667279b8992db at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5 48: 0x59feffac8d7e - std::sys::backtrace::__rust_begin_short_backtrace::h622bcff499f1c92c at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:152:18 49: 0x59feffac8ca1 - std::rt::lang_start::{{closure}}::hfe1b8e688d558330 at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:199:18 50: 0x59ff0144b1e0 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h11180d46f4bd77b0 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:284:13 51: 0x59ff0144b1e0 - std::panicking::try::do_call::hd4e634b5516dff98 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 52: 0x59ff0144b1e0 - std::panicking::try::hb26f372c4276d7b4 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 53: 0x59ff0144b1e0 - std::panic::catch_unwind::hcff84ccd1cc2f0a5 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 54: 0x59ff0144b1e0 - std::rt::lang_start_internal::{{closure}}::h7f5cb21b2420f132 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:168:24 55: 0x59ff0144b1e0 - std::panicking::try::do_call::he996326bc7b05062 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 56: 0x59ff0144b1e0 - std::panicking::try::h17585bee78ecbda5 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 57: 0x59ff0144b1e0 - std::panic::catch_unwind::h366ac34033c6e5d6 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 58: 0x59ff0144b1e0 - std::rt::lang_start_internal::h15895544e2012228 at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/rt.rs:164:5 59: 0x59feffac8c87 - std::rt::lang_start::h41f0e1e7e4c6a49a at /home/tada/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/rt.rs:198:5 60: 0x59feffac8cfe - main 61: 0x7d0fadc29d90 - <unknown> 62: 0x7d0fadc29e40 - __libc_start_main 63: 0x59feffac8b85 - _start 64: 0x0 - <unknown>
The line in question:
Ribir/ribir/src/backends/wgpu_backend.rs
Line 44 in 1dc7a54
Steps To Reproduce Steps to reproduce the behavior:
Expected behavior No crash.
Showcase
**
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
When resizing any example (smaller and/or bigger), the wgpu panicks with:
The line in question:
Ribir/ribir/src/backends/wgpu_backend.rs
Line 44 in 1dc7a54
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
No crash.
Showcase
2025-05-14.19-17-11.mp4
**
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: