[0.17.5] Crash when loading old save

This subforum contains all the issues which we already resolved.
Post Reply
Ringis96
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 27, 2017 11:50 am
Contact:

[0.17.5] Crash when loading old save

Post by Ringis96 »

1. In 0.17.5 i tried to load older saves, one from 0.16.51 and one from 0.15.x
2. The game immediately crashes.
3. I expected the world to migrate and be playable/the game not to chrash

To reproduce: Try open my attached save file in 0.17.5

Link to save:
https://drive.google.com/file/d/1uxHV_q ... sp=sharing
Attachments
factorio-dump-current.dmp
(611.82 KiB) Downloaded 96 times

Schallfalke
Fast Inserter
Fast Inserter
Posts: 162
Joined: Sun Oct 28, 2018 7:57 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by Schallfalke »

EDIT: Looking at his log file, the problem of mine is not the same as this.
It should be 66719 instead.
Last edited by Schallfalke on Mon Mar 04, 2019 7:38 pm, edited 1 time in total.

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by Loewchen »

Post the log.

Ringis96
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 27, 2017 11:50 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by Ringis96 »

Here is the log file
Attachments
factorio-current.log
(9.13 KiB) Downloaded 103 times

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by Loewchen »

Code: Select all

   0.000 2019-03-04 20:30:13; Factorio 0.17.5 (build 43269, win64, steam)
   0.000 Operating system: Windows 10 (version 1803) 
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.000 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/ANDRI/AppData/Roaming/Factorio [152471/237125MB]
   0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.005 System info: [CPU: Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz, 4 cores, RAM: 4341/16314 MB, page: 6565/18746 MB, virtual: 4327/134217727 MB, extended virtual: 0 MB]
   0.005 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.010 Available displays: 2
   0.010  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 6GB {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.010  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1060 6GB {0x01, [-1360,165], 1360x768, 32bit, 60Hz}
   0.048 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.121 Initialised Direct3D[0]: NVIDIA GeForce GTX 1060 6GB; driver: nvldumdx.dll 25.21.14.1891
   0.121   D3D Feature Level: 11.1, DXGI 1.5+
   0.121   [Local Video Memory] Budget: 5144MB, CurrentUsage: 2MB, Reservation: 0/2723MB
   0.121   [Non-Local Vid.Mem.] Budget: 7341MB, CurrentUsage: 0MB, Reservation: 0/3874MB
   0.121   Tiled resources: Tier 2
   0.121   Unified Memory Architecture: No
   0.121   BGR 565 Supported: Yes
   0.121   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.154 Desktop composition is active.
   0.155 Graphics settings preset: very-high
   0.155   Dedicated video memory size 6052 MB
   0.155 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: high-quality]
   0.155                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 1] [Low quality rotation: 0]
   0.189 DSound: Starting _dsound_update thread
   0.189 DSound: Enter _dsound_update; tid=7124
   0.248 Loading mod core 0.0.0 (data.lua)
   0.308 Loading mod base 0.17.5 (data.lua)
   0.478 Loading mod base 0.17.5 (data-updates.lua)
   0.561 Checksum for core: 3928040144
   0.561 Checksum of base: 3918046970
   0.964 Loading sounds...
   1.013 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.013 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551727790
   1.111 Initial atlas bitmap size is 16384
   1.131 Created atlas bitmap 16384x16384 [none]
   1.131 Created atlas bitmap 16384x4444 [none]
   1.131 Created atlas bitmap 16384x2116 [decal]
   1.132 Created atlas bitmap 16384x3808 [low-object]
   1.133 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.134 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.134 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.134 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.134 Created atlas bitmap 16384x748 [alpha-mask]
   1.137 Created atlas bitmap 16384x12640 [shadow, linear-magnification, alpha-mask]
   1.137 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.292 Created virtual atlas pages 4096x4096x7
   1.298 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.873 Parallel Sprite Loader initialized (threads: 3)
  11.490 Sprites loaded
  11.556 Generated mipmaps for atlas of size 16384x3808
  11.589 Generated mipmaps for atlas of size 16384x1888
  11.611 Generated mipmaps for atlas of size 16384x6880
  11.622 Generated mipmaps for atlas of size 16384x480
  11.634 Generated mipmaps for atlas of size 16384x456
  11.645 Generated mipmaps for atlas of size 16384x1264
  11.759 Generated mipmaps for virtual atlas of size 8192x16384
  11.763 Custom inputs active: 0
  11.811 Factorio initialised
  16.617 Loading map C:\Users\ANDRI\AppData\Roaming\Factorio\saves\2nd attemt - Copy.zip: 33814199 bytes.
  16.680 Loading Level.dat: 90803768 bytes.
  16.684 Info Scenario.cpp:147: Map version 0.16.51-0
  16.686 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-05-22_Factorio_0.17.0.json
  16.686 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-06-12_Factorio_0.17.0.json
  16.686 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-21_Factorio_0.17.0.json
  16.686 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-27_Factorio_0.17.0.json
  16.698 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff706d2b2f8
