bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
35.83k stars 3.54k forks source link

SIGSEGV when running Bevy code. #4808

Open AndrewShobbrook opened 2 years ago

AndrewShobbrook commented 2 years ago

Bevy version

This is happening on the latest commit (7cb4d3c) and the latest 0.7 on crates.io

Operating system & version

I am running on EndeavourOS (Arch derivative) latest updates.

What you did

I ran graphical examples (3dscene.rs) and my own code.

What you expected to happen

It runs and works normally.

What actually happened

After the window initialises the program crashes and gives a SIGSEGV error. I have encountered this running through shell and by clicking on the elf file in thunar file manager.

Additional information

I am running an RTX3060-maxQ inside my Asus Tuf A15 (Ryzen 7 5800H). I am unsure of whether the new Nvidia drivers could have caused this.

It only happens on graphical applications. I made a quick looping hello person program copied from the bevy book tutorial and it worked as normal. It has only recently started happening and all other graphical applications on my desktop are working normally.

DJMcNab commented 2 years ago

We depend on https://github.com/gfx-rs/wgpu to provide our graphics

Are you able to run their examples successfully?

Unfortunately, this issue is likely to be unactionable on our side if wgpu's examples don't crash, since it's a result of your environment misbehaving in some way.

VitalyAnkh commented 1 year ago

Is this still happening with the latest released Bevy?