[Lou][2.0.15] Crash upgrading ghost of rail ramp to rail ramp (Uncommon): LatencyState::getUpgradeTarget()

OxygenThief
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Nov 08, 2024 11:12 am
Contact:

[Lou][2.0.15] Crash upgrading ghost of rail ramp to rail ramp (Uncommon): LatencyState::getUpgradeTarget()

Post by OxygenThief »

Describe the problem by answering these questions
1. What did you do?
I created an upgrade planner to upgrade the ghost of a Rail Ramp to Rail Ramp (Uncommon) and clicked on a Rail Ramp ghost to upgrade it.

2. What happened?
My game crashed when I click to upgrade ghost with upgrade planner active.

3. What did you expect to happen instead? It might be obvious to you, but do it anyway!
It should have marked the ghost of my Rail Ramp as upgraded to Rail Ramp (Uncommon) and not crashed game.

4. Does it happen always, once, or sometimes?
Yes, I have crashed my game 5 times and tested when upgrading a ramp on Nauvis, and on Vulcanus.
I am playing on a dedicated server, the server does not crash when it happens.
It crashes 100% of time I try to upgrade.
Provide Attachments
log-file is included
save-file is included
crash dump is included

Code: Select all

   0.000 2024-11-09 00:17:53; Factorio 2.0.15 (build 80108, win64, steam, space-age)
   0.000 Operating system: Windows 11 (build 22621) 
   0.000 Initializing Steam API.
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Config path: C:/Users/Llewellyn/AppData/Roaming/Factorio/config/config.ini
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Llewellyn/AppData/Roaming/Factorio [26504/1906345MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.024 System info: [CPU: AMD Ryzen 9 5900X 12-Core Processor, 24 cores, RAM: 12621/32690 MB, page: 16981/37554 MB, virtual: 4369/134217727 MB, extended virtual: 0 MB]
   0.040 Memory info:
   0.040  [0]: Unknown F4-3600C16-16GTZN 16384 MB 3600 MHz 1.2 v
   0.040  [1]: Unknown F4-3600C16-16GTZN 16384 MB 3600 MHz 1.2 v
   0.159 Display options: [FullScreen: true] [VSync: false] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
  10.285 Video driver: windows
  10.285 Available displays: 1
  10.285  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 4090 {0x05, [0,0], 2560x1440, 32bit, 60Hz}
  10.311 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
  10.447 Initialised Direct3D[0]: NVIDIA GeForce RTX 4090; id: 10de-2684; driver: nvldumdx.dll 32.0.15.5599
  10.447   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
  10.447   [Local Video Memory] Budget: 23374MB, CurrentUsage: 9MB, Reservation: 0/11815MB
  10.447   [Non-Local Vid.Mem.] Budget: 15577MB, CurrentUsage: 0MB, Reservation: 0/7916MB
  10.447   Tiled resources: Tier 2
  10.447   Unified Memory Architecture: No
  10.447   BGR 565 Supported: Yes
  10.447   MaximumFrameLatency: 3, GPUThreadPriority: 0
  10.447 Graphics settings preset: very-high
  10.447   Dedicated video memory size 24142 MB
  10.470 Desktop composition is active.
  10.470 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
  10.470                   [Max threads (load/render): 32/24] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
  10.499 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
  10.584 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
  10.584 Info ModManager.cpp:434: FeatureFlag freezing = true
  10.584 Info ModManager.cpp:434: FeatureFlag quality = true
  10.584 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
  10.584 Info ModManager.cpp:434: FeatureFlag segmented-units = true
  10.584 Info ModManager.cpp:434: FeatureFlag space-travel = true
  10.584 Info ModManager.cpp:434: FeatureFlag spoiling = true
  10.587 Loading mod core 0.0.0 (data.lua)
  10.602 Loading mod base 2.0.15 (data.lua)
  10.773 Loading mod elevated-rails 2.0.15 (data.lua)
  10.803 Loading mod quality 2.0.15 (data.lua)
  10.817 Loading mod space-age 2.0.15 (data.lua)
  11.206 Loading mod base 2.0.15 (data-updates.lua)
  11.215 Loading mod quality 2.0.15 (data-updates.lua)
  11.229 Loading mod space-age 2.0.15 (data-updates.lua)
  11.328 Checksum for core: 3833371075
  11.328 Checksum of base: 1259916430
  11.328 Checksum of elevated-rails: 971617432
  11.328 Checksum of quality: 2471328700
  11.328 Checksum of space-age: 2088115374
  11.610 Prototype list checksum: 3872509593
  11.667 Loading sounds...
  12.225 Info PlayerData.cpp:68: Local player-data.json unavailable
  12.225 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1731064227
  12.488 Initial atlas bitmap size is 16384
  12.502 Created an atlas bitmap (size 16384x16380) [none]
  12.516 Created an atlas bitmap (size 16384x16384) [none]
  12.535 Created an atlas bitmap (size 16384x16384) [none]
  12.536 Created an atlas bitmap (size 16384x15420) [none]
  12.536 Created an atlas bitmap (size 16384x8392) [decal]
  12.541 Created an atlas bitmap (size 16384x16384) [low-object]
  12.541 Created an atlas bitmap (size 4096x960) [low-object]
  12.542 Created an atlas bitmap (size 16384x13440) [corpse-decay]
  12.542 Created an atlas bitmap (size 16384x5596) [none]
  12.542 Created an atlas bitmap (size 1676x79) [not-compressed]
  12.542 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
  12.548 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
  12.548 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
  12.549 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
  12.549 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
  12.549 Created an atlas bitmap (size 8192x2576) [mipmap]
  12.549 Created an atlas bitmap (size 2048x1520) [mipmap]
  12.549 Created an atlas bitmap (size 4096x3152) [mipmap]
  12.550 Created an atlas bitmap (size 4096x3152) [mipmap]
  12.550 Created an atlas bitmap (size 4096x3152) [mipmap]
  12.550 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  12.551 Created an atlas bitmap (size 16384x6120) [alpha-mask]
  12.569 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
  12.574 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
  12.574 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
  12.574 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
  12.574 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
  12.574 Loading 3D bitmaps.
  12.586 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  12.600 Parallel sprite loader initialized (threads: 23, bitmaps: 8228)
  25.016 Sprites loaded
  25.049 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  25.060 Generated mipmaps (4) for atlas [6] of size 4096x960   
  25.071 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  25.082 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  25.093 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  25.103 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  25.114 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  25.157 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  25.168 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  25.179 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  25.209 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  25.220 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  25.231 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  25.242 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  25.267 Custom mipmaps uploaded (3203)
  25.272 Video memory usage: 3555.24 MB (Atlases: 3424.93 MB, Textures: 130.30 MB)
  25.329 Factorio initialised
  25.329 Discord overlay detected (DiscordHook64.dll)
  25.348 Steam Storage Quota: 23283/23841
  35.473 Joining game IP ADDR:({161.29.201.83:34197})
  35.473 Info UDPSocket.cpp:38: Opening socket
  35.478 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  35.518 Connection refused
  35.518 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
  35.519 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(Disconnected)
  35.520 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=6
  36.255 Info AuthServerConnector.cpp:146: Received key from auth server.
  36.257 Info UDPSocket.cpp:233: Closing socket
  36.257 Info UDPSocket.cpp:263: Socket closed
  36.257 Joining game IP ADDR:({161.29.201.83:34197})
  36.257 Info UDPSocket.cpp:38: Opening socket
  36.257 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  36.302 Info ClientSynchronizer.cpp:27: Initialized Synchronizer local peer(1) latency(32).
  36.304 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(ConnectedWaitingForMap)
  36.304 Info ClientRouter.cpp:228: ConnectionAccepted
  36.669 Info ClientMultiplayerManager.cpp:746: Received mapReadyForDownload
  36.669 Downloading file C:\Users\Llewellyn\AppData\Roaming\Factorio\temp\mp-download.zip (21553027 B, auxiliary 208 B, 42850 blocks)
  36.676 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  37.537 Finished download (0 s, 21.5 MB, 24.9 MB/s)
  37.581 Info ClientMultiplayerManager.cpp:726: updateTick(18446744073709551615) map download finished creating scenario
  37.586 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  37.586 Loading map C:\Users\Llewellyn\AppData\Roaming\Factorio\temp\mp-download.zip: 21553027 bytes.
  37.625 Loading level.dat: 56593427 bytes.
  37.628 Info Scenario.cpp:178: Map version 2.0.15-4
  38.241 Loading blueprint storage: Local timestamp -1, Cloud timestamp -1
  38.241 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
  38.241 Loading blueprint storage: Local timestamp 1650693189, Cloud timestamp 1651976095
  38.243 Loading script.dat: 1222 bytes.
  38.248 Checksum for script __level__/control.lua: 2463946943
  38.271 Info ClientMultiplayerManager.cpp:607: UpdateTick(16366920) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  38.485 Info ClientMultiplayerManager.cpp:607: UpdateTick(16367030) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  38.552 Info ClientMultiplayerManager.cpp:607: UpdateTick(16367030) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  38.585 Info GameActionHandler.cpp:4309: UpdateTick (16367032) processed PlayerJoinGame peerID(5) playerIndex(0) mode(connect) 
  44.670 Info ClientSynchronizer.cpp:319: Latency changed to (5)
  49.668 Info ClientSynchronizer.cpp:319: Latency changed to (4)
  54.668 Info ClientSynchronizer.cpp:319: Latency changed to (3)
  79.669 Info ClientSynchronizer.cpp:319: Latency changed to (2)
  99.669 Info ClientSynchronizer.cpp:319: Latency changed to (5)
 124.669 Info ClientSynchronizer.cpp:319: Latency changed to (2)
 134.669 Info ClientSynchronizer.cpp:319: Latency changed to (3)
 144.057 Time travel logging:
  37.581 Scenario is being deleted
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\LatencyState.cpp(1250): LatencyState::getUpgradeTarget
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\UpgradeData.cpp(531): UpgradeData::applyInArea
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\CommonInputHandler.cpp(277): CommonInputHandler::upgrade
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\LatencyInputHandler.cpp(63): LatencyInputHandler::update
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\MainLoop.cpp(1413): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\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-qKZ8vt\src\Util\WorkerThread.cpp(71): 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 VariableAmbientSound::Track::*)(void),VariableAmbientSound::Track *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCE655257D)
00007FFCE655257D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFCE6E6AF08)
00007FFCE6E6AF08 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 145.186 Error LatencyState.cpp:1250: Entity marked for upgrade in latency state doesn't have its data in the latency state
 145.186 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
 145.186 Error CrashHandler.cpp:190: Map tick at moment of crash: 16373364
 145.235 Info CrashHandler.cpp:318: Executable CRC: 1545322776
 145.235 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.
 174.137 Uploading log file
 174.152 Error CrashHandler.cpp:270: Heap validation: success.
 174.153 Creating crash dump.
 174.330 CrashDump success
Attachments
factorio-previous.log
(13.24 KiB) Downloaded 16 times
factorio-dump-previous.dmp
(1.34 MiB) Downloaded 13 times
zpssubway.zip
(21.69 MiB) Downloaded 11 times
Post Reply

Return to “Assigned”