godot-jolt: Editor crash when opening project stored in LUKS volume after machine reboot
On Manjaro x86-64 with ldd 2.38, if you create a project in Godot 4.1.1, install Godot Jolt 0.8.0 from the in-editor asset library browser, close the project, reboot the computer, and try to open the project again, the editor will immediately crash.
Installing the debug symbols and running in gdb via gdb --args $path_to_godot_binary --disable-crash-handler --path $path_to_project -e will show the following as the cause:
Thread 1 "godot.linuxbsd." received signal SIGILL, Illegal instruction.
0x00007ffff25e1320 in _GLOBAL__sub_I_locale_inst.cc ()
from $path_to_project/addons/godot-jolt/linux/godot-jolt_linux-x64_editor.so
Examining the backtrace will reveal the problem occurs when dynamically linking godot-jolt_linux-x64_editor.so.
The problem can be solved temporarily by deleting $path_to_project/addons/godot-jolt and reinstalling the plugin, but will recur after another machine reboot.
The minimal repro example does not contain the debug symbols, as they were too big. Installing them after extraction will be necessary to get a meaningful backtrace when reproducing the issue, assuming the issue is reproducible at all. The archive root contains a file typescript which is a shell session dump that includes a backtrace.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 18 (10 by maintainers)
So I installed Ubuntu with its full disk encryption enabled, which according to
cryptsetup isLuksseems to be using LUKS as well, and I was not able to reproduce this issue in that particular setup.I also decided to take a quick look in Ghidra to see exactly what’s being overwritten at the offsets you provided from
cmp -l, and I can’t really see any immediate rhyme or reason to the chunks being overwritten.I frankly don’t know how to proceed with this one, and seeing as how nobody else has piled on here in the months that this issue has been open I’ve decided to close this one as an unsolved mystery for now.
Thank you for verifying all that. I’ll try to run your project on the Kubuntu 23.04 installation I’m using and see if I can repro it there. If not, I’ll install Manjaro somehow and see if it’s a distro-specific thing.