-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 on Widnows 11 with exit code: 0xc0000005, STATUS_ACCESS_VIOLATION #14149
Comments
could you try with a debugger to find where it crashes? |
yes will try to debug |
There is a ticket on the wgpu side for this issue it seems: gfx-rs/wgpu#5879 |
Your stack trace seems to be in the OpenGL backend, but the log in the issue says The interesting part in your screenshot is probably the stack trace, and you cut it so we don't have the functions. Could you post it as text? |
I am not specifying the backend, I honestly thought it would go to DX12. Here is the callstack, hope it's the right one:
|
The sys info in the report is what github inserts in the template, I didn't paste it myself. It indeed goes along the OpenGL path but dies in an external (unsafe) call. Even though there is some error handing around it, it never returns the last OS error, but crashes instead |
The call goes to:
|
I had the same problem on windows for a couple weeks, but bevy 0.14.1 made it go away. Not sure exactly what the issue was, but after a "cargo update" it went away. |
I tried to update but no luck. However, I noticed that in Windows the integrated GPU is selected for my display and it turns out that switching to the dedicated GPU (make it the preferred one) solves the issue. Maybe windows switches over to the dedicated GPU after startup which causes the crash. |
Bevy version
0.14
[Optional] Relevant system information
If you cannot get Bevy to build or run on your machine, please include:
cargo --version
:cargo 1.79.0 (ffa9cf99a 2024-06-03)
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.59 GHz
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
What you did
Tried running a basic Bevy app:
What went wrong
Additional information
I tried forcing the wgpu version that has a fix for a crash, but it didn't help:
The text was updated successfully, but these errors were encountered: