Page 1 of 1

[16.1] Crash when loading old save: "EntityWithForce::checkNearbyForcesUnRegistration"

Posted: Thu Dec 14, 2017 9:50 am
by Zorks
So i updated to 0.16.1 and when i load into my save, it works until i take a few steps, then it crashes :o

Code: Select all

   0.001 2017-12-14 19:08:22; Factorio 0.16.1 (build 34215, win64, steam)
   0.001 Operating system: Windows 10 (version 1709) 
   0.001 Program arguments: "F:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "6712" 
   0.001 Read data path: F:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Lachlan/AppData/Roaming/Factorio [631175/1907176MB]
   0.001 Binaries path: F:/Steam/steamapps/common/Factorio/bin
   0.007 System info: [CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 4 cores, RAM: 20340MB]
   0.008 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 0] [Lang: en]
   0.010 Available display adapters: 2
   0.010  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1050 Ti {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.010  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1050 Ti {0x80001, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.011 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.087 Initialised Direct3D:[0] NVIDIA GeForce GTX 1050 Ti; driver: nvldumdx.dll 23.21.13.8813
   0.091   Video memory size (dedicated video/dedicated system/shared system/available): 4029/0/10170/4088 MB
   0.126 DSound: Starting _dsound_update thread
   0.126 DSound: Enter _dsound_update; tid=9148
   0.127 Device reset internal.
   0.130 Desktop composition is active.
   0.131 Graphics settings preset: very-high
   0.131 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false] [Shader: 1]
   0.131                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.324 Loading mod settings rso-mod 3.5.0 (settings.lua)
   0.328 Loading mod core 0.0.0 (data.lua)
   0.343 Loading mod base 0.16.1 (data.lua)
   0.471 Loading mod rso-mod 3.5.0 (data.lua)
   0.516 Loading mod base 0.16.1 (data-updates.lua)
   0.564 Loading mod rso-mod 3.5.0 (data-updates.lua)
   0.613 Checksum for core: 3022494965
   0.613 Checksum of base: 2024614476
   0.613 Checksum of rso-mod: 1802896012
   0.795 Loading sounds...
   0.848 Info PlayerData.cpp:67: Local player-data.json unavailable
   0.848 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1513238903
   1.302 Loaded shader file F:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   1.302 Loaded shader file F:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   1.302 Loaded shader file F:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   1.324 Initial atlas bitmap size is 16384
   1.358 Created atlas bitmap 16384x16378 [none]
   1.828 Created atlas bitmap 16384x15515 [none]
   2.246 Created atlas bitmap 8192x6312 [mipmap]
   2.326 Created atlas bitmap 8192x7448 [linear-minification, mipmap]
   2.410 Created atlas bitmap 8192x2100 [no-crop, trilinear-filtering, icon, light]
   2.436 Created atlas bitmap 8192x924 [alpha-mask]
  15.046 Sprites loaded
  15.046 Convert atlas 8192x6312 to: mipmap 
  15.332 Convert atlas 8192x7448 to: min-linear 
  15.717 Convert atlas 8192x2100 to: trilinear-filtering 
  15.869 Convert atlas 8192x924 to: alpha-mask
  16.927 Custom inputs active: 0
  16.966 Factorio initialised
  46.033 Loading map C:\Users\Lachlan\AppData\Roaming\Factorio\saves\Game 4.zip: 4747973 bytes.
  46.557 Loading Level.dat: 12875879 bytes.
  46.561 Info Scenario.cpp:135: Map version 0.15.40-0
  46.569 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-12-03_Factorio_0.16.0.json
  46.902 Info BlueprintLibrary.cpp:232: Loaded library shelves:
  46.902 Info BlueprintLibrary.cpp:798: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1512816476; records:
  46.902 Info BlueprintLibrary.cpp:800: Player shelf: playerIndex = 0, nextRecordID = 88; timestamp = 1512816789; records: (id: 0, 0; label: "", preview: false, empty: false; book) (id: 0, 39; label: "", preview: false, empty: false; book [id: 0, 4; label: "", preview: false, empty: false] [id: 0, 5; label: "", preview: false, empty: false] [id: 0, 6; label: "", preview: false, empty: false] [id: 0, 7; label: "", preview: false, empty: false] [id: 0, 8; label: "", preview: false, empty: false] [id: 0, 9; label: "", preview: false, empty: false] [id: 0, 10; label: "", preview: false, empty: false] [id: 0, 11; label: "", preview: false, empty: false] [id: 0, 12; label: "", preview: false, empty: false] [id: 0, 13; label: "", preview: false, empty: false] [id: 0, 14; label: "", preview: false, empty: false] [id: 0, 15; label: "", preview: false, empty: false] [id: 0, 16; label: "", preview: false, empty: false] [id: 0, 17; label: "", preview: false, empty: false] [id: 0, 18; label: "", preview: false, empty: false] [id: 0, 19; label: "", preview: false, empty: false] [id: 0, 20; label: "", preview: false, empty: false] [id: 0, 21; label: "", preview: false, empty: false] [id: 0, 22; label: "", preview: false, empty: false] [id: 0, 23; label: "", preview: false, empty: false] [id: 0, 24; label: "", preview: false, empty: false] [id: 0, 25; label: "", preview: false, empty: false] [id: 0, 26; label: "", preview: false, empty: false] [id: 0, 27; label: "", preview: false, empty: false] [id: 0, 28; label: "", preview: false, empty: false] [id: 0, 29; label: "", preview: false, empty: false] [id: 0, 30; label: "", preview: false, empty: false] [id: 0, 31; label: "", preview: false, empty: false] [id: 0, 32; label: "", preview: false, empty: false] [id: 0, 33; label: "", preview: false, empty: false] [id: 0, 34; label: "", preview: false, empty: false] [id: 0, 35; label: "", preview: false, empty: false] [id: 0, 36; label: "", preview: false, empty: false] [id: 0, 37; label: "", preview: false, empty: false] [id: 0, 38; label: "", preview: false, empty: false]) (id: 0, 63; label: "", preview: false, empty: false; book [id: 0, 40; label: "", preview: false, empty: false] [id: 0, 41; label: "", preview: false, empty: false] [id: 0, 42; label: "", preview: false, empty: false] [id: 0, 43; label: "", preview: false, empty: false] [id: 0, 44; label: "", preview: false, empty: false] [id: 0, 45; label: "", preview: false, empty: false] [id: 0, 46; label: "", preview: false, empty: false] [id: 0, 47; label: "", preview: false, empty: false] [id: 0, 48; label: "", preview: false, empty: false] [id: 0, 49; label: "", preview: false, empty: false] [id: 0, 50; label: "", preview: false, empty: false] [id: 0, 51; label: "", preview: false, empty: false] [id: 0, 52; label: "", preview: false, empty: false] [id: 0, 53; label: "", preview: false, empty: false] [id: 0, 54; label: "", preview: false, empty: false] [id: 0, 55; label: "", preview: false, empty: false] [id: 0, 56; label: "", preview: false, empty: false] [id: 0, 57; label: "", preview: false, empty: false] [id: 0, 58; label: "", preview: false, empty: false] [id: 0, 59; label: "Iron Smelting Beacon", preview: false, empty: false] [id: 0, 60; label: "Copper Smelting Beacon", preview: false, empty: false] [id: 0, 61; label: "", preview: false, empty: false] [id: 0, 62; label: "Blank Smelting Beacon", preview: false, empty: false]) (id: 0, 1; label: "Biggus Dickus", preview: false, empty: false; book) (id: 0, 87; label: "Blueprint Book 1", preview: false, empty: false; book [id: 0, 64; label: "", preview: false, empty: false] [id: 0, 65; label: "", preview: false, empty: false] [id: 0, 66; label: "", preview: false, empty: false] [id: 0, 67; label: "", preview: false, empty: false] [id: 0, 68; label: "", preview: false, empty: false] [id: 0, 69; label: "", preview: false, empty: false] [id: 0, 70; label: "", preview: false, empty: false] [id: 0, 71; label: "", preview: false, empty: false] [id: 0, 72; label: "", preview: false, empty: false] [id: 0, 73; label: "", preview: false, empty: false] [id: 0, 74; label: "", preview: false, empty: false] [id: 0, 75; label: "", preview: false, empty: false] [id: 0, 76; label: "", preview: false, empty: false] [id: 0, 77; label: "", preview: false, empty: false] [id: 0, 78; label: "", preview: false, empty: false] [id: 0, 79; label: "", preview: false, empty: false] [id: 0, 80; label: "", preview: false, empty: false] [id: 0, 81; label: "", preview: false, empty: false] [id: 0, 82; label: "", preview: false, empty: false] [id: 0, 83; label: "Iron Smelting Beacon", preview: false, empty: false] [id: 0, 84; label: "Copper Smelting Beacon", preview: false, empty: false] [id: 0, 85; label: "", preview: false, empty: false] [id: 0, 86; label: "Blank Smelting Beacon", preview: false, empty: false]
  47.524 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-12-03_Factorio_0.16.0.json
  47.571 Info BlueprintLibrary.cpp:53: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 88; timestamp = 1512816789; records: (id: 0, 0; label: "", preview: false, empty: false; book) (id: 0, 39; label: "", preview: false, empty: false; book [id: 0, 4; label: "", preview: false, empty: false] [id: 0, 5; label: "", preview: false, empty: false] [id: 0, 6; label: "", preview: false, empty: false] [id: 0, 7; label: "", preview: false, empty: false] [id: 0, 8; label: "", preview: false, empty: false] [id: 0, 9; label: "", preview: false, empty: false] [id: 0, 10; label: "", preview: false, empty: false] [id: 0, 11; label: "", preview: false, empty: false] [id: 0, 12; label: "", preview: false, empty: false] [id: 0, 13; label: "", preview: false, empty: false] [id: 0, 14; label: "", preview: false, empty: false] [id: 0, 15; label: "", preview: false, empty: false] [id: 0, 16; label: "", preview: false, empty: false] [id: 0, 17; label: "", preview: false, empty: false] [id: 0, 18; label: "", preview: false, empty: false] [id: 0, 19; label: "", preview: false, empty: false] [id: 0, 20; label: "", preview: false, empty: false] [id: 0, 21; label: "", preview: false, empty: false] [id: 0, 22; label: "", preview: false, empty: false] [id: 0, 23; label: "", preview: false, empty: false] [id: 0, 24; label: "", preview: false, empty: false] [id: 0, 25; label: "", preview: false, empty: false] [id: 0, 26; label: "", preview: false, empty: false] [id: 0, 27; label: "", preview: false, empty: false] [id: 0, 28; label: "", preview: false, empty: false] [id: 0, 29; label: "", preview: false, empty: false] [id: 0, 30; label: "", preview: false, empty: false] [id: 0, 31; label: "", preview: false, empty: false] [id: 0, 32; label: "", preview: false, empty: false] [id: 0, 33; label: "", preview: false, empty: false] [id: 0, 34; label: "", preview: false, empty: false] [id: 0, 35; label: "", preview: false, empty: false] [id: 0, 36; label: "", preview: false, empty: false] [id: 0, 37; label: "", preview: false, empty: false] [id: 0, 38; label: "", preview: false, empty: false]) (id: 0, 63; label: "", preview: false, empty: false; book [id: 0, 40; label: "", preview: false, empty: false] [id: 0, 41; label: "", preview: false, empty: false] [id: 0, 42; label: "", preview: false, empty: false] [id: 0, 43; label: "", preview: false, empty: false] [id: 0, 44; label: "", preview: false, empty: false] [id: 0, 45; label: "", preview: false, empty: false] [id: 0, 46; label: "", preview: false, empty: false] [id: 0, 47; label: "", preview: false, empty: false] [id: 0, 48; label: "", preview: false, empty: false] [id: 0, 49; label: "", preview: false, empty: false] [id: 0, 50; label: "", preview: false, empty: false] [id: 0, 51; label: "", preview: false, empty: false] [id: 0, 52; label: "", preview: false, empty: false] [id: 0, 53; label: "", preview: false, empty: false] [id: 0, 54; label: "", preview: false, empty: false] [id: 0, 55; label: "", preview: false, empty: false] [id: 0, 56; label: "", preview: false, empty: false] [id: 0, 57; label: "", preview: false, empty: false] [id: 0, 58; label: "", preview: false, empty: false] [id: 0, 59; label: "Iron Smelting Beacon", preview: false, empty: false] [id: 0, 60; label: "Copper Smelting Beacon", preview: false, empty: false] [id: 0, 61; label: "", preview: false, empty: false] [id: 0, 62; label: "Blank Smelting Beacon", preview: false, empty: false]) (id: 0, 1; label: "Biggus Dickus", preview: false, empty: false; book) (id: 0, 87; label: "Blueprint Book 1", preview: false, empty: false; book [id: 0, 64; label: "", preview: false, empty: false] [id: 0, 65; label: "", preview: false, empty: false] [id: 0, 66; label: "", preview: false, empty: false] [id: 0, 67; label: "", preview: false, empty: false] [id: 0, 68; label: "", preview: false, empty: false] [id: 0, 69; label: "", preview: false, empty: false] [id: 0, 70; label: "", preview: false, empty: false] [id: 0, 71; label: "", preview: false, empty: false] [id: 0, 72; label: "", preview: false, empty: false] [id: 0, 73; label: "", preview: false, empty: false] [id: 0, 74; label: "", preview: false, empty: false] [id: 0, 75; label: "", preview: false, empty: false] [id: 0, 76; label: "", preview: false, empty: false] [id: 0, 77; label: "", preview: false, empty: false] [id: 0, 78; label: "", preview: false, empty: false] [id: 0, 79; label: "", preview: false, empty: false] [id: 0, 80; label: "", preview: false, empty: false] [id: 0, 81; label: "", preview: false, empty: false] [id: 0, 82; label: "", preview: false, empty: false] [id: 0, 83; label: "Iron Smelting Beacon", preview: false, empty: false] [id: 0, 84; label: "Copper Smelting Beacon", preview: false, empty: false] [id: 0, 85; label: "", preview: false, empty: false] [id: 0, 86; label: "Blank Smelting Beacon", preview: false, empty: false]
  47.571 Applying migration: Base Mod: 2017-08-08_Factorio_0.16.0.lua
  47.634 Applying migration: Base Mod: 2017-11-07_Factorio_0.16.0.lua
  47.716 Applying migration: Base Mod: 2017-12-09_Factorio_0.16.0.lua
  47.762 Loading script.dat: 149394 bytes.
  47.772 Checksum for script C:/Users/Lachlan/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
  47.780 Checksum for script __rso-mod__/control.lua: 1300860108
  47.875 Script @F:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:23: Running silo script migration: 1 -> 2
  47.875 Script @F:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:118: Executing silo script migration - Mod gui from left to top
  47.877 Script @__rso-mod__/control.lua:1707: RSO: Updated resource configurations
  57.284 Error CrashHandler.cpp:281: Exception Code: c0000005, Address: 0x00007ff7a3c4d13d
ModuleBase: 0x00007ff7a3af0000, ImageSize: 012cd000, RelativeAddress: 0015d13d
  57.284 Error CrashHandler.cpp:287: Access Violation: Write at address 0000000000000000
  57.284 Error CrashHandler.cpp:303: Exception Context:
rax=0000000000000000, rbx=000001c2d064ad00, rcx=000000000000001a,
rdx=0000000000000001, rsi=00000000fffffff7, rdi=0000000000000000,
rip=00007ff7a3c4d13d, rsp=000000789a25ea00, rbp=0000000000000000,
 r8=000001c3e3bf6060,  r9=000001c3de7dd0a0, r10=000001c3eada8000,
r11=000000789a25e950, r12=0000000000000002, r13=000001c2d5450120,
r14=0000000000000001, r15=0000000000000000
  57.284 Crashed in F:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff7a3af0000 - 0x00007ff7a4dbd000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-qlerns\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-qlerns\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-qlerns\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-qlerns\src\util\crashhandler.cpp (127): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-qlerns\src\util\crashhandler.cpp (329): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8D2194F0)
00007FFF8D2194F0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90AE8508)
00007FFF90AE8508 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90AD0F56)
00007FFF90AD0F56 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90AE4C3D)
00007FFF90AE4C3D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90A5D1B8)
00007FFF90A5D1B8 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90AE3B6E)
00007FFF90AE3B6E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-qlerns\src\entity\entitywithforce.cpp (100): EntityWithForce::checkNearbyForcesUnRegistration
c:\cygwin64\tmp\factorio-qlerns\src\entity\entitywithforce.cpp (46): EntityWithForce::forceUnRegistration
c:\cygwin64\tmp\factorio-qlerns\src\entity\entitywithforce.cpp (35): EntityWithForce::forceReRegistration
c:\cygwin64\tmp\factorio-qlerns\src\entity\character.cpp (2305): Character::changePosition
c:\cygwin64\tmp\factorio-qlerns\src\entity\character.cpp (755): Character::update
c:\cygwin64\tmp\factorio-qlerns\src\surface\chunk.cpp (575): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-qlerns\src\surface\chunk.cpp (624): Chunk::updateEntities
c:\cygwin64\tmp\factorio-qlerns\src\surface\surface.cpp (1147): Surface::update
c:\cygwin64\tmp\factorio-qlerns\src\map\map.cpp (1216): Map::update
c:\cygwin64\tmp\factorio-qlerns\src\game.cpp (153): Game::update
c:\cygwin64\tmp\factorio-qlerns\src\scenario\scenario.cpp (822): Scenario::update
c:\cygwin64\tmp\factorio-qlerns\src\mainloop.cpp (982): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-qlerns\src\mainloop.cpp (849): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-qlerns\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl ModPortal::*)(void) __ptr64,ModPortal * __ptr64>,std::default_delete<std::tuple<void (__cdecl ModPortal::*)(void) __ptr64,ModPortal * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\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: 00007FFF901B1FE4)
00007FFF901B1FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF90AAEF91)
00007FFF90AAEF91 (ntdll): (filename not available): RtlUserThreadStart
  59.024 Error CrashHandler.cpp:128: Map tick at moment of crash: 1408462
  59.024 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.
  71.479 Creating crash dump.
  73.998 CrashDump success
Help plz

Re: [16.1] Crash when loading old save: "EntityWithForce::checkNearbyForcesUnRegistration"

Posted: Thu Dec 14, 2017 9:58 am
by Loewchen
Post the crash dump and the save in question as well please.

Re: [16.1] Crash when loading old save: "EntityWithForce::checkNearbyForcesUnRegistration"

Posted: Thu Dec 14, 2017 10:02 am
by posila
Thanks for the report.
Should be fixed for 0.16.2: 54712