-
Notifications
You must be signed in to change notification settings - Fork 909
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
Segfault in queue_write_texture #3974
Comments
I suspect this is happening in the code below but don't see anything off there. wgpu/wgpu-core/src/device/queue.rs Lines 773 to 804 in 09b010b
|
Reading through the original issue, I wonder what is happening in the debug build since the |
@Uriopass are you still running into this? If so, would you be able to put together a minimum reproducible example? |
I couldn't reproduce :/ I cross-posted in hope that someone else would trigger it too. |
I'm not aware of any changes that would have fixed this issue.
If they could produce a trace that we could replay to try to reproduce the issue, that would be great! |
Description
A segfault happened to one of my players inside the
queue_write_texture
using wgpu 0.16.0Repro steps
I don't have repro steps as I couldn't do it either, I guess this issue can still be useful if anyone has the same issue or if anyone can spot where the UB is just by looking at the
queue_write_texture
code (I have seen some unsafe in there)Expected vs observed behavior
Expected: no segfaults (rare in Rust!)
Observed: segfault
Extra materials
The GDB backtrace from the segfault:
Platform
Linux+winit with X11 and Wayland (both lead to segfault)
The text was updated successfully, but these errors were encountered: