[Posila] 0.14.21 Game crashes on load

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
bchmura
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri May 27, 2016 3:22 pm
Contact:

[Posila] 0.14.21 Game crashes on load

Post by bchmura »

Hi, We've had this problem a few times over the past year, its a pain in the butt, however going to an earlier save seems to help.

I have no idea what we are doing to cause it, but here is how it happens.

1) We play in multiplayer just fine
2) Game continues to save files and keep running fine
3) At some point it starts saving corrupted save files and we don't know it until the next restart or the next attempt to connect.

WE NEVER HAVE A CRASH IN GAME HOWEVER


Essentially the headless server is running still. The client downloads the map, then attempts to load it and says 'Cannot load downloaded map: Internal error, unknown tile 137". The server log has no errors.

If I restart the server, I get a similar error on the server

2.262 Error FileUtil.cpp:284: Can't remove /opt/factorio/temp/currently-playing: No such file or directory
2.284 Info Scenario.cpp:152: Map version 0.14.21-0
5.083 Error ServerMultiplayerManager.cpp:93: MultiplayerManager failed: "Internal error, unknown tile 137"
5.083 Info ServerMultiplayerManager.cpp:658: mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
5.103 Error Main.cpp:509: Couldn't load the game for MP: Internal error, unknown tile 137

I download and try the client only, and same thing - In the attached log, it is the second set - autosave 2 I believe.

The save file is about 80MB big, so I am providing a link instead

http://www.temporalfocus.com/factorio/problem_save.zip
Mods
Attachments
factorio-current.log
(9.35 KiB) Downloaded 123 times
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: 0.14.21 Game crashes on load

Post by Loewchen »

Please post the .ziped mod folder and the last working save. The best way to find the cause is, two have as little time between the saves as possible.
Save game corruption can be caused by a bug in the game or a defect in the hardware.
bchmura
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri May 27, 2016 3:22 pm
Contact:

Re: 0.14.21 Game crashes on load

Post by bchmura »

Mod folder gets archived here
http://www.temporalfocus.com/factorio/mods.tgz

I'll see if I can post a previous autosave... not sure if it has been overwritten yet.
bchmura
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri May 27, 2016 3:22 pm
Contact:

Re: 0.14.21 Game crashes on load

Post by bchmura »

http://www.temporalfocus.com/factorio/p ... m_save.zip

I believe this is the last autosave before the problem...
bchmura
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri May 27, 2016 3:22 pm
Contact:

Re: [Posila] 0.14.21 Game crashes on load

Post by bchmura »

Another possible clue here....

This happened again but here is the odd thing. I have the headless server running the game on linux.

The other night, I saved the game locally, and then exited the server running version. The next time I tried to connect, the server version was bad, but my locally saved copy worked fine.

As a developer, made me wonder if the routines for saving in the headless version are different, or perhaps a linux related bug (local is Win 7).

Anyway, just thought I would throw that out there. I may have these two copies still if that would help
posila
Factorio Staff
Factorio Staff
Posts: 5439
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Posila] 0.14.21 Game crashes on load

Post by posila »

Hi, thanks for the report. And thank you for providing also working autosave.
I take it you continued playing from autosave and don't need the broken save to be fixed.

On of the trees was saved with entityID 0, which made the save unloadable. We got one more report with this kind of corruption, so we will investigate more. What hardware does the server run on? There is some possibility of it being hardware issue.

How often does this happen? Do you have some saves from previous corruptions?
Post Reply

Return to “1 / 0 magic”