Page 1 of 1

Train Movement Causes Crash

Posted: Fri Jun 07, 2019 12:34 pm
by PapaCJ75
This same crash has happened 3 times under slightly different circumstances. Here is the log file:

Code: Select all

   0.000 2019-06-07 08:27:31; Factorio 0.17.46 (build 45521, win64, steam)
   0.000 Operating system: Windows 10 (version 1809) 
   0.001 Program arguments: "D:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: D:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/chris/AppData/Roaming/Factorio [180547/476324MB]
   0.001 Binaries path: D:/Steam/steamapps/common/Factorio/bin
   0.007 System info: [CPU: AMD Ryzen 5 2600 Six-Core Processor, 12 cores, RAM: 4974/16333 MB, page: 7541/18765 MB, virtual: 4338/134217727 MB, extended virtual: 0 MB]
   0.008 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.019 Available displays: 2
   0.019  [0]: \\.\DISPLAY1 - Radeon RX 580 Series {0x80005, [0,0], 1920x1080, 32bit, 144Hz}
   0.021  [1]: \\.\DISPLAY2 - Radeon RX 580 Series {0x80001, [-1080,-601], 1080x1920, 32bit, 59Hz}
   0.063 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.142 Initialised Direct3D[0]: Radeon RX 580 Series; id: 1002-67df; driver: aticfx64.dll 25.20.14003.1010
   0.143   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,DNW*,-,none
   0.143   [Local Video Memory] Budget: 6916MB, CurrentUsage: 0MB, Reservation: 0/3661MB
   0.143   [Non-Local Vid.Mem.] Budget: 7350MB, CurrentUsage: 0MB, Reservation: 0/3879MB
   0.143   Tiled resources: Tier 2
   0.143   Unified Memory Architecture: No
   0.143   BGR 565 Supported: Yes
   0.143   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.177 Desktop composition is active.
   0.177 Graphics settings preset: very-high
   0.177   Dedicated video memory size 8137 MB
   0.177 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.177                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   0.252 DSound: Starting _dsound_update thread
   0.252 DSound: Enter _dsound_update; tid=10284
   0.357 Logitech LED Controller initialized.
   0.362 Loading mod core 0.0.0 (data.lua)
   0.483 Loading mod base 0.17.46 (data.lua)
   0.743 Loading mod base 0.17.46 (data-updates.lua)
   0.881 Checksum for core: 240630728
   0.881 Checksum of base: 3852333060
   1.109 Loading sounds...
   1.158 Info PlayerData.cpp:69: Local player-data.json unavailable
   1.158 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1559908857
   1.286 Initial atlas bitmap size is 16384
   1.328 Created atlas bitmap 16384x16384 [none]
   1.332 Created atlas bitmap 16384x11068 [none]
   1.332 Created atlas bitmap 8192x3892 [decal]
   1.333 Created atlas bitmap 16384x4288 [low-object]
   1.333 Created atlas bitmap 8192x3696 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.334 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level]
   1.334 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.334 Created atlas bitmap 4096x1704 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.334 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.334 Created atlas bitmap 8192x1496 [alpha-mask]
   1.337 Created atlas bitmap 16384x12632 [shadow, linear-magnification, alpha-mask]
   1.337 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.342 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.919 Parallel Sprite Loader initialized (threads: 11)
   8.043 Sprites loaded
   8.056 Generated mipmaps (4) for atlas [3] of size 16384x4288   
   8.067 Generated mipmaps (3) for atlas [4] of size 8192x3696   
   8.078 Generated mipmaps (3) for atlas [5] of size 16384x6880   
   8.089 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   8.100 Generated mipmaps (4) for atlas [7] of size 4096x1704   
   8.112 Generated mipmaps (3) for atlas [11] of size 8192x2352   
   8.112 Custom mipmaps uploaded.
   8.117 Custom inputs active: 6
   8.176 Factorio initialised
  13.492 Loading map C:\Users\chris\AppData\Roaming\Factorio\saves\KoS - Lazy - 2019-06-07.zip: 13024085 bytes.
  13.580 Loading level.dat: 30275787 bytes.
  13.584 Info Scenario.cpp:187: Map version 0.17.46-1
  14.170 Loading script.dat: 328 bytes.
  14.173 Checksum for script C:/Users/chris/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1876143224
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-gfuhcn\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logger.cpp (383): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logger.cpp (534): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logging.cpp (96): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logging.cpp (90): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1702): Train::resolveRailTransition
c:\cygwin64\tmp\factorio-build-gfuhcn\src\entity\rollingstock.cpp (292): RollingStock::Carriage::moveFrontJointForward
c:\cygwin64\tmp\factorio-build-gfuhcn\src\entity\rollingstock.cpp (366): RollingStock::move
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1941): Train::tryToMove
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1811): Train::move
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1318): Train::updateSpeedAndMove
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1208): Train::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\trainmanager.cpp (245): TrainManager::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\map\map.cpp (1498): Map::updateEntities
c:\cygwin64\tmp\factorio-build-gfuhcn\src\game.cpp (201): Game::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\scenario\scenario.cpp (1216): Scenario::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\mainloop.cpp (1155): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-gfuhcn\src\mainloop.cpp (1022): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\workerthread.cpp (42): WorkerThread::loop
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*)(ParallelScenarioSaver *),ParallelScenarioSaver *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *> > > >::_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: 00007FF8B5AB7974)
00007FF8B5AB7974 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8B621A271)
00007FF8B621A271 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  42.183 Error TrainSignalLogic.cpp:109: !this->reservedSignalsClose.empty() was not true
Logger::writeStacktrace skipped.
  42.183 Error CrashHandler.cpp:177: Map tick at moment of crash: 14942263
  42.183 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.
  58.060 Uploading log file
  58.080 Error CrashHandler.cpp:222: Heap validation: success.
  58.081 Creating crash dump.
  58.284 CrashDump success

