stohrendorf / CroftEngine

An open-source Tomb Raider 1 engine remake
Other
285 stars 18 forks source link

Game crashes on saving/loading on Linux #257

Closed Leebre closed 1 year ago

Leebre commented 2 years ago

Hi, I have tried playing TR1 with CroftEngine in Linux (Arch variant) on an x86 desktop PC. The game seems to run ok; however it is crashing on saving/loading, which renders it unplayable. I will be happy to post errors/logs, if it would help.

The game also seems to crash when Lara dies, but I'm not sure if this is linked to the save/load crash.

stohrendorf commented 2 years ago

A log after the crash would be good, it could provide insights about what happened.

Leebre commented 2 years ago

A log after the crash would be good, it could provide insights about what happened.

Ok. I will attach the most recent log file after a crash on trying to save on the first level. I will also attach the terminal messages that were printed during the crash as well. It seems similar to the log file, but has an extra couple of lines at the end.

croftengine.log crash_error.log

stohrendorf commented 2 years ago

I am unable to reproduce this. The logs aren't really helpful in this case. It would be really helpful if you could attach a debugger and give me a stacktrace, because I don't know where the crash appears. When saving/loading, the engine uses standard mechanisms to save/load a file that's culture-independent, and that works fine as far as I can tell. When setting the locale to en_US.UTF8, the engine properly defaults to a non-translated version.

stohrendorf commented 1 year ago

Closing this as it's probably some issue with the host system itself, and noone else has reported something similar on any platform. Feel free to re-open if you have more information.