ModuleBase: 0x00007ff706aa0000, ImageSize: 015f0000, RelativeAddress: 0028b2f8
  16.698 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000080
  16.698 Error CrashHandler.cpp:396: Exception Context:
rax=000002285546ece0, rbx=0000000000000001, rcx=0000000000000000,
rdx=0000000000000041, rsi=0000000000000080, rdi=0000000000000010,
rip=00007ff706d2b2f8, rsp=000000ffbf8fead0, rbp=0000000000470000,
 r8=0000000000000014,  r9=0000000000000014, r10=000002285546c5d0,
r11=0000000000000000, r12=0000022892311038, r13=0000022852e99c20,
r14=0000022892311050, r15=000002284f1ded10
  16.698 Crashed in C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff706aa0000 - 0x00007ff708090000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-0zstqu\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFB14BDD0)
00007FFAFB14BDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEC93167)
00007FFAFEC93167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEC7B5E6)
00007FFAFEC7B5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEC8F7DD)
00007FFAFEC8F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEBFD856)
00007FFAFEBFD856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEC8E70E)
00007FFAFEC8E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-0zstqu\src\force\forcedata.cpp (1129): ForceData::loadConstructionManagers
c:\cygwin64\tmp\factorio-build-0zstqu\src\force\forcedata.cpp (141): ForceData::ForceData
c:\cygwin64\tmp\factorio-build-0zstqu\src\force\forcemanager.cpp (57): ForceManager::load
c:\cygwin64\tmp\factorio-build-0zstqu\src\map\map.cpp (516): Map::loadData
c:\cygwin64\tmp\factorio-build-0zstqu\src\map\map.cpp (292): Map::load
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\scenario.cpp (178): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\parallelscenarioloader.cpp (155): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEA63DC4)
00007FFAFEA63DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAFEC63691)
00007FFAFEC63691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  17.990 Error Util.cpp:97: 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.
  27.194 Uploading log file
  27.199 Error CrashHandler.cpp:221: Heap validation: success.
  27.200 Creating crash dump.
  27.322 CrashDump success

AlFayed
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 18, 2018 5:03 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by AlFayed »

Looks similar here.
- My Savegame vom 16.51 ("Free_1_318.zip") gives a "Couldn't read from input file. File could be corrupted" error
https://www.dropbox.com/s/qj9mdsg6d9q68 ... 8.zip?dl=0
- 0.15.12 save ("Free_3_04.zip") crashes the game totally (mod-free, thats why I tried that old one).
https://www.dropbox.com/s/t1zq0fqulzdlx ... 4.zip?dl=0

