Page 1 of 1

[0.13.6][posila] Broken save

Posted: Tue Jul 12, 2016 5:03 am
by briezee
Is there anyway to fix this save?

It was saved on .13.6 steam and I couldn't open it tonight in .13.8 steam. I downloaded the .13.6 standalone zip, and couldn't open it there, either.

No mods.

(July11.zip is the broken save, July7.zip is one from a couple hours earlier that opens.)

Thanks.

Log content:

0.001 2016-07-11 22:17:17; Factorio 0.13.8 (build 23239, win64, steam)
0.001 Operating system: Windows 8.1
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/brie/AppData/Roaming/Factorio
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.017 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 20%] [Screen: 255] [DXT: false]
0.018 Available display adapters: 1
0.018 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 960 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.018 Create display on adapter 0. Size 1280x720 at position [310, 162].
0.053 Initialised Direct3D:[0] NVIDIA GeForce GTX 960; driver: nvd3dumx.dll 10.18.13.6869
0.054 Video memory size (dedicated video/dedicated system/shared system/available): 1965/0/2048/4006 MB
0.076 Desktop composition is active.
0.131 Loading mod core 0.0.0 (data.lua)
0.134 Loading mod base 0.13.8 (data.lua)
0.204 Checksum for core: 714099156
0.204 Checksum for mod base: 1905699976
0.539 Initial atlas bitmap size is 16384
0.541 Created atlas bitmap 16384x6371
0.959 Created atlas bitmap 4096x968
6.557 Sprites loaded
6.557 Convert atlas 4096x968 to: trilinear-filtering
6.754 Loading sounds...
7.831 Custom inputs active: 0
7.859 Factorio initialised
18.081 Loading map C:/Users\brie\AppData\Roaming\Factorio\saves\July11.zip
18.170 Info Scenario.cpp:127: Map version 0.13.6-0
18.400 Error CrashHandler.cpp:109: Exception Code: c0000005, Address: 00007FF6EF8365C1
18.400 Error CrashHandler.cpp:119: Exception Context:
rax=000000c01c3f5740, rbx=0000000000000000, rcx=0000000000000000,
rdx=000000c04d07ccd4, rsi=000000c04eeffb6c, rdi=000000c0175eea40,
rip=00007ff6ef8365c1, rsp=000000c04d24eeb0, rbp=000000c04d24ef41,
r8=0000000000000001, r9=00007ff6ef720000, r10=000000c04d07ccd4,
r11=000000c04eeffb6e, r12=0000000000000000, r13=000000c01c6ee9a0,
r14=0000000000000001, r15=000000000000001e
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vechcs\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vechcs\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vechcs\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vechcs\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-vechcs\src\util\crashhandler.cpp (129): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5BCC1D52)
00007FFE5BCC1D52 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5EA5F133)
00007FFE5EA5F133 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5EA41D86)
00007FFE5EA41D86 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5EA533FD)
00007FFE5EA533FD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5EA14847)
00007FFE5EA14847 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5EA5258A)
00007FFE5EA5258A (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-vechcs\src\map\tile.cpp (256): Tile::load
c:\cygwin64\tmp\factorio-vechcs\src\surface\chunk.cpp (324): Chunk::load
c:\cygwin64\tmp\factorio-vechcs\src\surface\surface.cpp (597): Surface::load
c:\cygwin64\tmp\factorio-vechcs\src\map\map.cpp (530): Map::Map
c:\cygwin64\tmp\factorio-vechcs\src\scenario\scenario.cpp (134): Scenario::loadFactory
c:\cygwin64\tmp\factorio-vechcs\src\scenario\parallelscenarioloader.cpp (58): ParallelScenarioLoader::doLoad
c:\boost_1_58_0\boost\thread\detail\thread.hpp (117): boost::detail::thread_data<boost::_bi::bind_t<void,void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManager * __ptr64,bool),boost::_bi::list6<boost::_bi::value<ParallelScenarioLoader * __ptr64>,boost::_bi::value<MapDeserialiser * __ptr64>,boost::_bi::value<enum InputType>,boost::_bi::value<InputHandler * __ptr64>,boost::_bi::value<MultiplayerManager * __ptr64>,boost::_bi::value<bool> > > >::run
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6F0128BD3)
00007FF6F0128BD3 (Factorio): (filename not available): boost::thread::start_thread_noexcept
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5C0A13D2)
00007FFE5C0A13D2 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE5E9D54E4)
00007FFE5E9D54E4 (ntdll): (filename not available): RtlUserThreadStart
18.916 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Re: Broken save

Posted: Tue Jul 12, 2016 11:03 am
by posila
Thanks for the report and for providing both saves.
I have spent some time investigating the corrupted and wasn't able to determine cause of the corruption nor way to recover the save so far.

Re: [0.13.6][posila] Broken save

Posted: Tue Jul 12, 2016 3:10 pm
by Loewchen
With what version of the game was the map created originally?

Re: [0.13.6][posila] Broken save

Posted: Tue Jul 12, 2016 4:05 pm
by briezee
Originally this was created in .12.35, it has been played in .13.4, .13.5 and .13.6. (For both working and non). Also, this is a single player world.

Correction, this was not played in .13.2. I went from 12.35 to 13.4 because I was working major overtime when .13 came out.

Re: [0.13.6][posila] Broken save

Posted: Tue Jul 12, 2016 4:24 pm
by Loewchen
briezee wrote:Originally this was created in 12.35 [...]
Then I would assume: viewtopic.php?f=11&t=27214

Re: [0.13.6][posila] Broken save

Posted: Tue Jul 12, 2016 8:56 pm
by posila
If it was not played on 0.13.0, it is not the bug with rock migration. Tiles are corrupted, but in a way I haven't seen before. I cannot tell where corrupted tiles end and where entities start, entities might be corrupted too.

Re: [0.13.6][posila] Broken save

Posted: Wed Jul 13, 2016 5:06 am
by briezee
Looking through the autosaves, I discovered that the autosave 55 seconds before the bad save actually loads.

I'm able to play where I left off, so I don't know if you want me to upload that save or simply close this and assume that it was save hiccup (I'm not sure how to reproduce the error at all).

Sorry for not checking the autosave earlier!

Re: [0.13.6][posila] Broken save

Posted: Wed Jul 13, 2016 6:36 am
by posila
Yes, upload the autosave, please. I'm still trying to figure out what went wrong and the autosave might help. Thank you :)

Re: [0.13.6][posila] Broken save

Posted: Wed Jul 13, 2016 3:50 pm
by briezee
Here's the autosave. I don't think I did much in that minute other than walk back to the fortified area and inventory management.

Re: [0.13.6][posila] Broken save

Posted: Wed Jul 13, 2016 7:07 pm
by posila
Thanks :)
I tried to unzip the corrupted save in something different than Factorio and I got CRC error when unpacking level.dat. So ZIP itselft is broken. No wonder I couldn't make sense of data Factorio was reading.
I can't tell why ZIP got broken, it might be HW issue, it might be something else (for example Steam Cloud synchronization error).
I'll put the report to 1/0 Magic for now and will keep an eye on save corruption bug reports to see if this happens more often.

Re: [0.13.6][posila] Broken save

Posted: Wed Jul 13, 2016 8:23 pm
by briezee
Thanks for all of your help!