segmentation fault on latest nightly #10273
Labels
A-Rendering
Drawing game state to the screen
C-Bug
An unexpected or incorrect behavior
P-Crash
A sudden unexpected crash
S-Needs-Investigation
This issue requires detective work to figure out what's going wrong
Bevy version
bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "a830530be4398fb0832992e5b4baefc316d1f1d0" }
bevy = "0.11.3"
[Optional] Relevant system information
If you cannot get Bevy to build or run on your machine, please include:
Rust
cargo --version
)the operating system or browser used, including its version
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:
wgpu
for rendering problemswinit
for input and window managementgilrs
for gamepad inputsWhat you did
I've setup a simple bevy project, with a barebones applications through default plugins and run it with the
--release
flag.it then causes a
[1] 25032 segmentation fault
and crashes.This is my
main.rs
file that i used:and the
Cargo.toml
What went wrong
It compiled successfully, linked successfully, yet crashed.
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:
Logs:
Workarounds:
Weirdly enough, it works fine if i use
works and runs as expected.
so my guess is that it maybe related to how llvm in rust generates assembly or maybe a ffi issue on wgpu ? no clue tbh. too many possibilities.
Debug Info
so, maybe a wgpu issue ? maybe someone can determine that here and create a followup issue on wgpu's repo.
The text was updated successfully, but these errors were encountered: