[2.0.13][SA] Crash (RollingStock::Carriage::setRailState())

Post your bugs and problems so we can fix them.
McSaucyNugget
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Oct 31, 2024 2:06 pm
Contact:

[2.0.13][SA] Crash (RollingStock::Carriage::setRailState())

Post by McSaucyNugget »

I attached the crash report below, bug seems to only happen when a certain double headed train heads to a specific spot just setup. Game instantly crashes consistently. May need more testing to determine the exact reaon though.

EDIT:

I have managed to get a save where the crash happens almost instantly after you open it, with the same error everytime. Something related to rails I think. I suspect one of the trains far away in the base is causing it, and it seems to happen no matter what (ignore my comment above about the double headed train).

I attached the save file and new logs to go with.

Code: Select all

   0.001 2024-10-31 09:50:59; Factorio 2.0.13 (build 79912, win64, steam, space-age)
   0.001 Operating system: Windows 10 (build 19045) 
   0.000 Initializing Steam API.
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Config path: C:/Users/charl/AppData/Roaming/Factorio/config/config.ini
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/charl/AppData/Roaming/Factorio [132160/952794MB]
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.033 System info: [CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz, 8 cores, RAM: 6822/16347 MB, page: 9144/19947 MB, virtual: 4340/134217727 MB, extended virtual: 0 MB]
   0.151 Memory info:
   0.151  [0]: 04EF TEAMGROUP-UD4-2133 8192 MB 2133 MHz 1.2 v
   0.152  [1]: 04EF TEAMGROUP-UD4-2400 8192 MB 2133 MHz 1.2 v
   0.258 Info ModManager.cpp:255: Found duplicate mod AbandonedRuins, using higher version (1.1.4 > 1.1.3).
   0.521 Info ModManager.cpp:255: Found duplicate mod flib, using higher version (0.8.2 > 0.7.0).
   0.552 Info ModManager.cpp:255: Found duplicate mod jetpack, using higher version (0.2.12 > 0.2.11).
   0.631 Info ModManager.cpp:255: Found duplicate mod Krastorio2, using higher version (0.9.8 > 0.9.7).
   0.669 Info ModManager.cpp:255: Found duplicate mod Krastorio2, using higher version (1.0.23 > 0.9.8).
   0.700 Info ModManager.cpp:255: Found duplicate mod Krastorio2, using higher version (1.1.1 > 1.0.23).
   0.732 Info ModManager.cpp:255: Found duplicate mod Krastorio2, using higher version (1.1.4 > 1.1.1).
   0.739 Info ModManager.cpp:255: Found duplicate mod LogisticTrainNetwork, using higher version (1.16.3 > 1.16.0).
   0.773 Info ModManager.cpp:255: Found duplicate mod RampantArsenal, using higher version (1.0.5 > 1.0.4).
   0.777 Info ModManager.cpp:255: Found duplicate mod RampantArsenal, using higher version (1.0.8 > 1.0.5).
   0.781 Info ModManager.cpp:255: Found duplicate mod RampantArsenal, using higher version (1.0.9 > 1.0.8).
   0.791 Info ModManager.cpp:255: Found duplicate mod robot_attrition, using higher version (0.5.11 > 0.5.10).
   0.839 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.2.12 > 0.2.11).
   0.850 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.39 > 0.2.12).
   0.859 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.44 > 0.5.39).
   0.869 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.46 > 0.5.44).
   0.879 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.52 > 0.5.46).
   0.888 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.67 > 0.5.52).
   0.898 Info ModManager.cpp:255: Found duplicate mod space-exploration, using higher version (0.5.77 > 0.5.67).
   1.079 Info ModManager.cpp:255: Found duplicate mod space-exploration-postprocess, using higher version (0.5.20 > 0.5.16).
   1.080 Info ModManager.cpp:255: Found duplicate mod space-exploration-postprocess, using higher version (0.5.24 > 0.5.20).
   1.086 Info ModManager.cpp:255: Found duplicate mod TerrainEvolution, using higher version (1.1.17 > 1.1.16).
   1.124 Info ModManager.cpp:255: Found duplicate mod Todo-List, using higher version (19.2.0 > 19.1.0).
   1.144 Info ModManager.cpp:255: Found duplicate mod Warehousing, using higher version (0.5.2 > 0.5.1).
   1.152 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   1.279 Video driver: windows
   1.279 Available displays: 2
   1.279  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1060 3GB {0x80005, [0,0], 1920x1080, 32bit, 120Hz}
   1.279  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1060 3GB {0x80001, [1920,0], 1920x1080, 32bit, 60Hz}
   1.310 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   1.499 Initialised Direct3D[0]: NVIDIA GeForce GTX 1060 3GB; id: 10de-1c02; driver: nvldumdx.dll 30.0.14.9729
   1.499   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   1.499   [Local Video Memory] Budget: 2539MB, CurrentUsage: 4MB, Reservation: 0/1344MB
   1.499   [Non-Local Vid.Mem.] Budget: 7509MB, CurrentUsage: 0MB, Reservation: 0/3882MB
   1.499   Tiled resources: Tier 2
   1.499   Unified Memory Architecture: No
   1.499   BGR 565 Supported: Yes
   1.499   MaximumFrameLatency: 3, GPUThreadPriority: 0
   1.499 Graphics settings preset: very-high
   1.499   Dedicated video memory size 2988 MB
   1.533 Desktop composition is active.
   1.533 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   1.533                   [Max threads (load/render): 32/2] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   1.559 [Audio] Driver:wasapi, Device:Default device, Depth:16, Channels:2, Frequency:44100
   1.698 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.698 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.698 Info ModManager.cpp:434: FeatureFlag quality = true
   1.698 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.698 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.698 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.698 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.703 Loading mod core 0.0.0 (data.lua)
   1.729 Loading mod base 2.0.13 (data.lua)
   1.993 Loading mod elevated-rails 2.0.13 (data.lua)
   2.039 Loading mod quality 2.0.13 (data.lua)
   2.067 Loading mod space-age 2.0.13 (data.lua)
   2.656 Loading mod base 2.0.13 (data-updates.lua)
   2.674 Loading mod quality 2.0.13 (data-updates.lua)
   2.704 Loading mod space-age 2.0.13 (data-updates.lua)
   2.828 Checksum for core: 3480657504
   2.828 Checksum of base: 2691306720
   2.828 Checksum of elevated-rails: 2288905443
   2.828 Checksum of quality: 4264147466
   2.828 Checksum of space-age: 542481865
   3.261 Prototype list checksum: 124222065
   3.315 Loading sounds...
   3.910 Info PlayerData.cpp:68: Local player-data.json unavailable
   3.910 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1730385234
   4.257 Initial atlas bitmap size is 16384
   4.274 Created an atlas bitmap (size 16384x16380) [none]
   4.295 Created an atlas bitmap (size 16384x16384) [none]
   4.328 Created an atlas bitmap (size 16384x16376) [none]
   4.330 Created an atlas bitmap (size 16384x15436) [none]
   4.330 Created an atlas bitmap (size 16384x8392) [decal]
   4.335 Created an atlas bitmap (size 16384x16384) [low-object]
   4.336 Created an atlas bitmap (size 4096x960) [low-object]
   4.337 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   4.337 Created an atlas bitmap (size 16384x5596) [none]
   4.337 Created an atlas bitmap (size 1676x79) [not-compressed]
   4.338 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   4.344 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   4.345 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   4.345 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   4.345 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   4.346 Created an atlas bitmap (size 8192x2576) [mipmap]
   4.346 Created an atlas bitmap (size 2048x1520) [mipmap]
   4.346 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.346 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.346 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.347 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   4.349 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   4.394 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   4.400 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   4.401 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
   4.401 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   4.401 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   4.401 Loading 3D bitmaps.
   4.415 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   4.432 Parallel sprite loader initialized (threads: 7, bitmaps: 8227)
  30.595 Sprites loaded
  30.746 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  30.758 Generated mipmaps (4) for atlas [6] of size 4096x960   
  30.769 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  30.803 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  30.827 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  30.840 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  30.856 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  30.982 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  30.994 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  31.005 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  31.035 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  31.046 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  31.100 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  31.150 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  31.176 Custom mipmaps uploaded (3203)
  31.191 Video memory usage: 3555.42 MB (Atlases: 3425.12 MB, Textures: 130.30 MB)
  31.307 Factorio initialised
  31.337 Steam Storage Quota: 23620/23841
  97.527 Loading map C:\Users\charl\AppData\Roaming\Factorio\saves\GotMyNutterButters.zip: 18397621 bytes.
  97.587 Loading level.dat: 47680754 bytes.
  97.596 Info Scenario.cpp:178: Map version 2.0.13-1
  98.376 Loading blueprint storage: Local timestamp 1729974044, Cloud timestamp 1729974044
  98.392 Loading script.dat: 1222 bytes.
  98.397 Checksum for script __level__/control.lua: 2463946943
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Util\ReleaseAssert.cpp(7): ReleaseAssertFailed
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\RollingStock.cpp(1005): RollingStock::Carriage::setRailState
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\RollingStock.cpp(1073): RollingStock::Carriage::setupRailsBetweenFrontAndBackInternal
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\RollingStock.cpp(113): RollingStock::snapRollingStockOnSetup
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\Locomotive.cpp(423): Locomotive::snapRollingStockOnSetup
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\RollingStock.cpp(54): RollingStock::setup
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\Locomotive.cpp(402): Locomotive::setup
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\Entity.cpp(348): Entity::runSetup
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Surface\Surface.cpp(296): Surface::setupEntity
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\EntityGhost.cpp(348): EntityGhost::revive
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Logistics\WorkerRobotJobs\ConstructionJob.cpp(83): ConstructionJob::update
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Entity\ConstructionRobot.cpp(298): ConstructionRobot::update
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Map\Map.cpp(2382): Map::performPlannedEntityUpdates
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Map\Map.cpp(1278): Map::updateEntities
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Game.cpp(175): Game::update
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Scenario\Scenario.cpp(1150): Scenario::updateStep
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\MainLoop.cpp(1397): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\MainLoop.cpp(1206): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\functional(823): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
C:\Users\build\AppData\Local\Temp\factorio-build-i4ler1\src\Util\WorkerThread.cpp(70): WorkerThread::loop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl MapGenerationHelper::*)(void),MapGenerationHelper *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB0907374)
00007FFFB0907374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFFB20BCC91)
00007FFFB20BCC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 101.952 Error Rail.cpp:181: this->state == RailConnectionDirection::None was not true
 101.952 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
 101.952 Error CrashHandler.cpp:190: Map tick at moment of crash: 12659980
 102.018 Info CrashHandler.cpp:318: Executable CRC: 3338373569
 102.018 Error Util.cpp:95: 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.
 107.160 Uploading log file
 107.172 Error CrashHandler.cpp:270: Heap validation: success.
 107.173 Creating crash dump.
 107.460 CrashDump success
Attachments
GotMyNutterButters.zip
Crash should happen almost instantly.
(17.55 MiB) Downloaded 3 times
factorio-dump-previous.dmp
(778.33 KiB) Downloaded 1 time
factorio-previous.log
(13.97 KiB) Downloaded 3 times
factorio-dump-current.dmp
(745.91 KiB) Downloaded 1 time
factorio-current.log
(13.98 KiB) Downloaded 8 times
Last edited by McSaucyNugget on Thu Oct 31, 2024 3:16 pm, edited 1 time in total.
Post Reply

Return to “Bug Reports”