[kovarex] [0.17.25] crash with invalid temporary station

This subforum contains all the issues which we already resolved.
Post Reply
san
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Apr 06, 2019 11:22 am
Contact:

[kovarex] [0.17.25] crash with invalid temporary station

Post by san » Sat Apr 06, 2019 12:00 pm

To recreate the crash:
Use the current train
Do not remove the invalid temporary station
Create a new temporary station
Let the wait condition expire
crash.

The game does not crash if i remove the invalid station.
Attached are save games and logs.

I don't know how I created the invalid station as i did not use that train for a long time.

factorio bug.png
factorio bug.png (6.72 MiB) Viewed 371 times

Code: Select all

   0.001 2019-04-06 13:12:27; Factorio 0.17.25 (build 44302, win64, alpha)
   0.002 Operating system: Windows 10 (version 1803) 
   0.002 Program arguments: "R:\spiele\Factorio\bin\x64\factorio.exe" "--force-d3d" 
   0.002 Read data path: R:/spiele/Factorio/data
   0.002 Write data path: C:/Users/CastaS.SAN/AppData/Roaming/Factorio [211569/952287MB]
   0.002 Binaries path: R:/spiele/Factorio/bin
   0.010 System info: [CPU:         Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 8 cores, RAM: 15763/32705 MB, page: 41168/61377 MB, virtual: 4252/134217727 MB, extended virtual: 0 MB]
   0.010 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (125.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.027 Available displays: 2
   0.028  [1]: \\.\DISPLAY2 - AMD Radeon R9 200 / HD 7900 Series {0x80005, [0,0], 3840x2160, 32bit, 60Hz}
   0.028  [0]: \\.\DISPLAY1 - AMD Radeon R9 200 / HD 7900 Series {0x80001, [-1920,331], 1920x1200, 32bit, 60Hz}
   0.133 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.197 Initialised Direct3D[0]: AMD Radeon R9 200 / HD 7900 Series; id: 1002-6798; driver: aticfx64.dll 25.20.15027.5007
   0.197   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 1,discard,-,-,none
   0.197   [Local Video Memory] Budget: 2594MB, CurrentUsage: 0MB, Reservation: 0/1373MB
   0.197   [Non-Local Vid.Mem.] Budget: 14717MB, CurrentUsage: 0MB, Reservation: 0/7767MB
   0.197   Tiled resources: Tier 1
   0.197   Unified Memory Architecture: No
   0.197   BGR 565 Supported: Yes
   0.197   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.258 Desktop composition is active.
   0.258 Graphics settings preset: very-high
   0.258   Dedicated video memory size 3052 MB
   0.258 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.258                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   0.378 DSound: Starting _dsound_update thread
   0.378 DSound: Enter _dsound_update; tid=43028
   0.755 Info ModManager.cpp:240: Found duplicate mod vtk-deep-core-mining, using higher version (1.16.4 > 1.15.0).
   0.759 Info ModManager.cpp:240: Found duplicate mod vtk-deep-core-mining, using higher version (1.17.2 > 1.16.4).
   0.761 Loading mod settings Bottleneck 0.10.3 (settings.lua)
   0.761 Loading mod settings DeepMine 0.4.5 (settings.lua)
   0.761 Loading mod settings Fill4Me 0.5.4 (settings.lua)
   0.762 Loading mod settings MultipleUnitTrainControl 0.1.11 (settings.lua)
   0.762 Loading mod settings SchallRadarAlignment 0.17.0 (settings.lua)
   0.762 Loading mod settings vtk-deep-core-mining 1.17.2 (settings.lua)
   0.765 Loading mod core 0.0.0 (data.lua)
   0.848 Loading mod base 0.17.25 (data.lua)
   1.132 Loading mod Bottleneck 0.10.3 (data.lua)
   1.244 Loading mod DeepMine 0.4.5 (data.lua)
   1.391 Loading mod EvoGUI 0.4.401 (data.lua)
   1.533 Loading mod module-requestor 0.17.0 (data.lua)
   1.647 Loading mod MultipleUnitTrainControl 0.1.11 (data.lua)
   1.753 Loading mod RadarGridGuide 0.17.0 (data.lua)
   1.848 Loading mod san 0.2.0 (data.lua)
   1.949 Loading mod visual-signals 0.17.0 (data.lua)
   2.047 Loading mod vtk-deep-core-mining 1.17.2 (data.lua)
   2.144 Loading mod base 0.17.25 (data-updates.lua)
   2.242 Loading mod MultipleUnitTrainControl 0.1.11 (data-updates.lua)
   2.337 Loading mod vtk-deep-core-mining 1.17.2 (data-updates.lua)
   2.426 Loading mod DeepMine 0.4.5 (data-final-fixes.lua)
   2.516 Loading mod RadarGridGuide 0.17.0 (data-final-fixes.lua)
   2.660 Checksum for core: 848209068
   2.660 Checksum of base: 2472862601
   2.660 Checksum of Bottleneck: 3138809866
   2.660 Checksum of DeepMine: 2388647373
   2.660 Checksum of EvoGUI: 3279161307
   2.660 Checksum of Fill4Me: 4262085054
   2.660 Checksum of module-requestor: 1484090827
   2.660 Checksum of MultipleUnitTrainControl: 2497543625
   2.660 Checksum of RadarGridGuide: 353437662
   2.660 Checksum of san: 1597682340
   2.660 Checksum of SchallRadarAlignment: 3557162629
   2.660 Checksum of visual-signals: 3605029035
   2.660 Checksum of vtk-deep-core-mining: 427755306
   3.273 Loading sounds...
   6.866 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1554548791
   6.866 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   7.057 Initial atlas bitmap size is 16384
   7.090 Created atlas bitmap 16384x16384 [no-crop]
   7.094 Created atlas bitmap 16384x11392 [none]
   7.095 Created atlas bitmap 16384x2116 [decal]
   7.097 Created atlas bitmap 16384x3840 [low-object]
   7.098 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   7.099 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   7.100 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   7.100 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   7.100 Created atlas bitmap 16384x748 [alpha-mask]
   7.104 Created atlas bitmap 16384x12644 [shadow, linear-magnification, alpha-mask]
   7.104 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
  10.854 Atlases loaded from disk cache.
  10.870 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  10.874 Parallel Sprite Loader initialized (threads: 0)
  10.946 Sprites loaded
  13.091 Generated mipmaps for atlas of size 16384x3840
  13.157 Generated mipmaps for atlas of size 16384x1888
  13.233 Generated mipmaps for atlas of size 16384x6880
  13.254 Generated mipmaps for atlas of size 16384x480
  13.265 Generated mipmaps for atlas of size 16384x456
  13.276 Generated mipmaps for atlas of size 16384x1264
  13.280 Custom inputs active: 8
  13.698 Factorio initialised
  13.732 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=CastaS&token=<private>&apiVersion=2
  14.889 0 packages available to download (experimental updates enabled).
 117.199 Loading map C:\Users\CastaS.SAN\AppData\Roaming\Factorio\saves\_autosave5.zip: 15150160 bytes.
 117.258 Loading level.dat: 31509583 bytes.
 117.264 Info Scenario.cpp:161: Map version 0.17.25-0
 118.073 Loading script.dat: 300693 bytes.
 118.102 Checksum for script C:/Users/CastaS.SAN/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
 118.104 Checksum for script __Bottleneck__/control.lua: 1724301457
 118.106 Checksum for script __DeepMine__/control.lua: 4242063991
 118.110 Checksum for script __EvoGUI__/control.lua: 759905060
 118.124 Checksum for script __Fill4Me__/control.lua: 956106630
 118.125 Checksum for script __module-requestor__/control.lua: 3826061030
 118.129 Checksum for script __MultipleUnitTrainControl__/control.lua: 3636505855
 118.130 Checksum for script __RadarGridGuide__/control.lua: 2763006925
 118.132 Checksum for script __SchallRadarAlignment__/control.lua: 2583951827
 118.133 Checksum for script __visual-signals__/control.lua: 2875536956
 118.138 Checksum for script __vtk-deep-core-mining__/control.lua: 1976624584
 182.641 Info AppManagerStates.cpp:1747: Saving finished
 243.975 Loading map C:\Users\CastaS.SAN\AppData\Roaming\Factorio\saves\san17.zip: 15111410 bytes.
 244.033 Loading level.dat: 31498312 bytes.
 244.040 Info Scenario.cpp:161: Map version 0.17.25-0
 244.860 Loading script.dat: 298669 bytes.
 244.863 Checksum for script C:/Users/CastaS.SAN/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
 244.865 Checksum for script __Bottleneck__/control.lua: 1724301457
 244.866 Checksum for script __DeepMine__/control.lua: 4242063991
 244.870 Checksum for script __EvoGUI__/control.lua: 759905060
 244.880 Checksum for script __Fill4Me__/control.lua: 956106630
 244.881 Checksum for script __module-requestor__/control.lua: 3826061030
 244.885 Checksum for script __MultipleUnitTrainControl__/control.lua: 3636505855
 244.886 Checksum for script __RadarGridGuide__/control.lua: 2763006925
 244.887 Checksum for script __SchallRadarAlignment__/control.lua: 2583951827
 244.889 Checksum for script __visual-signals__/control.lua: 2875536956
 244.893 Checksum for script __vtk-deep-core-mining__/control.lua: 1976624584
 318.340 Loading map C:\Users\CastaS.SAN\AppData\Roaming\Factorio\saves\san17_2.zip: 15177134 bytes.
 318.379 Loading level.dat: 31503251 bytes.
 318.385 Info Scenario.cpp:161: Map version 0.17.25-0
 319.159 Loading script.dat: 300082 bytes.
 319.163 Checksum for script C:/Users/CastaS.SAN/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
 319.165 Checksum for script __Bottleneck__/control.lua: 1724301457
 319.166 Checksum for script __DeepMine__/control.lua: 4242063991
 319.171 Checksum for script __EvoGUI__/control.lua: 759905060
 319.179 Checksum for script __Fill4Me__/control.lua: 956106630
 319.180 Checksum for script __module-requestor__/control.lua: 3826061030
 319.184 Checksum for script __MultipleUnitTrainControl__/control.lua: 3636505855
 319.186 Checksum for script __RadarGridGuide__/control.lua: 2763006925
 319.187 Checksum for script __SchallRadarAlignment__/control.lua: 2583951827
 319.189 Checksum for script __visual-signals__/control.lua: 2875536956
 319.194 Checksum for script __vtk-deep-core-mining__/control.lua: 1976624584
 359.770 Loading map C:\Users\CastaS.SAN\AppData\Roaming\Factorio\saves\san17_2.zip: 15177134 bytes.
 359.815 Loading level.dat: 31503251 bytes.
 359.822 Info Scenario.cpp:161: Map version 0.17.25-0
 360.645 Loading script.dat: 300082 bytes.
 360.650 Checksum for script C:/Users/CastaS.SAN/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1848333929
 360.652 Checksum for script __Bottleneck__/control.lua: 1724301457
 360.654 Checksum for script __DeepMine__/control.lua: 4242063991
 360.658 Checksum for script __EvoGUI__/control.lua: 759905060
 360.667 Checksum for script __Fill4Me__/control.lua: 956106630
 360.668 Checksum for script __module-requestor__/control.lua: 3826061030
 360.673 Checksum for script __MultipleUnitTrainControl__/control.lua: 3636505855
 360.674 Checksum for script __RadarGridGuide__/control.lua: 2763006925
 360.676 Checksum for script __SchallRadarAlignment__/control.lua: 2583951827
 360.679 Checksum for script __visual-signals__/control.lua: 2875536956
 360.684 Checksum for script __vtk-deep-core-mining__/control.lua: 1976624584
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-3b8o8h\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-3b8o8h\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-3b8o8h\src\util\logger.cpp (527): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-3b8o8h\src\util\logging.cpp (90): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-3b8o8h\src\util\logging.cpp (84): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-3b8o8h\src\rail\trainschedule.cpp (228): TrainSchedule::setCurrent
c:\cygwin64\tmp\factorio-build-3b8o8h\src\rail\train.cpp (1097): Train::update
c:\cygwin64\tmp\factorio-build-3b8o8h\src\rail\trainmanager.cpp (245): TrainManager::update
c:\cygwin64\tmp\factorio-build-3b8o8h\src\map\map.cpp (1471): Map::updateEntities
c:\cygwin64\tmp\factorio-build-3b8o8h\src\game.cpp (195): Game::update
c:\cygwin64\tmp\factorio-build-3b8o8h\src\scenario\scenario.cpp (1166): Scenario::update
c:\cygwin64\tmp\factorio-build-3b8o8h\src\mainloop.cpp (1115): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-3b8o8h\src\mainloop.cpp (981): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-3b8o8h\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 RouterBase::*)(void),ClientRouter *>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void),ClientRouter *> > > >::_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: 00007FFC69373DC4)
00007FFC69373DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC6B883691)
00007FFC6B883691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 378.448 Error TrainSchedule.cpp:228: Invalid current index: 1 >= 1.
Logger::writeStacktrace skipped.
 378.448 Error CrashHandler.cpp:177: Map tick at moment of crash: 8300838
 378.448 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.
 386.562 Uploading log file
 386.622 Error CrashHandler.cpp:213: Heap validation: success.
 386.623 Creating crash dump.
 386.935 CrashDump success
Attachments
san17_old.zip
old save before upgrading
(14.31 MiB) Downloaded 13 times
san17_2.zip
save file to test
(14.47 MiB) Downloaded 17 times
Factorio.7z
crash dump and logs mods
(9.86 MiB) Downloaded 13 times

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

Re: [kovarex] [0.17.25] crash with invalid temporary station

Post by kovarex » Mon Apr 08, 2019 12:26 pm

Thanks for the report.

It is now fixed for the next version.

P.S. Temporary train stop becomes invalid when the rail it was associated to don't exist anymore.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users