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

wgpu Deadlock #6412

Open
Tracked by #5572
QuantizedPixel opened this issue Oct 15, 2024 · 1 comment
Open
Tracked by #5572

wgpu Deadlock #6412

QuantizedPixel opened this issue Oct 15, 2024 · 1 comment

Comments

@QuantizedPixel
Copy link

QuantizedPixel commented Oct 15, 2024

Using multithreading to load resources. Arc<Queue> and Arc<Device> are used.

5% of the time, main thread gets indefinitely frozen at surface.present.

Some threads also seem to get stallen at these:
Queue::write_texture
Device::create_texture_view

Tested on master and version 22.1.0

Full backtrace
backtrace.txt

@jimblandy
Copy link
Member

Next step would be to look at the backtraces and see which locks are being held / acquired in a cyclic pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants