My game crashes randomly in the event of saving - in like 20% off all cases. Vanilla 0.17.50.
Seems to be a access violation.
PS: First guess: train related, changing signals a lot.
PS: A method pointer+an object pointer. Don't tell me thats a std::bind/lambda workaround

Code: Select all
0.000 2019-06-19 21:39:58; Factorio 0.17.50 (build 45742, win64, steam)
0.001 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/Markus Sengthaler/AppData/Roaming/Factorio [147238/456881MB]
0.001 Binaries path: D:/Steam/steamapps/common/Factorio/bin
0.023 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 6480/32715 MB, page: 10744/37579 MB, virtual: 4334/134217727 MB, extended virtual: 0 MB]
0.023 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 000] [Lang: en]
0.042 Available displays: 2
0.042 [0]: \\.\DISPLAY1 - Radeon (TM) RX 480 Graphics {0x05, [0,0], 2560x1440, 32bit, 144Hz}
0.043 [1]: \\.\DISPLAY2 - Radeon (TM) RX 480 Graphics {0x01, [2560,0], 1920x1200, 32bit, 60Hz}
0.091 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.193 Initialised Direct3D[0]: Radeon (TM) RX 480 Graphics; id: 1002-67df; driver: aticfx64.dll 24.20.13011.1009
0.193 D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
0.193 [Local Video Memory] Budget: 6916MB, CurrentUsage: 0MB, Reservation: 0/3661MB
0.193 [Non-Local Vid.Mem.] Budget: 14722MB, CurrentUsage: 0MB, Reservation: 0/7769MB
0.193 Tiled resources: Tier 2
0.193 Unified Memory Architecture: No
0.194 BGR 565 Supported: Yes
0.194 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.247 Desktop composition is active.
0.247 Graphics settings preset: very-high
0.247 Dedicated video memory size 8137 MB
0.247 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
0.247 [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
0.282 DSound: Starting _dsound_update thread
0.282 DSound: Enter _dsound_update; tid=13316
0.673 Loading mod core 0.0.0 (data.lua)
0.827 Loading mod base 0.17.50 (data.lua)
1.480 Loading mod base 0.17.50 (data-updates.lua)
1.597 Checksum for core: 240630728
1.597 Checksum of base: 1267956446
1.943 Loading sounds...
4.019 Info PlayerData.cpp:69: Local player-data.json unavailable
4.019 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1560803493
4.188 Initial atlas bitmap size is 16384
4.219 Created atlas bitmap 16384x16320 [none]
4.223 Created atlas bitmap 16384x11144 [linear-minification, linear-magnification]
4.223 Created atlas bitmap 8192x3892 [decal]
4.223 Created atlas bitmap 16384x4320 [low-object]
4.224 Created atlas bitmap 8192x3696 [mipmap, linear-minification, linear-magnification, linear-mip-level]
4.224 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level]
4.224 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
4.225 Created atlas bitmap 4096x1704 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
4.225 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
4.225 Created atlas bitmap 8192x1496 [alpha-mask]
4.227 Created atlas bitmap 16384x12628 [shadow, linear-magnification, alpha-mask]
4.227 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
4.232 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
11.123 Parallel Sprite Loader initialized (threads: 7)
18.829 Sprites loaded
18.843 Generated mipmaps (4) for atlas [3] of size 16384x4320
18.854 Generated mipmaps (3) for atlas [4] of size 8192x3696
18.865 Generated mipmaps (3) for atlas [5] of size 16384x6880
18.876 Generated mipmaps (3) for atlas [6] of size 4096x1600
18.887 Generated mipmaps (4) for atlas [7] of size 4096x1704
18.899 Generated mipmaps (3) for atlas [11] of size 8192x2352
18.899 Custom mipmaps uploaded.
18.912 Custom inputs active: 0
18.990 Factorio initialised
24.975 Loading map C:\Users\Markus Sengthaler\AppData\Roaming\Factorio\saves\017.zip: 25245341 bytes.
25.189 Loading level.dat: 64112147 bytes.
25.194 Info Scenario.cpp:187: Map version 0.17.50-0
26.647 Loading script.dat: 339 bytes.
26.659 Checksum for script C:/Users/Markus Sengthaler/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1876143224
196.025 Info AppManager.cpp:277: Saving to _autosave1 (blocking).
197.162 Info AppManagerStates.cpp:1752: Saving finished
497.357 Info AppManager.cpp:277: Saving to _autosave2 (blocking).
498.501 Info AppManagerStates.cpp:1752: Saving finished
798.525 Info AppManager.cpp:277: Saving to _autosave3 (blocking).
799.727 Info AppManagerStates.cpp:1752: Saving finished
1101.124 Info AppManager.cpp:277: Saving to _autosave1 (blocking).
1102.301 Info AppManagerStates.cpp:1752: Saving finished
1402.391 Info AppManager.cpp:277: Saving to _autosave2 (blocking).
1403.533 Info AppManagerStates.cpp:1752: Saving finished
1703.522 Info AppManager.cpp:277: Saving to _autosave3 (blocking).
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-oyvgrk\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-oyvgrk\src\util\logger.cpp (383): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-oyvgrk\src\util\logger.cpp (534): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-oyvgrk\src\util\logging.cpp (96): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-oyvgrk\src\util\logging.cpp (90): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-oyvgrk\src\rail\railblock.cpp (302): RailBlock::checkConsistency
c:\cygwin64\tmp\factorio-build-oyvgrk\src\rail\trainmanager.cpp (956): TrainManager::checkConsistency
c:\cygwin64\tmp\factorio-build-oyvgrk\src\rail\trainmanager.cpp (52): TrainManager::save
c:\cygwin64\tmp\factorio-build-oyvgrk\src\map\map.cpp (1276): Map::save
c:\cygwin64\tmp\factorio-build-oyvgrk\src\scenario\scenario.cpp (1001): Scenario::saveMap
c:\cygwin64\tmp\factorio-build-oyvgrk\src\scenario\scenario.cpp (897): Scenario::saveAs
c:\cygwin64\tmp\factorio-build-oyvgrk\src\scenario\parallelscenariosaver.cpp (99): ParallelScenarioSaver::doSave
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 TransferSource::*)(void),TransferSource *>,std::default_delete<std::tuple<void (__cdecl TransferSource::*)(void),TransferSource *> > > >::_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: 00007FFBB4167974)
00007FFBB4167974 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFBB65BA271)
00007FFBB65BA271 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
1705.621 Error RailBlock.cpp:302: inboundSignal->getReservation() == nullptr was not true
Logger::writeStacktrace skipped.
1705.621 Error CrashHandler.cpp:181: Map tick at moment of crash: 29052001
1705.621 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.
1721.070 Uploading log file
1721.083 Error CrashHandler.cpp:229: Heap validation: success.
1721.087 Creating crash dump.
1721.329 CrashDump success