Re: Train Movement Causes Crash

Posted: Fri Jun 07, 2019 12:43 pm
by seanbdurkin
I have experienced the same bug.

If I get into a train and move it, the game crashes. I suspect the problem relates to path resolution for the train.

Here is my log

Code: Select all

   0.000 2019-06-07 22:19:54; Factorio 0.17.46 (build 45521, win64, steam)
   0.000 Operating system: Windows 10 (version 1803) 
   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/Dad/AppData/Roaming/Factorio [96397/237054MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.005 System info: [CPU: Intel(R) Core(TM) i7-7740X CPU @ 4.30GHz, 8 cores, RAM: 3591/16290 MB, page: 5442/18722 MB, virtual: 4333/134217727 MB, extended virtual: 0 MB]
   0.005 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.009 Available displays: 1
   0.009  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1050 {0x05, [0,0], 1680x1050, 32bit, 60Hz}
   0.045 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.137 Initialised Direct3D[0]: NVIDIA GeForce GTX 1050; id: 10de-1c81; driver: nvldumdx.dll 23.21.13.9135
   0.137   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,DNW*,-,none
   0.137   [Local Video Memory] Budget: 1680MB, CurrentUsage: 1MB, Reservation: 0/889MB
   0.137   [Non-Local Vid.Mem.] Budget: 7330MB, CurrentUsage: 0MB, Reservation: 0/3868MB
   0.137   Tiled resources: Tier 2
   0.137   Unified Memory Architecture: No
   0.137   BGR 565 Supported: Yes
   0.137   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.163 Desktop composition is active.
   0.163 Graphics settings preset: high
   0.163   Dedicated video memory size 1977 MB
   0.163 Graphics options: [Graphics quality: high] [Video memory usage: medium] [Light scale: 25%] [DXT: high-quality]
   0.163                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: low] [Color: 32bit]
   0.181 DSound: Starting _dsound_update thread
   0.181 DSound: Enter _dsound_update; tid=4132
   0.237 Loading mod core 0.0.0 (data.lua)
   0.321 Loading mod base 0.17.46 (data.lua)
   0.548 Loading mod base 0.17.46 (data-updates.lua)
   0.641 Checksum for core: 240630728
   0.641 Checksum of base: 3852333060
   0.807 Loading sounds...
   0.863 Info PlayerData.cpp:69: Local player-data.json unavailable
   0.863 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1559907980
   0.943 Initial atlas bitmap size is 16384
   0.944 Created atlas bitmap 16384x3912 [none]
   0.944 Created atlas bitmap 8192x3872 [decal]
   0.945 Created atlas bitmap 16384x4288 [low-object]
   0.945 Created atlas bitmap 8192x3696 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   0.946 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level]
   0.946 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   0.947 Created atlas bitmap 4096x1704 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   0.947 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   0.947 Created atlas bitmap 8192x1496 [alpha-mask]
   0.949 Created atlas bitmap 16384x11260 [shadow, linear-magnification, alpha-mask]
   0.949 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.465 Created virtual atlas pages 4096x4096x22
   1.469 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.046 Parallel Sprite Loader initialized (threads: 7)
   8.362 Sprites loaded
   8.410 Generated mipmaps (4) for atlas [2] of size 16384x4288   
   8.421 Generated mipmaps (3) for atlas [3] of size 8192x3696   
   8.443 Generated mipmaps (3) for atlas [4] of size 16384x6880   
   8.454 Generated mipmaps (3) for atlas [5] of size 4096x1600   
   8.465 Generated mipmaps (4) for atlas [6] of size 4096x1704   
   8.477 Generated mipmaps (3) for atlas [10] of size 8192x2352   
   8.477 Custom mipmaps uploaded.
   8.764 Generated mipmaps for virtual atlas of size 16384x24576
   8.767 Custom inputs active: 6
   8.803 Factorio initialised
  13.973 Loading map C:\Users\Dad\AppData\Roaming\Factorio\saves\pre-crash.zip: 11598781 bytes.
  14.049 Loading level.dat: 26103477 bytes.
  14.052 Info Scenario.cpp:187: Map version 0.17.46-1
  14.650 Loading script.dat: 328 bytes.
  14.652 Checksum for script C:/Users/Dad/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1876143224
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-gfuhcn\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logger.cpp (383): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logger.cpp (534): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logging.cpp (96): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\logging.cpp (90): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1702): Train::resolveRailTransition
c:\cygwin64\tmp\factorio-build-gfuhcn\src\entity\rollingstock.cpp (292): RollingStock::Carriage::moveFrontJointForward
c:\cygwin64\tmp\factorio-build-gfuhcn\src\entity\rollingstock.cpp (366): RollingStock::move
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1941): Train::tryToMove
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1811): Train::move
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1318): Train::updateSpeedAndMove
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\train.cpp (1208): Train::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\rail\trainmanager.cpp (245): TrainManager::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\map\map.cpp (1498): Map::updateEntities
c:\cygwin64\tmp\factorio-build-gfuhcn\src\game.cpp (201): Game::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\scenario\scenario.cpp (1216): Scenario::update
c:\cygwin64\tmp\factorio-build-gfuhcn\src\mainloop.cpp (1155): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-gfuhcn\src\mainloop.cpp (1022): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-gfuhcn\src\util\workerthread.cpp (42): WorkerThread::loop
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*)(ParallelScenarioSaver *),ParallelScenarioSaver *>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver *),ParallelScenarioSaver *> > > >::_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: 00007FFE96F04034)
00007FFE96F04034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFE99643691)
00007FFE99643691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  44.344 Error TrainSignalLogic.cpp:109: !this->reservedSignalsClose.empty() was not true
Logger::writeStacktrace skipped.
  44.344 Error CrashHandler.cpp:177: Map tick at moment of crash: 4863541
  44.344 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.
  88.727 Uploading log file
  88.735 Error CrashHandler.cpp:222: Heap validation: success.
  88.736 Creating crash dump.
  88.893 CrashDump success

Re: Train Movement Causes Crash

Posted: Fri Jun 07, 2019 12:47 pm
by kovarex
Duplicate: 71662