[Rseding91][2.0.21] Crash opening rocket silo after placing, with high ping (ProductionHelper::createMaterialGuiSlot)

This subforum contains all the issues which we already resolved.
Deiskos
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Apr 07, 2018 5:17 pm
Contact:

[Rseding91][2.0.21] Crash opening rocket silo after placing, with high ping (ProductionHelper::createMaterialGuiSlot)

Post by Deiskos »

What did you do?
Placed a rocket silo by double clicking instead of single clicking on a server.

What happened?
Immediate game client crash, server not affected.
After logging back in the silo is placed and the menu is opened. Can deconstruct the silo and repeat the process, the game still crashes.

What did you expect to happen instead? It might be obvious to you, but do it anyway!
For the game to not crash.

Does it happen always, once, or sometimes?
Doesn't happen in single player.
Happens every time on a remote server with 150ms latency, happens every time on a test VM I span up at home and simulated 150ms latency with `tc qdisc add dev eth0 root netem delay 150ms 10ms`.
Happens on a completely clean save created in the map editor where I only placed the rocket silo and then deconstructed it and tried placing it again.
Happens on test VM even if latency is negligible <1ms and simulated latency is disabled by rebooting the VM and checking it's disabled, but only in the first few seconds after connecting (while my client catches up to the server?).