Code: Select all

   0.001 2019-03-04 22:16:36; Factorio 0.17.5 (build 43269, win64, steam)
   0.001 Operating system: Windows 10 (version 1803) 
   0.003 Program arguments: "C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: C:/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/Dominic/AppData/Roaming/Factorio [179165/476372MB]
   0.003 Binaries path: C:/Steam/steamapps/common/Factorio/bin
   0.011 System info: [CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz, 6 cores, RAM: 8345/16306 MB, page: 19013/27932 MB, virtual: 4328/134217727 MB, extended virtual: 0 MB]
   0.013 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: de]
   0.042 Available displays: 3
   0.042  [0]: \\.\DISPLAY1 - ASUS R9 280 Series {0x8080005, [0,0], 1920x1200, 32bit, 60Hz}
   0.043  [1]: \\.\DISPLAY2 - ASUS R9 280 Series {0x80001, [1920,0], 1920x1200, 32bit, 60Hz}
   0.044  [2]: \\.\DISPLAY3 - ASUS R9 280 Series {0x80001, [-1680,0], 1680x1050, 32bit, 60Hz}
   0.115 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.182 Initialised Direct3D[0]: ASUS R9 280 Series; driver: aticfx64.dll 23.20.15007.1005
   0.182   D3D Feature Level: 11.1, DXGI 1.5+
   0.182   [Local Video Memory] Budget: 2594MB, CurrentUsage: 0MB, Reservation: 0/1373MB
   0.182   [Non-Local Vid.Mem.] Budget: 7337MB, CurrentUsage: 0MB, Reservation: 0/3872MB
   0.182   Tiled resources: Tier 1
   0.182   Unified Memory Architecture: No
   0.182   BGR 565 Supported: Yes
   0.182   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.222 Desktop composition is active.
   0.223 Graphics settings preset: very-high
   0.223   Dedicated video memory size 3052 MB
   0.223 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.223                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.258 DSound: Starting _dsound_update thread
   0.259 DSound: Enter _dsound_update; tid=18288
   0.404 Loading mod core 0.0.0 (data.lua)
   0.460 Loading mod base 0.17.5 (data.lua)
   0.627 Loading mod base 0.17.5 (data-updates.lua)
   0.706 Checksum for core: 3928040144
   0.706 Checksum of base: 3918046970
   1.105 Loading sounds...
   1.163 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.163 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551729741
   1.265 Initial atlas bitmap size is 16384
   1.286 Created atlas bitmap 16384x16384 [none]
   1.288 Created atlas bitmap 16384x11296 [none]
   1.288 Created atlas bitmap 16384x2116 [decal]
   1.289 Created atlas bitmap 16384x3808 [low-object]
   1.289 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.290 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.290 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.290 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.290 Created atlas bitmap 16384x748 [alpha-mask]
   1.291 Created atlas bitmap 16384x12640 [shadow, linear-magnification, alpha-mask]
   1.292 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.297 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.914 Parallel Sprite Loader initialized (threads: 5)
   8.304 Sprites loaded
   8.502 Generated mipmaps for atlas of size 16384x3808
   8.568 Generated mipmaps for atlas of size 16384x1888
   8.612 Generated mipmaps for atlas of size 16384x6880
   8.633 Generated mipmaps for atlas of size 16384x480
   8.644 Generated mipmaps for atlas of size 16384x456
   8.655 Generated mipmaps for atlas of size 16384x1264
   8.659 Custom inputs active: 0
   8.707 Factorio initialised
  32.069 Loading map C:\Users\Dominic\AppData\Roaming\Factorio\saves\Free_1_318.zip: 33229655 bytes.
  32.123 Loading Level.dat: 73659345 bytes.
  32.127 Info Scenario.cpp:147: Map version 0.16.51-0
  32.130 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-05-22_Factorio_0.17.0.json
  32.130 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-06-12_Factorio_0.17.0.json
  32.130 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-21_Factorio_0.17.0.json
  32.130 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-27_Factorio_0.17.0.json
  34.197 Warning Map.cpp:315: Map loading failed: Couldn't read from input file. File could be corrupted.
  34.257 Error AppManagerStates.cpp:1426: Couldn't read from input file. File could be corrupted.
  86.129 Loading map C:\Users\Dominic\AppData\Roaming\Factorio\saves\Free_3_04.zip: 3539428 bytes.
  86.206 Loading Level.dat: 6345530 bytes.
  86.208 Info Scenario.cpp:147: Map version 0.15.12-0
  86.210 Info PrototypeMigrationList.cpp:60: Activating migration base/2017-12-03_Factorio_0.16.0.json
  86.210 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-05-22_Factorio_0.17.0.json
  86.210 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-06-12_Factorio_0.17.0.json
  86.210 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-21_Factorio_0.17.0.json
  86.211 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-27_Factorio_0.17.0.json
  86.236 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff79641137f
ModuleBase: 0x00007ff795eb0000, ImageSize: 015f0000, RelativeAddress: 0056137f
  86.236 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000000
  86.236 Error CrashHandler.cpp:396: Exception Context:
