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

Running example gets "STATUS_ACCESS_VIOLATION" #140

Closed
huangjj27 opened this issue Aug 12, 2020 · 4 comments
Closed

Running example gets "STATUS_ACCESS_VIOLATION" #140

huangjj27 opened this issue Aug 12, 2020 · 4 comments
Labels
C-Bug An unexpected or incorrect behavior C-Dependencies A change to the crates that Bevy depends on O-Windows Specific to the Windows desktop operating system P-Crash A sudden unexpected crash

Comments

@huangjj27
Copy link

huangjj27 commented Aug 12, 2020

codes:

// the default example
use bevy::prelude::*;

fn main() {
    App::build()
        .add_default_plugins()
        .run();
}

gets errors:

error: process didn't exit successfully: `target\debug\game_demo.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

rustc version:

> rustc --version
rustc 1.45.2 (d3fb005a3 2020-07-31)

maybe this is caused by wgpu's bug as in https://github.com/hecrj/iced/issues/447。

@karroffel karroffel added C-Bug An unexpected or incorrect behavior C-Dependencies A change to the crates that Bevy depends on P-Crash A sudden unexpected crash O-Windows Specific to the Windows desktop operating system labels Aug 12, 2020
@cramt
Copy link

cramt commented Aug 13, 2020

I managed to reproduce the exact same bug.
I fixed it by updating my graphics drivers.

windows 10 build 19041
NVIDIA GeForce 940M, currently with drivers version 451.67, dont know what the driver version was previously

@huangjj27
Copy link
Author

Environment

OS: Windows 10 Pro 1909
Processer: AMD A10-5750M with Radeon(tm) HD graphics
Graphics: AMD Radeon HD 8650G + AMD Radeon HD 8790M (Microsoft detected dirvers, date to 2019/8/16, driver version: 26.20.12028.2) (Not update to AMD drivers for the super slow download.)

NOTE that my graphics don’t support newer drivers.

@huangjj27 huangjj27 changed the title Running example gets "STATUS_ACCESS_VIOLATION" Running example gets "STATUS_ACCESS_VIOLATION", or panick Aug 14, 2020
@huangjj27
Copy link
Author

the STATUS_ACCESS_VIOLATION issue is reported to gfx-rs/wgpu-rs#525

@huangjj27 huangjj27 changed the title Running example gets "STATUS_ACCESS_VIOLATION", or panick Running example gets "STATUS_ACCESS_VIOLATION" Aug 22, 2020
@huangjj27
Copy link
Author

I update my computer with a newer graphics card, which support Vulkan/DX12. I think there is no other way to solve this problem on graphics that can't not support Vulkan/DX12. I'm closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior C-Dependencies A change to the crates that Bevy depends on O-Windows Specific to the Windows desktop operating system P-Crash A sudden unexpected crash
Projects
None yet
Development

No branches or pull requests

3 participants