Code: Select all

   0.000 2024-11-27 22:03:18; Factorio 2.0.21 (build 80595, win64, steam, space-age)
   0.000 Operating system: Windows 11 (build 22631) 
   0.000 Initializing Steam API.
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.000 Config path: C:/Users/deisk/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/deisk/AppData/Roaming/Factorio [111305/974484MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.006 System info: [CPU: AMD Ryzen 7 7745HX with Radeon Graphics, 16 cores, RAM: 14422/31937 MB, page: 22219/38081 MB, virtual: 4352/134217727 MB, extended virtual: 0 MB]
   0.017 Memory info:
   0.017  [0]: Samsung M425R2GA3BB0-CWMOD 16384 MB 5200 MHz 1.1 v
   0.017  [1]: Samsung M425R2GA3BB0-CWMOD 16384 MB 5200 MHz 1.1 v
   0.018 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 1] [Special: lmw] [Lang: en]
   0.209 Video driver: windows
   0.209 Available displays: 2
   0.209  [0]: \\.\DISPLAY1 - AMD Radeon(TM) 610M {0x80005, [0,0], 2560x1600, 32bit, 240Hz}
   0.209  [2]: \\.\DISPLAY3 - NVIDIA GeForce RTX 4060 Laptop GPU {0x01, [0,-1440], 2560x1440, 32bit, 240Hz}
   0.251 [Direct3D11] Display: 1, Output: 1, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.439 Initialised Direct3D[0]: NVIDIA GeForce RTX 4060 Laptop GPU; id: 10de-28e0; driver: nvldumdx.dll 32.0.15.6614
   0.439   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.439   [Local Video Memory] Budget: 7189MB, CurrentUsage: 13MB, Reservation: 0/3722MB
   0.439   [Non-Local Vid.Mem.] Budget: 15200MB, CurrentUsage: 1MB, Reservation: 0/7728MB
   0.439   Tiled resources: Tier 2
   0.439   Unified Memory Architecture: No
   0.439   BGR 565 Supported: Yes
   0.439   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.439 Graphics settings preset: very-high
   0.439   Dedicated video memory size 7957 MB
   0.468 Desktop composition is active.
   0.468 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.468                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.501 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.651 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.652 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.652 Info ModManager.cpp:434: FeatureFlag quality = true
   0.652 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.652 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.652 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.652 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.655 Loading mod core 0.0.0 (data.lua)
   0.687 Loading mod base 2.0.21 (data.lua)
   0.860 Loading mod elevated-rails 2.0.21 (data.lua)
   0.885 Loading mod quality 2.0.21 (data.lua)
   0.898 Loading mod space-age 2.0.21 (data.lua)
   1.224 Loading mod base 2.0.21 (data-updates.lua)
   1.251 Loading mod quality 2.0.21 (data-updates.lua)
   1.273 Loading mod space-age 2.0.21 (data-updates.lua)
   1.381 Checksum for core: 3166350550
   1.381 Checksum of base: 2157547950
   1.381 Checksum of elevated-rails: 2929976872
   1.381 Checksum of quality: 3484764141
   1.381 Checksum of space-age: 3284882429
   1.644 Prototype list checksum: 1564524375
   1.705 Loading sounds...
   2.082 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.082 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732715113
   2.084 Post-data load graphics options: [Light occlusion: YES]
   2.361 Initial atlas bitmap size is 16384
   2.371 Created an atlas bitmap (size 16384x16380) [none]
   2.383 Created an atlas bitmap (size 16384x16384) [none]
   2.399 Created an atlas bitmap (size 16384x16384) [none]
   2.400 Created an atlas bitmap (size 16384x15420) [none]
   2.400 Created an atlas bitmap (size 16384x8392) [decal]
   2.404 Created an atlas bitmap (size 16384x16384) [low-object]
   2.404 Created an atlas bitmap (size 4096x1088) [low-object]
   2.405 Created an atlas bitmap (size 16384x13440) [corpse-decay]
   2.405 Created an atlas bitmap (size 16384x5596) [none]
   2.405 Created an atlas bitmap (size 1676x79) [not-compressed]
   2.405 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.410 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   2.410 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   2.411 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.411 Created an atlas bitmap (size 4096x3104) [smoke, mipmap, linear-minification, linear-magnification]
   2.411 Created an atlas bitmap (size 8192x2576) [mipmap]
   2.411 Created an atlas bitmap (size 2048x1520) [mipmap]
   2.411 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.412 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.412 Created an atlas bitmap (size 4096x3152) [mipmap]
   2.412 Created an atlas bitmap (size 8192x3808) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.413 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   2.429 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   2.433 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   2.434 Created an atlas bitmap (size 16384x8364) [shadow, linear-magnification, alpha-mask]
   2.434 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.434 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.434 Loading 3D bitmaps.
   2.447 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.462 Parallel sprite loader initialized (threads: 15, bitmaps: 8229)
  14.982 Sprites loaded
  14.994 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  15.009 Generated mipmaps (4) for atlas [6] of size 4096x1088   
  15.026 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  15.043 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  15.060 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  15.077 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  15.092 Generated mipmaps (3) for atlas [14] of size 4096x3104   
  15.138 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  15.150 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  15.165 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  15.193 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  15.205 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  15.221 Generated mipmaps (5) for atlas [20] of size 8192x3808   
  15.237 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  15.260 Custom mipmaps uploaded (3203)
  15.278 Video memory usage: 3557.14 MB (Atlases: 3426.84 MB, Textures: 130.30 MB)
  15.344 Factorio initialised
  15.344 Discord overlay detected (DiscordHook64.dll)
  15.359 Steam Storage Quota: 23165/23841
  24.684 Joining game IP ADDR:({172.16.0.69:34197})
  24.684 Info UDPSocket.cpp:38: Opening socket
  24.688 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  24.715 Connection refused
  24.715 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
  24.715 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(Disconnected)
  24.717 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=6
  25.493 Info AuthServerConnector.cpp:146: Received key from auth server.
  25.496 Info UDPSocket.cpp:233: Closing socket
  25.496 Info UDPSocket.cpp:263: Socket closed
  25.496 Joining game IP ADDR:({172.16.0.69:34197})
  25.496 Info UDPSocket.cpp:38: Opening socket
  25.496 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  25.541 Info ClientSynchronizer.cpp:27: Initialized Synchronizer local peer(1) latency(32).
  25.543 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(ConnectedWaitingForMap)
  25.543 Info ClientRouter.cpp:228: ConnectionAccepted
  26.791 Info ClientMultiplayerManager.cpp:746: Received mapReadyForDownload
  26.791 Downloading file C:\Users\deisk\AppData\Roaming\Factorio\temp\mp-download.zip (22413275 B, auxiliary 85 B, 44561 blocks)
  26.797 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  27.833 Finished download (1 s, 22.4 MB, 21.5 MB/s)
  27.871 Info ClientMultiplayerManager.cpp:726: updateTick(18446744073709551615) map download finished creating scenario
  27.876 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  27.876 Loading map C:\Users\deisk\AppData\Roaming\Factorio\temp\mp-download.zip: 22413275 bytes.
  27.907 Loading level.dat: 57425395 bytes.
  27.910 Info Scenario.cpp:178: Map version 2.0.21-5
  28.664 Loading blueprint storage: Local timestamp 1730480980, Cloud timestamp 1730480980
  28.666 Loading script.dat: 1222 bytes.
  28.668 Checksum for script __level__/control.lua: 1487321736
  28.695 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544023) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  28.718 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544023) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  28.768 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544023) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  28.768 Info GameActionHandler.cpp:4324: UpdateTick (10544023) processed PlayerJoinGame peerID(2) playerIndex(0) mode(connect) 
  35.047 Info ClientSynchronizer.cpp:319: Latency changed to (2)
  42.537 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544773) changing state from(InGame) to(WaitingForUserToSaveOrQuitAfterServerLeft)
  53.471 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
  53.471 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544773) changing state from(WaitingForUserToSaveOrQuitAfterServerLeft) to(Disconnected)
  53.471 Info ClientMultiplayerManager.cpp:216: Deleting active scenario (global = true).
  53.702 Info UDPSocket.cpp:233: Closing socket
  53.702 Info UDPSocket.cpp:263: Socket closed
  85.039 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-blue
  85.039 Info Blueprint.cpp:52: when loading blueprint "ALL"
  85.039 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  85.039 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-F
  85.039 Info Blueprint.cpp:52: when loading blueprint "Factorio"
  85.039 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  85.039 Info IDWithQuality.cpp:304: fixing missing qualityID for id signal-W
  85.039 Info Blueprint.cpp:52: when loading blueprint "Wube"
  85.039 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  85.039 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail
  85.039 Info Blueprint.cpp:52: when loading blueprint ""
  85.039 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  85.039 Info IDWithQuality.cpp:304: fixing missing qualityID for id rail-ramp
  85.039 Info Blueprint.cpp:52: when loading blueprint ""
  85.039 Info SimulationWidget.cpp:34: save __base__/menu-simulations/menu-simulation-artillery.zip
  91.820 Joining game IP ADDR:({172.16.0.69:34197})
  91.820 Info UDPSocket.cpp:38: Opening socket
  91.820 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  91.852 Connection refused
  91.852 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
  91.852 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(Disconnected)
  91.854 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/generate-user-server-key-2?api_version=6
  92.532 Info AuthServerConnector.cpp:146: Received key from auth server.
  92.533 Info UDPSocket.cpp:233: Closing socket
  92.533 Info UDPSocket.cpp:263: Socket closed
  92.533 Joining game IP ADDR:({172.16.0.69:34197})
  92.533 Info UDPSocket.cpp:38: Opening socket
  92.533 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Ready) to(Connecting)
  92.568 Info ClientSynchronizer.cpp:27: Initialized Synchronizer local peer(1) latency(32).
  92.569 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(Connecting) to(ConnectedWaitingForMap)
  92.569 Info ClientRouter.cpp:228: ConnectionAccepted
  93.818 Info ClientMultiplayerManager.cpp:746: Received mapReadyForDownload
  93.818 Downloading file C:\Users\deisk\AppData\Roaming\Factorio\temp\mp-download.zip (22408666 B, auxiliary 85 B, 44552 blocks)
  93.821 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)
  94.788 Finished download (0 s, 22.4 MB, 23.1 MB/s)
  94.830 Info ClientMultiplayerManager.cpp:726: updateTick(18446744073709551615) map download finished creating scenario
  94.837 Info ClientMultiplayerManager.cpp:607: UpdateTick(18446744073709551615) changing state from(ConnectedDownloadingMap) to(ConnectedLoadingMap)
  94.837 Loading map C:\Users\deisk\AppData\Roaming\Factorio\temp\mp-download.zip: 22408666 bytes.
  94.868 Loading level.dat: 57396167 bytes.
  94.872 Info Scenario.cpp:178: Map version 2.0.21-5
  95.553 Loading blueprint storage: Local timestamp 1730480980, Cloud timestamp 1730480980
  95.553 Loading script.dat: 1222 bytes.
  95.556 Checksum for script __level__/control.lua: 1487321736
  95.573 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544773) changing state from(ConnectedLoadingMap) to(TryingToCatchUp)
  95.596 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544773) changing state from(TryingToCatchUp) to(WaitingForCommandToStartSendingTickClosures)
  95.663 Info ClientMultiplayerManager.cpp:607: UpdateTick(10544773) changing state from(WaitingForCommandToStartSendingTickClosures) to(InGame)
  95.663 Info GameActionHandler.cpp:4324: UpdateTick (10544773) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect) 
 104.169 Time travel logging:
  53.471 Scenario is being deleted
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Material\ProductionHelper.cpp(346): ProductionHelper::createMaterialGuiSlot
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Gui\AssemblingMachineGui.cpp(203): AssemblingMachineGui::updateContent
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Input\CommonMapInteraction.cpp(545): CommonMapInteraction::openEntityGui
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Input\CommonMapInteraction.cpp(363): CommonMapInteraction::openGuiInternal
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\GameView.cpp(540): GameView::loadGuiForController
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Game.cpp(243): Game::postActionProcessed
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Game.cpp(221): Game::postUpdate
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(1113): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(708): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Main.cpp(1357): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-GeLUZq\src\Main.cpp(1379): wmain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB98F3259D)
00007FFB98F3259D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB9988AF38)
00007FFB9988AF38 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
 105.195 Error ProductionHelper.cpp:346: Failed to create GUI slot: objectIndex: 0, isInput: true, inventory size: 0, fluidBoxManager: true, input size: 0, output size: 0, target specification: source: entity-inventory, inventory index: 2, slot index: 0, extra info: name: rocket-silo, fixed-recipe: rocket-part, current-recipe: rocket-part, simulation: true, setup: true
 105.195 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
 105.195 Error CrashHandler.cpp:190: Map tick at moment of crash: 10545284
 105.245 Info CrashHandler.cpp:318: Executable CRC: 2002594676
 105.245 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.
 110.020 Uploading log file
 110.107 Error CrashHandler.cpp:270: Heap validation: success.
 110.108 Creating crash dump.
 110.283 CrashDump success
Attachments
vulcanus hard.zip
(21.91 MiB) Downloaded 10 times
logs.zip
(16.02 KiB) Downloaded 8 times
Genhis
Factorio Staff
Factorio Staff
Posts: 688
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.21] Crash opening rocket silo after placing, with high ping (ProductionHelper::createMaterialGuiSlot)

Post by Genhis »

Thanks for the report, this is fixed for the next release (2.0.23).
Post Reply

Return to “Resolved Problems and Bugs”