-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Segfault while adding a state #2464
Copy link
Copy link
Closed
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Metadata
Metadata
Assignees
Labels
A-WindowingPlatform-agnostic interface layer to run your app inPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-LinuxSpecific to the Linux desktop operating systemSpecific to the Linux desktop operating systemS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bevy version
0.5.0
Operating system & version
Ubuntu 20.04 MATE, tested on two separate machines (Nvidia/Intel).
Rust: rustc 1.55.0-nightly (432e145bd 2021-07-10)
Other Rust tested: rustc 1.53.0 (53cb7b09b 2021-06-17)
What you did
Listing follows. Note that this is incorrect logic, but I believe that this should not segfault regardless.
The segfault reproduces 100% of the times, on two machines, both on stable and nightly.
What you expected to happen
Panic, but no segfault.
What actually happened
Stack trace, ending with: