Page 1 of 1

[0.16.50] Crash loading big .14 map: "ResizeInventoryHelper::setup"

Posted: Thu Jun 14, 2018 11:37 pm
by Jackalope_Gaming
I was loading a map from 0.14.22 in 0.16.50 and the loading bar went to full, but it never actually competed loading the map. Instead it stayed several minutes at the full loading bar before it came up with an error and asked me to share the error log. So here it is, with [sic] instead of my username of course. Said map was called "2 RPM public" so I fully expected my computer to at least be slow with it, but didn't expect it to take a while and then decide not it couldn't handle the save.

Code: Select all

  0.001 2018-06-14 17:20:41; Factorio 0.16.50 (build 36649, win64, steam)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "C:\Program Files\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "5464" 
   0.001 Read data path: C:/Program Files/SteamLibrary/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/[sic]/AppData/Roaming/Factorio [95112/238415MB]
   0.001 Binaries path: C:/Program Files/SteamLibrary/steamapps/common/Factorio/bin
   0.009 System info: [CPU: Intel(R) Core(TM)2 Duo CPU     E8600  @ 3.33GHz, 2 cores, RAM: 1833/3965 MB, page: 3435/11894 MB, virtual: 168/8388607 MB, extended virtual: 0 MB]
   0.010 Display options: [FullScreen: 0] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 0] [Lang: en]
   0.010 Available display adapters: 2
   0.010  [0]: \\.\DISPLAY1 - AMD Radeon R7 200 Series {0x05, [0,0], 1440x900, 32bit, 60Hz}
   0.011  [1]: \\.\DISPLAY2 - AMD Radeon R7 200 Series {0x01, [1440,0], 1280x1024, 32bit, 60Hz}
   0.011 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.266 Initialised OpenGL:[0] AMD Radeon R7 200 Series; driver: 4.5.13521 Compatibility Profile Context 24.20.11016.4
   0.267   GL_NVX_gpu_memory_info not supported, VRAM detection won't work properly
   0.315 DSound: Starting _dsound_update thread
   0.315 DSound: Enter _dsound_update; tid=1344
   0.316 Graphics settings preset: low
   0.316 Graphics options: [Graphics quality: low] [Video memory usage: all] [Light scale: 100%] [DXT: auto] [Shader: 1]
   0.316                   [Parallel sprite loading: 1] [Max texture size: 0/4096] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 1]
   0.529 Info ModManager.cpp:200: Found duplicate mod aai-motor-speed-tweak, using higher version (0.0.2 > 0.0.1).
   0.530 Info ModManager.cpp:205: Found duplicate mod aai-motor-speed-tweak, using folder version (0.0.2).
   1.820 Info ModManager.cpp:200: Found duplicate mod beltSorter, using higher version (0.5.4 > 0.4.1).
   2.050 Info ModManager.cpp:205: Found duplicate mod Caves, using folder version (0.1.7).
   2.365 Info ModManager.cpp:200: Found duplicate mod folk-shuttle, using higher version (0.1.13 > 0.1.12).
   2.398 Info ModManager.cpp:200: Found duplicate mod hardCrafting, using higher version (0.6.1 > 0.5.7).
   2.457 Info ModManager.cpp:200: Found duplicate mod More-Locomotives, using higher version (0.6.1 > 0.5.2).
   2.545 Info ModManager.cpp:200: Found duplicate mod Orbital Ion Cannon, using higher version (1.6.3 > 1.5.3).
   2.743 Error ModManager.cpp:677: Mod package read error. JSON parser error in package metadata: Unexpected character at C:/Users/[sic]/AppData/Roaming/Factorio/mods/Red_Assembling_Machine_0.1.1/info.json:9
   2.757 Info ModManager.cpp:205: Found duplicate mod Sane-Concrete, using folder version (1.1.1).
   2.937 Info ModManager.cpp:200: Found duplicate mod SpaceMod, using higher version (0.3.4 > 0.3.1).
   2.939 Info ModManager.cpp:205: Found duplicate mod SpaceMod-bobs, using folder version (0.3.0).
   3.002 Info ModManager.cpp:200: Found duplicate mod Warehousing, using higher version (0.1.2 > 0.0.13).
   3.184 Loading mod core 0.0.0 (data.lua)
   3.205 Loading mod base 0.16.50 (data.lua)
   3.397 Loading mod base 0.16.50 (data-updates.lua)
   3.463 Checksum for core: 840319042
   3.463 Checksum of base: 3323233190
   3.595 Loading sounds...
   3.733 Info PlayerData.cpp:67: Local player-data.json unavailable
   3.733 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1529012619
   3.967 Loaded shader file C:/Program Files/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   3.968 Loaded shader file C:/Program Files/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   3.969 Loaded shader file C:/Program Files/SteamLibrary/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.glsl
   3.992 Crop bitmaps.
   4.227 Initial atlas bitmap size is 16384
   4.230 Created atlas bitmap 16384x3326 [none]
   4.230 Created atlas bitmap 8192x2352 [terrain]
   4.231 Created atlas bitmap 8192x344 [decal]
   4.249 Created atlas bitmap 4096x2344 [compressed, mask]
   4.284 Created atlas bitmap 4096x3920 [compressed, mask, shadow]
   4.296 Created atlas bitmap 4096x1392 [compressed, mask, smoke]
   4.296 Created atlas bitmap 4096x1844 [no-crop, trilinear-filtering, icon, light]
   4.297 Created atlas bitmap 4096x476 [alpha-mask]
  22.622 Sprites loaded
  22.622 Convert atlas 4096x2344 to: compressed 
  23.676 Convert atlas 4096x3920 to: compressed 
  25.075 Convert atlas 4096x1392 to: compressed 
  25.691 Convert atlas 4096x1844 to: trilinear-filtering 
  25.804 Convert atlas 4096x476 to: alpha-mask
  25.857 Custom inputs active: 0
  26.021 Factorio initialised
  39.143 Loading map C:\Users\[sic]\AppData\Roaming\Factorio\saves\2 RPM public.zip: 183437103 bytes.
  39.635 Loading Level.dat: 435900008 bytes.
  39.641 Info Scenario.cpp:136: Map version 0.14.22-0
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2016-11-24_Factorio_0.15.0.json
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-01-17_Factorio_0.15.0.json
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-01-18_Factorio_0.15.0.json
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-02-08_Factorio_0.15.0.json
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-03-03_Factorio_0.15.0.json
  39.656 Info PrototypeMigrationList.cpp:61: Activating migration base/2017-12-03_Factorio_0.16.0.json
 439.887 Error CrashHandler.cpp:373: Exception Code: c0000005, Address: 0x000000013f558a79