rax=0000001000130002, rbx=0000000000000000, rcx=0000001000070000,
rdx=0000000000000000, rsi=0000000000000000, rdi=0000000000000000,
rip=00007ff79641137f, rsp=0000006f0dbff1a0, rbp=0000006f0dbff2a0,
 r8=000001e9df137980,  r9=0000000000008000, r10=000001e9cdb7cea0,
r11=000001e9f864e451, r12=000001e9f8bda500, r13=000001e9f4bc5c50,
r14=0000000000000000, r15=000001e9f08be701
  86.236 Crashed in C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff795eb0000 - 0x00007ff7974a0000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-0zstqu\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8577BCF0)
00007FFC8577BCF0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88732757)
00007FFC88732757 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8871AB46)
00007FFC8871AB46 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8872ED3D)
00007FFC8872ED3D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88696C86)
00007FFC88696C86 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8872DC6E)
00007FFC8872DC6E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-0zstqu\src\map\map.cpp (981): Map::setupEntities
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\scenario.cpp (226): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\parallelscenarioloader.cpp (155): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88513034)
00007FFC88513034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88701471)
00007FFC88701471 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  87.510 Error Util.cpp:97: 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.
  92.426 Uploading log file
  92.440 Error CrashHandler.cpp:221: Heap validation: success.
  92.441 Creating crash dump.
  92.630 CrashDump success
- another 0.16.51 ("Free_4_01") with less hours also crashes
https://www.dropbox.com/s/v9h73m1d0smxk ... 1.zip?dl=0

Code: Select all

   0.001 2019-03-04 22:22:24; Factorio 0.17.5 (build 43269, win64, steam)
   0.001 Operating system: Windows 10 (version 1803) 
   0.002 Program arguments: "C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/Dominic/AppData/Roaming/Factorio [179164/476372MB]
   0.002 Binaries path: C:/Steam/steamapps/common/Factorio/bin
   0.011 System info: [CPU: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz, 6 cores, RAM: 8242/16306 MB, page: 18859/27932 MB, virtual: 4328/134217727 MB, extended virtual: 0 MB]
   0.011 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: de]
   0.041 Available displays: 3
   0.041  [0]: \\.\DISPLAY1 - ASUS R9 280 Series {0x8080005, [0,0], 1920x1200, 32bit, 60Hz}
   0.042  [1]: \\.\DISPLAY2 - ASUS R9 280 Series {0x80001, [1920,0], 1920x1200, 32bit, 60Hz}
   0.043  [2]: \\.\DISPLAY3 - ASUS R9 280 Series {0x80001, [-1680,0], 1680x1050, 32bit, 60Hz}
   0.111 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.181 Initialised Direct3D[0]: ASUS R9 280 Series; driver: aticfx64.dll 23.20.15007.1005
   0.181   D3D Feature Level: 11.1, DXGI 1.5+
   0.181   [Local Video Memory] Budget: 2594MB, CurrentUsage: 0MB, Reservation: 0/1373MB
   0.181   [Non-Local Vid.Mem.] Budget: 7337MB, CurrentUsage: 0MB, Reservation: 0/3872MB
   0.181   Tiled resources: Tier 1
   0.181   Unified Memory Architecture: No
   0.181   BGR 565 Supported: Yes
   0.181   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.221 Desktop composition is active.
   0.221 Graphics settings preset: very-high
   0.221   Dedicated video memory size 3052 MB
   0.221 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.221                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.257 DSound: Starting _dsound_update thread
   0.257 DSound: Enter _dsound_update; tid=8900
   0.402 Loading mod core 0.0.0 (data.lua)
   0.457 Loading mod base 0.17.5 (data.lua)
   0.632 Loading mod base 0.17.5 (data-updates.lua)
   0.711 Checksum for core: 3928040144
   0.711 Checksum of base: 3918046970
   1.112 Loading sounds...
   1.177 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.177 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1551729741
   1.282 Initial atlas bitmap size is 16384
   1.304 Created atlas bitmap 16384x16384 [none]
   1.306 Created atlas bitmap 16384x11296 [none]
   1.306 Created atlas bitmap 16384x2116 [decal]
   1.307 Created atlas bitmap 16384x3808 [low-object]
   1.307 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.307 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.307 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.308 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.308 Created atlas bitmap 16384x748 [alpha-mask]
   1.309 Created atlas bitmap 16384x12640 [shadow, linear-magnification, alpha-mask]
   1.309 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.316 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.995 Parallel Sprite Loader initialized (threads: 5)
   8.303 Sprites loaded
   8.498 Generated mipmaps for atlas of size 16384x3808
   8.563 Generated mipmaps for atlas of size 16384x1888
   8.607 Generated mipmaps for atlas of size 16384x6880
   8.628 Generated mipmaps for atlas of size 16384x480
   8.639 Generated mipmaps for atlas of size 16384x456
   8.650 Generated mipmaps for atlas of size 16384x1264
   8.654 Custom inputs active: 0
   8.705 Factorio initialised
 201.260 Loading map C:\Users\Dominic\AppData\Roaming\Factorio\saves\Free_4_01.zip: 4624480 bytes.
 201.316 Loading Level.dat: 7879225 bytes.
 201.318 Info Scenario.cpp:147: Map version 0.16.51-0
 201.320 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-05-22_Factorio_0.17.0.json
 201.321 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-06-12_Factorio_0.17.0.json
 201.321 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-21_Factorio_0.17.0.json
 201.321 Info PrototypeMigrationList.cpp:60: Activating migration base/2018-12-27_Factorio_0.17.0.json
 201.346 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff7964115e4
