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

Crash in wgpu device_create_buffer #1562

Closed
emilk opened this issue Mar 11, 2023 · 2 comments
Closed

Crash in wgpu device_create_buffer #1562

emilk opened this issue Mar 11, 2023 · 2 comments
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself

Comments

@emilk
Copy link
Member

emilk commented Mar 11, 2023

We are seeing stack trace in the analytics at wgpu-0.15.0/src/backend/direct.rs:3024:

   8: core::ops::function::Fn::call
   9: <wgpu::backend::direct::Context as wgpu::context::Context>::device_create_buffer
  10: <T as wgpu::context::DynContext>::device_create_buffer
  11: wgpu::Device::create_buffer
  12: egui_wgpu::renderer::create_vertex_buffer
  13: egui_wgpu::renderer::Renderer::update_buffers
  14: egui_wgpu::winit::Painter::paint_and_update_textures
  15: <eframe::native::run::wgpu_integration::WgpuWinitApp as eframe::native::run::WinitApp>::paint
  16: eframe::native::run::run_and_return::{{closure}}
  17: <winit::platform_impl::platform::app_state::EventLoopHandler<T> as winit::platform_impl::platform::app_state::EventHandler>::handle_nonuser_event
  18: winit::platform_impl::platform::app_state::Handler::handle_nonuser_event
  19: winit::platform_impl::platform::app_state::AppState::cleared
  20: std::panicking::try
  21: winit::platform_impl::platform::observer::control_flow_end_handler
  22: <unknown>
  23: <unknown>
  24: <unknown>
  25: <unknown>
  26: <unknown>
  27: <unknown>
  28: <unknown>
  29: <unknown>
  30: <unknown>
  31: <unknown>
  32: winit::platform_impl::platform::event_loop::EventLoop<T>::run_return
  33: eframe::native::run::run_and_return
  34: std::thread::local::LocalKey<T>::with
  35: eframe::native::run::wgpu_integration::run_wgpu
  36: eframe::run_native

Unfortunately I forgot to include the panic message in the analytics 🤦 (fixed in #1563)

@emilk emilk added 🪳 bug Something isn't working 🔺 re_renderer affects re_renderer itself 💣 crash crash, deadlock/freeze, do-no-start labels Mar 11, 2023
@emilk
Copy link
Member Author

emilk commented Nov 6, 2023

It's overall pretty annoying that wgpu panics instead of returning an Error

@emilk
Copy link
Member Author

emilk commented Aug 5, 2024

Most of these wgpu panics are now errors instead

@emilk emilk closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself
Projects
None yet
Development

No branches or pull requests

1 participant