-
Notifications
You must be signed in to change notification settings - Fork 223
The template app panics on load for wasm32 #223
Copy link
Copy link
Closed
Description
The page panics immediately on page load. The eframe template is in a clean state (freshly cloned) and served with trunk serve.
Error message and stack trace:
panicked at /home/konaeakira/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-29.0.1/src/backend/webgpu.rs:1126:14:
canvas context is not a GPUCanvasContext: Object { obj: JsValue(GPUCanvasContext), generics: PhantomData<wasm_bindgen::JsValue> }
Stack:
__wbg_new_e7a94ed988189973@http://localhost:8080/eframe_template.js:821:25
eframe_template-0454c1244eec22e9.wasm.eframe::web::panic_handler::Error::new::__wbg_new_e7a94ed988189973::had61a2faba4cde8d externref shim@http://localhost:8080/eframe_template_bg.wasm:wasm-function[6819]:0x571fde
eframe_template-0454c1244eec22e9.wasm.eframe::web::panic_handler::PanicSummary::new::h71bb185cd1e45be6@http://localhost:8080/eframe_template_bg.wasm:wasm-function[2712]:0x4e096f
eframe_template-0454c1244eec22e9.wasm.eframe::web::panic_handler::PanicHandler::install::{{closure}}::hdeff32a22715bbc4@http://localhost:8080/eframe_template_bg.wasm:wasm-function[1628]:0x455c7c
eframe_template-0454c1244eec22e9.wasm.std::panicking::panic_with_hook::hf90632d5c7102557@http://localhost:8080/eframe_template_bg.wasm:wasm-function[3844]:0x531584
eframe_template-0454c1244eec22e9.wasm.std::panicking::panic_handler::{{closure}}::he5eb13023b639916@http://localhost:8080/eframe_template_bg.wasm:wasm-function[4306]:0x5464ef
eframe_template-0454c1244eec22e9.wasm.std::sys::backtrace::__rust_end_short_backtrace::hdaee13ec4dd4f348@http://localhost:8080/eframe_template_bg.wasm:wasm-function[7440]:0x57400f
eframe_template-0454c1244eec22e9.wasm.__rustc[d9b87f19e823c0ef]::rust_begin_unwind@http://localhost:8080/eframe_template_bg.wasm:wasm-function[5956]:0x56b17d
eframe_template-0454c1244eec22e9.wasm.core::panicking::panic_fmt::hcb6b2b4be1f4be38@http://localhost:8080/eframe_template_bg.wasm:wasm-function[5959]:0x56b204
eframe_template-0454c1244eec22e9.wasm.core::result::unwrap_failed::hf1b7344c4a305aa0@http://localhost:8080/eframe_template_bg.wasm:wasm-function[4559]:0x54f690
eframe_template-0454c1244eec22e9.wasm.wgpu::backend::webgpu::ContextWebGpu::create_surface_from_context::hee594f3196ab1376@http://localhost:8080/eframe_template_bg.wasm:wasm-function[1814]:0x475504
eframe_template-0454c1244eec22e9.wasm.<wgpu::backend::webgpu::ContextWebGpu as wgpu::dispatch::InstanceInterface>::create_surface::hed94d6a32ecbc966@http://localhost:8080/eframe_template_bg.wasm:wasm-function[1343]:0x41c956
eframe_template-0454c1244eec22e9.wasm.wgpu::api::instance::Instance::create_surface_unsafe::hb30e34a3c8ebbd24@http://localhost:8080/eframe_template_bg.wasm:wasm-function[3958]:0x536fd9
eframe_template-0454c1244eec22e9.wasm.wgpu::api::instance::Instance::create_surface::he0f2f1d129618551@http://localhost:8080/eframe_template_bg.wasm:wasm-function[580]:0x2ad12e
eframe_template-0454c1244eec22e9.wasm.eframe::web::web_painter_wgpu::WebPainterWgpu::new::{{closure}}::hdd28bbcd7ec532ff@http://localhost:8080/eframe_template_bg.wasm:wasm-function[605]:0x2cab67
eframe_template-0454c1244eec22e9.wasm.eframe::web::app_runner::AppRunner::new::{{closure}}::hac20e4c65981aea2@http://localhost:8080/eframe_template_bg.wasm:wasm-function[659]:0x301308
eframe_template-0454c1244eec22e9.wasm.eframe::web::web_runner::WebRunner::start::{{closure}}::h178ab63bb633eef8@http://localhost:8080/eframe_template_bg.wasm:wasm-function[846]:0x37c88e
eframe_template-0454c1244eec22e9.wasm.eframe_template::main::{{closure}}::hd5c4b59bbb630daf@http://localhost:8080/eframe_template_bg.wasm:wasm-function[1369]:0x42288c
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen_futures::task::singlethread::Task::run::hd186b1bcb398f044@http://localhost:8080/eframe_template_bg.wasm:wasm-function[3928]:0x53587d
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen_futures::queue::Queue::new::{{closure}}::he69879fc6250b1f2@http://localhost:8080/eframe_template_bg.wasm:wasm-function[2356]:0x4bcc61
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen::convert::closures::_::invoke::hdb56741a10736057@http://localhost:8080/eframe_template_bg.wasm:wasm-function[5027]:0x55c05a
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen::convert::closures::_::invoke::hdb56741a10736057 externref shim@http://localhost:8080/eframe_template_bg.wasm:wasm-function[6750]:0x571a85
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen::convert::closures::_::invoke::hdb56741a10736057 externref shim multivalue shim@http://localhost:8080/eframe_template_bg.wasm:wasm-function[6068]:0x56c391
wasm_bindgen__convert__closures_____invoke__hdb56741a10736057@http://localhost:8080/eframe_template.js:1778:22
real@http://localhost:8080/eframe_template.js:2000:20
eframe_template.js:290:25
__wbg_error_1f86c19d6ed1899f http://localhost:8080/eframe_template.js:290
hdeff32a22715bbc4 http://localhost:8080/eframe_template_bg.wasm:4545913
hf90632d5c7102557 http://localhost:8080/eframe_template_bg.wasm:5444996
he5eb13023b639916 http://localhost:8080/eframe_template_bg.wasm:5530863
hdaee13ec4dd4f348 http://localhost:8080/eframe_template_bg.wasm:5718031
rust_begin_unwind http://localhost:8080/eframe_template_bg.wasm:5681533
hcb6b2b4be1f4be38 http://localhost:8080/eframe_template_bg.wasm:5681668
hf1b7344c4a305aa0 http://localhost:8080/eframe_template_bg.wasm:5568144
hee594f3196ab1376 http://localhost:8080/eframe_template_bg.wasm:4674820
eframe_template-0454c1244eec22e9.wasm.<wgpu::backend::webgpu::ContextWebGpu as wgpu::dispatch::InstanceInterface>::create_surface::hed94d6a32ecbc966 http://localhost:8080/eframe_template_bg.wasm:4311382
hb30e34a3c8ebbd24 http://localhost:8080/eframe_template_bg.wasm:5468121
he0f2f1d129618551 http://localhost:8080/eframe_template_bg.wasm:2806062
hdd28bbcd7ec532ff http://localhost:8080/eframe_template_bg.wasm:2927463
hac20e4c65981aea2 http://localhost:8080/eframe_template_bg.wasm:3150600
h178ab63bb633eef8 http://localhost:8080/eframe_template_bg.wasm:3655822
hd5c4b59bbb630daf http://localhost:8080/eframe_template_bg.wasm:4335756
hd186b1bcb398f044 http://localhost:8080/eframe_template_bg.wasm:5462141
he69879fc6250b1f2 http://localhost:8080/eframe_template_bg.wasm:4967521
hdb56741a10736057 http://localhost:8080/eframe_template_bg.wasm:5619802
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen::convert::closures::_::invoke::hdb56741a10736057 externref shim http://localhost:8080/eframe_template_bg.wasm:5708421
eframe_template-0454c1244eec22e9.wasm.wasm_bindgen::convert::closures::_::invoke::hdb56741a10736057 externref shim multivalue shim http://localhost:8080/eframe_template_bg.wasm:5686161
wasm_bindgen__convert__closures_____invoke__hdb56741a10736057 http://localhost:8080/eframe_template.js:1778
real http://localhost:8080/eframe_template.js:2000
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels