[0.12.33] crash after server_save
Posted: Wed May 18, 2016 7:40 am
Hi there,
During the writing of my new mod, I had a strange repeted crash after a game.server_save under MP with 1 or 2 players and 1 headless server.
Here is the simple map and the report.
I can send you the mod by MP with a little explanation on what do do to trigger the crash.
Basically, it call a game.server_save() and then try the reconstruct some parts of my gui to display a report.
I tried using pcall(game.server_save) which shows that the save works (I see it on the time stamp of the saved file).
It is the GUI reconstruction just after the save that creates the crash. This same GUI triggers no problems for the rest of the mod, but does not do anything special after this game.server_save .
Note that my mod does not seem to trigger any desync either.
log with 1 player + 1 server : log with 2 players + 1 server :
During the writing of my new mod, I had a strange repeted crash after a game.server_save under MP with 1 or 2 players and 1 headless server.
Here is the simple map and the report.
I can send you the mod by MP with a little explanation on what do do to trigger the crash.
Basically, it call a game.server_save() and then try the reconstruct some parts of my gui to display a report.
I tried using pcall(game.server_save) which shows that the save works (I see it on the time stamp of the saved file).
It is the GUI reconstruction just after the save that creates the crash. This same GUI triggers no problems for the rest of the mod, but does not do anything special after this game.server_save .
Note that my mod does not seem to trigger any desync either.
log with 1 player + 1 server : log with 2 players + 1 server :