Today I tried fixing the crashing issue that can appear on Linux and Mac when enemy pawns start fleeing. I did not succeed, but I did find a (really odd) workaround.
I tried running the game trough gdb in an attempt to get more debugging info. To my surprise, the crashing issues were completely gone when doing this.
The error that triggers the crash is:
Thread 1 "RimWorldLinux.x" received signal SIGILL, Illegal instruction. This error seems to be thrown when a Hugslib setting is requested. I don't really have a clue why exactly this SIGILL is thrown, but i can imagine it has something to do with the Hugslib settings file being accessed while the OS doesn't allow this for some reason. So my guess is that when running the game through GDB this is somehow resolved (maybe the OS allows it because it's accessed trough gdb? I really don't have a clue, so I'm just speculating).
For anyone who wants to try this workaround but doesn't know how to run Rimworld through gdb:
In the command line go to the Rimworld main directory. cd ~/.local/share/Steam/steamapps/common/RimWorld
type gdb
now in gdb, type:
exec-file ./RimWorldLinux.x86 (you only need to do this once)
run ./start_RimWorld.sh
Please let me know if this solved the issue for you.
I tried running the game trough gdb in an attempt to get more debugging info. To my surprise, the crashing issues were completely gone when doing this.
The error that triggers the crash is:
Thread 1 "RimWorldLinux.x" received signal SIGILL, Illegal instruction. This error seems to be thrown when a Hugslib setting is requested. I don't really have a clue why exactly this SIGILL is thrown, but i can imagine it has something to do with the Hugslib settings file being accessed while the OS doesn't allow this for some reason. So my guess is that when running the game through GDB this is somehow resolved (maybe the OS allows it because it's accessed trough gdb? I really don't have a clue, so I'm just speculating).
For anyone who wants to try this workaround but doesn't know how to run Rimworld through gdb:
In the command line go to the Rimworld main directory. cd ~/.local/share/Steam/steamapps/common/RimWorld
type gdb
now in gdb, type:
exec-file ./RimWorldLinux.x86 (you only need to do this once)
run ./start_RimWorld.sh
Please let me know if this solved the issue for you.