ModuleBase: 0x000000013f120000, ImageSize: 013da000, RelativeAddress: 00438a79
 439.935 Error CrashHandler.cpp:379: Access Violation: Read at address 00000000000000B8
 439.935 Error CrashHandler.cpp:393: Exception Context:
rax=0000000000000000, rbx=0000000018681448, rcx=00000000af074600,
rdx=00000000000003e8, rsi=0000000000016f32, rdi=000000000000a27d,
rip=000000013f558a79, rsp=0000000018eeea30, rbp=0000000018eeeab0,
 r8=0000000018eeea90,  r9=00000000000001ac, r10=0000000000000001,
r11=0000000e0207000c, r12=00000000129b99d0, r13=00000000b0007db0,
r14=0000000029fc3b48, r15=0000000000000000
 439.937 Crashed in C:\Program Files\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe (0x000000013f120000 - 0x00000001404fa000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-lemx6g\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-lemx6g\src\util\logger.cpp (408): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-lemx6g\src\util\logger.cpp (521): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-lemx6g\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-lemx6g\src\util\crashhandler.cpp (420): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076D2BC20)
0000000076D2BC20 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E29035)
0000000076E29035 (ntdll): (filename not available): longjmp
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E07398)
0000000076E07398 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E1BF9D)
0000000076E1BF9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076DF04CA)
0000000076DF04CA (ntdll): (filename not available): RtlInitializeResource
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E1B63E)
0000000076E1B63E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-lemx6g\src\item\inventorymigrationhelpers.cpp (45): ResizeInventoryHelper::setup
c:\cygwin64\tmp\factorio-build-lemx6g\src\map\saveloadhelper.cpp (7): LoadHelper::setup
c:\cygwin64\tmp\factorio-build-lemx6g\src\map\mapdeserialiser.cpp (140): MapDeserialiser::setupPreFinalLoadHelpers
c:\cygwin64\tmp\factorio-build-lemx6g\src\map\map.cpp (916): Map::setupEntities
c:\cygwin64\tmp\factorio-build-lemx6g\src\scenario\scenario.cpp (220): Scenario::loadFactory
c:\cygwin64\tmp\factorio-build-lemx6g\src\scenario\parallelscenarioloader.cpp (125): ParallelScenarioLoader::doLoad
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool),ParallelScenarioLoader * __ptr64,MapDeserialiser * __ptr64,enum InputType,InputHandler * __ptr64,MultiplayerManagerBase * __ptr64,bool> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076CA59CD)
0000000076CA59CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076E0383D)
0000000076E0383D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 464.061 Error Util.cpp:67: 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.
 504.840 Uploading log file
 552.085 Error CrashHandler.cpp:227: Heap validation: success.
 552.114 Creating crash dump.
 554.671 CrashDump success

Re: [0.16.50] Crash loading big .14 map: "ResizeInventoryHelper::setup"

Posted: Fri Jun 15, 2018 9:49 am
by Rseding91
Please post the save file.

Re: [0.16.50] Crash loading big .14 map: "ResizeInventoryHelper::setup"

Posted: Fri Jun 15, 2018 3:20 pm
by Jackalope_Gaming
Rseding91 wrote:Please post the save file.
Here you go:

https://www.dropbox.com/s/v8ibbjxsfx6cd ... c.zip?dl=0

Re: [0.16.50] Crash loading big .14 map: "ResizeInventoryHelper::setup"

Posted: Sat Jun 16, 2018 5:33 pm
by Rseding91
Thanks for the report and the save file. It's now fixed for 0.17.

Here's a copy of your save migrated to the latest version of 0.16: https://www.dropbox.com/s/n67ag6f3oncrt ... d.zip?dl=0