[16.1] Game crash (possibly related to logistic bots)

This subforum contains all the issues which we already resolved.
gremblor
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Nov 26, 2017 8:46 am
Contact:

[16.1] Game crash (possibly related to logistic bots)

Post by gremblor »

I opened a 0.15 save (relatively large base, with about 40K logistic bots across many networks) and about 25 seconds after opening, the game crashes. (The stack trace says the problem is under FlyingRobot::moveTo, in EntityWithForce::checkNearbyForcesUnRegistration)

I was admiring the new scenery; didn't enter any user input at all after loading the save file and acknowledging a large list of entity migrations and dismissing that message box. The crash happens all by itself. I may have zoomed in or out a bit with the mousewheel, but that's it.
What I expected to happen: No crash, just keep on truckin'

Crash log: https://gist.github.com/kimballa/dfadbd ... edd0b0a116

mods: Textplates, Logistic Train Network (note: No logistic trains used in this base, just a loaded mod), Orbital Ion Cannon (not used in this base, just loaded), Bottleneck, Explosive Termites, Power Armor MK3, ScoreExtended, and the Fat Controller.

Code: Select all

   0.002 2017-12-13 19:29:49; Factorio 0.16.1 (build 34215, win64, steam)
   0.002 Operating system: Windows 10 (version 1607) 
   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/akimb/AppData/Roaming/Factorio [155192/476485MB]
   0.002 Binaries path: C:/Steam/steamapps/common/Factorio/bin
   0.016 System info: [CPU: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz, 4 cores, RAM: 16312MB]
   0.017 Display options: [FullScreen: 1] [VSync: 1] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.018 Available display adapters: 1
   0.018  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 970 {0x05, [0,0], 1920x1200, 32bit, 59Hz}
   0.019 Create display on adapter 0. Size 1280x720 at position [310, 222].
   0.101 Initialised Direct3D:[0] NVIDIA GeForce GTX 970; driver: nvldumdx.dll 23.21.13.8813
   0.104   Video memory size (dedicated video/dedicated system/shared system/available): 4058/0/8156/4087 MB
   0.130 DSound: Starting _dsound_update thread
   0.130 DSound: Enter _dsound_update; tid=6080
   0.131 Device reset internal.
   0.133 Desktop composition is active.
   0.133 WARNING: You have vsync and desktop composition enabled on Direct3D. Consider disabling vsync to increase performance on some configurations.
   0.133 Graphics settings preset: very-high
   0.133 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.133                   [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
   0.339 Loading mod core 0.0.0 (data.lua)
   0.354 Loading mod base 0.16.1 (data.lua)
   0.585 Loading mod base 0.16.1 (data-updates.lua)
   0.644 Checksum for core: 3022494965
   0.644 Checksum of base: 2024614476
   0.780 Loading sounds...
   2.989 Info PlayerData.cpp:67: Local player-data.json unavailable
   2.989 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1503474877
   3.034 Info CropCache.cpp:52: Exception while loading crop cache: The file is from previous game version. This can be probably ignored
   3.094 Loaded shader file C:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   3.097 Loaded shader file C:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   3.098 Loaded shader file C:/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
   3.098 Crop bitmaps.
  14.278 Initial atlas bitmap size is 16384
  14.281 Created atlas bitmap 16384x13053 [none]
  14.828 Created atlas bitmap 16384x3203 [shadow]
  14.893 Created atlas bitmap 16384x2104 [decal]
  14.934 Created atlas bitmap 8192x5572 [mipmap]
  14.997 Created atlas bitmap 8192x800 [mipmap, smoke]
  15.005 Created atlas bitmap 8192x8164 [linear-minification, mipmap, terrain]
  15.100 Created atlas bitmap 8192x2092 [no-crop, trilinear-filtering, icon, light]
  15.122 Created atlas bitmap 8192x924 [alpha-mask]
  27.282 Sprites loaded
  27.282 Convert atlas 8192x5572 to: mipmap 
  27.428 Convert atlas 8192x800 to: mipmap 
  27.486 Convert atlas 8192x8164 to: min-linear 
  27.690 Convert atlas 8192x2092 to: trilinear-filtering 
  27.903 Convert atlas 8192x924 to: alpha-mask
  28.354 Custom inputs active: 0
  28.416 Factorio initialised
  40.090 Loading map C:\Users\akimb\AppData\Roaming\Factorio\saves\moving west.zip: 50449422 bytes.
  40.240 Loading Level.dat: 106559826 bytes.
  40.245 Info Scenario.cpp:135: Map version 0.15.40-0
  40.250 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-12-03_Factorio_0.16.0.json
  43.023 Info BlueprintLibrary.cpp:232: Loaded library shelves:
  43.024 Info BlueprintLibrary.cpp:798: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1504669080; records:
  43.024 Info BlueprintLibrary.cpp:800: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1512270803; records:
  49.080 Info PrototypeMigrationList.cpp:51: Activating migration base/2017-12-03_Factorio_0.16.0.json
  49.082 Info BlueprintLibrary.cpp:53: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 0; timestamp = 1513136209; records:
  49.082 Applying migration: Base Mod: 2017-08-08_Factorio_0.16.0.lua
  49.094 Applying migration: Base Mod: 2017-11-07_Factorio_0.16.0.lua
  49.186 Applying migration: Base Mod: 2017-12-09_Factorio_0.16.0.lua
  49.231 Loading script.dat: 1757538 bytes.
  49.235 Checksum for script C:/Users/akimb/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:23: Running silo script migration: 1 -> 2
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:118: Executing silo script migration - Mod gui from left to top
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:106: Removed "orbital-ion-cannon" from tracked items, as it is not a valid item.
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:106: Removed "orbital-ion-cannon" from tracked items, as it is not a valid item.
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:106: Removed "orbital-ion-cannon" from tracked items, as it is not a valid item.
  49.240 Script @C:/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:106: Removed "orbital-ion-cannon" from tracked items, as it is not a valid item.
  77.853 Error CrashHandler.cpp:281: Exception Code: c0000005, Address: 0x00007ff734ccd13d
ModuleBase: 0x00007ff734b70000, ImageSize: 012cd000, RelativeAddress: 0015d13d
  77.853 Error CrashHandler.cpp:287: Access Violation: Write at address 0000000000000000
  77.853 Error CrashHandler.cpp:303: Exception Context:
rax=0000000000000000, rbx=0000012625ea5e40, rcx=0000000000000024,
rdx=0000000000000001, rsi=00000000fffffec9, rdi=0000000000000004,
rip=00007ff734ccd13d, rsp=000000154ed2ea40, rbp=0000000000000001,
 r8=0000012638a4cc20,  r9=0000012605fefd20, r10=0000000000000004,
r11=000000154ed2ec10, r12=0000000000000002, r13=00000126662f3d20,
r14=0000000000000001, r15=0000000000000000
  77.853 Crashed in C:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe (0x00007ff734b70000 - 0x00007ff735e3d000)
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: 00007FFF639B4F77)
00007FFF639B4F77 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66B0ED1B)
00007FFF66B0ED1B (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66AF6B96)
00007FFF66AF6B96 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66B0AB6D)
00007FFF66B0AB6D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66AA9933)
00007FFF66AA9933 (ntdll): (filename not available): RtlImageNtHeaderEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66B09C8A)
00007FFF66B09C8A (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\entity.cpp (606): Entity::changePositionWithoutCollisionOrAABBCheck
c:\cygwin64\tmp\factorio-qlerns\src\entity\flyingrobot.cpp (80): FlyingRobot::moveTo
c:\cygwin64\tmp\factorio-qlerns\src\entity\logisticrobot.cpp (157): LogisticRobot::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: 00007FFF65AA8364)
00007FFF65AA8364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF66AC7091)
00007FFF66AC7091 (ntdll): (filename not available): RtlUserThreadStart
  79.008 Error CrashHandler.cpp:128: Map tick at moment of crash: 23557953
  79.008 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.
  86.916 Creating crash dump.
  87.079 CrashDump success
Attachments
moving west.zip
The game save
(48.11 MiB) Downloaded 281 times
factorio-dump-current.zip
dump file
(135.72 KiB) Downloaded 169 times
mods.zip
loaded mods
(3.01 MiB) Downloaded 171 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14264
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.1] Game crash (possibly related to logistic bots)

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.
gremblor
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Nov 26, 2017 8:46 am
Contact:

Re: [16.1] Game crash (possibly related to logistic bots)

Post by gremblor »

That was fast! :) Thanks!
Post Reply

Return to “Resolved Problems and Bugs”