ModuleBase: 0x00007ff795eb0000, ImageSize: 015f0000, RelativeAddress: 005615e4
 201.346 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000000
 201.346 Error CrashHandler.cpp:396: Exception Context:
rax=0000001000330000, rbx=0000012c8b0621b0, rcx=0000001100040000,
rdx=0000000000000000, rsi=0000000000000000, rdi=0000000000000000,
rip=00007ff7964115e4, rsp=000000105c0fef70, rbp=000000105c0ff070,
 r8=0000012c9ac4abe4,  r9=000000000000001b, r10=00000000000001f0,
r11=000000105c0fee70, r12=0000012cb4b7d300, r13=0000012cafdd4d40,
r14=0000000000000000, r15=0000012cb4096b00
 201.346 Crashed in C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff795eb0000 - 0x00007ff7974a0000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-0zstqu\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (415): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\logger.cpp (566): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8577BCF0)
00007FFC8577BCF0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88732757)
00007FFC88732757 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8871AB46)
00007FFC8871AB46 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8872ED3D)
00007FFC8872ED3D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88696C86)
00007FFC88696C86 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC8872DC6E)
00007FFC8872DC6E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-0zstqu\src\map\map.cpp (1009): Map::setupEntities
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\scenario.cpp (226): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\parallelscenarioloader.cpp (155): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool),ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,bool> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88513034)
00007FFC88513034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC88701471)
00007FFC88701471 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 202.666 Error Util.cpp:97: 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.
 208.960 Uploading log file
 208.976 Error CrashHandler.cpp:221: Heap validation: success.
 208.977 Creating crash dump.
 209.161 CrashDump success

To be said: I deaktivated every mod for this tests. After 0.17-update I only played the compaign yet, no problem with that.
Environment: Looks everything is in the log, fine :D

fochristo
Inserter
Inserter
Posts: 27
Joined: Fri Dec 02, 2016 12:40 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by fochristo »

Same thing with 0.16 saves.
No mods.

That worked with 0.17.4

You can download map at www.omybot.com/factorio/map16.zip (104Mo)
Log and dump attached.
Attachments
factorio-dump-previous.dmp
(694.56 KiB) Downloaded 99 times
factorio-previous.log
(10.56 KiB) Downloaded 106 times

Blacksmoke16
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Oct 14, 2016 5:35 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by Blacksmoke16 »

factorio-current.log
(9.24 KiB) Downloaded 135 times
Error I get when trying to load save from 0.16.51 with no mods.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2241
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by boskid »

Crash, different stacktrace:

Code: Select all

