Fixes #117: coredump on exit for balancebot-sim#118
Conversation
The root cause was that by default bevy/wgpu tries out a bunch of backends and puts the graphic stack in a weird state. By forcing the backend it ends the process cleanly.
|
pulled the branch and ran cd examples/cu_rp_balancebot
cargo r balancebot-simand saw Seems like an unrelated error with log setup in balancebot-sim. This is on Fedora linux |
|
Since i dont have a balancebot to produce logs, i copied the test.copper logs The sim GUI popped up. When i closed the sim GUI, my terminal was messed up and I assume it was dumping the consolemon TUI to the terminal or something. Didn't see any coredumps though |
|
Different applications tend to prefer one backend or another, idk what's best for bevy but I imagine that defaulting to Vulkan on linux is fine. |
Whenever you run the sim it should produce valid logs for you |
do you have a "logs" directory from where you run it from ? I just changed it on this branch to log to logs/ instead of the current path. |
The root cause was that by default bevy/wgpu tries out a bunch of backends and puts the graphic stack in a weird state.
By forcing the backend it ends the process cleanly.