c:\cygwin64\tmp\factorio-build-0zstqu\src\force\forcemanager.cpp (108): ForceManager::update
c:\cygwin64\tmp\factorio-build-0zstqu\src\map\map.cpp (1446): Map::updateEntities
c:\cygwin64\tmp\factorio-build-0zstqu\src\game.cpp (189): Game::update
c:\cygwin64\tmp\factorio-build-0zstqu\src\scenario\scenario.cpp (1077): Scenario::update
c:\cygwin64\tmp\factorio-build-0zstqu\src\mainloop.cpp (1064): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-0zstqu\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-0zstqu\src\util\workerthread.cpp (42): WorkerThread::loop
Attachments
LazyIdleFactorio.zip
(5.19 MiB) Downloaded 107 times
factorio-dump-current.dmp
(660.2 KiB) Downloaded 76 times
factorio-current.log
(24.58 KiB) Downloaded 93 times

clampi
Inserter
Inserter
Posts: 35
Joined: Tue Mar 08, 2016 11:28 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by clampi »

Here is another 0.16.51 save (modded) that exhibits the same behavior when I try to load. While the save comes from a modded game, I load in an un-modded 0.17.5.
Attachments
factorio-current.log
Log of the failed savegame load.
(7.1 KiB) Downloaded 69 times
G_09_Start.zip
Gives the "Map loading failed: Couldn't read from input file. File could be corrupted." message
(6.38 MiB) Downloaded 80 times

eduran
Filter Inserter
Filter Inserter
Posts: 344
Joined: Fri May 09, 2014 2:52 pm
Contact:

Re: [0.17.5] Crash when loading old save

Post by eduran »

Another one. The log file contains three different issues, all trying to load old maps.

First one:

Code: Select all

  
52.882 Warning Map.cpp:315: Map loading failed: Couldn't read from input file. File could be corrupted.
53.371 Error AppManagerStates.cpp:1426: Couldn't read from input file. File could be corrupted.
Second one:

Code: Select all

 
58.713 Warning Map.cpp:315: Map loading failed: bad allocation
58.789 Error AppManagerStates.cpp:1426: bad allocation
And finally, the crash:

Code: Select all

66.678 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff66faadbe0
ModuleBase: 0x00007ff66f1a0000, ImageSize: 015f0000, RelativeAddress: 0090dbe0
66.679 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000008
66.679 Error CrashHandler.cpp:396: Exception Context:
rax=0000000000000008, rbx=00000150ca8993d0, rcx=0000000000000018,
rdx=0000015063730000, rsi=00000000000027b3, rdi=0000000000000f22,
rip=00007ff66faadbe0, rsp=0000003bcd4ff060, rbp=0000003bcd4ff1e0,r8=0000000000000000,  r9=00000150835b54c0, r10=00000150835b54e8,
r11=00000150835b54c0, r12=000001507ad368c0, r13=000001502ef39c30,
r14=0000000000000001, r15=00000150349ebc80
66.679 Crashed in D:\Programme\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff66f1a0000 - 0x00007ff670790000)
The attached savegame is the one causing the crash. The other two save files are too large for my super-slow internet connection. Let me know in case you need them and I will try to upload them anyway.
Attachments
LTN Demo 1.8.0.zip
(2.68 MiB) Downloaded 81 times
factorio-dump-current.dmp
(524.47 KiB) Downloaded 65 times
factorio-current.log
(10.94 KiB) Downloaded 82 times

siemey
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Mar 05, 2019 9:00 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by siemey »

Same here - new 0.17 game worked fine up to 0.17.4. Tonight it crashes on load. All mods disabled. Starting a new map seems to be fine. Files attached.

(EDIT: Loading a < 0.17.2 save works fine)
Attachments
simon-17-test-7.zip
Offending save file
(14.51 MiB) Downloaded 81 times
factorio-dump-current.dmp
(878.65 KiB) Downloaded 82 times
factorio-current.log
(9.19 KiB) Downloaded 71 times
Last edited by siemey on Tue Mar 05, 2019 9:41 am, edited 1 time in total.

User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by SuperSandro2000 »

c:\cygwin64\tmp\factorio-build-0zstqu\src\force\forcemanager.cpp (108): ForceManager::update
Why the heck are the building a Linux game on Windows with Cygwin?
I am pretty sure building native would be faster and less prone to cross OS bugs.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.17.5] Crash when loading old save

Post by kovarex »

Thanks for the report. Basically all pre 0.17 saves with research in progress were unloadable. (This sometimes happens when you add last commit right before release).

This is already fixed for 0.17.6

Post Reply

Return to “Resolved Problems and Bugs”