[Kovarex] [1.1.81] Crash on replay "Error InventoryGuiSlot.cpp:223: No itemstack found"

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Ximoltus
Manual Inserter
Manual Inserter
Posts: 4
Joined: Thu Jan 14, 2021 5:12 pm
Contact:

[Kovarex] [1.1.81] Crash on replay "Error InventoryGuiSlot.cpp:223: No itemstack found"

Post by Ximoltus »

1. I ran the replay of this https://drive.google.com/file/d/1lRdA_3 ... sp=sharing save at full speed
2.the game crashed with the attached error message
3. the game to keep playing the replay and not crash
4. happened most of the time when running the replay at x64 speed 3/4. Didn't happen when trying it on x2 speed (one try).
5. - I ran the game on steam without mods
- click Single player -> load game
- select save
- click start replay button top right
- set the game to x64 replay speed right at the start
- the game crashes roughly ~20 minutes of ingame time into the run at the same point. (interacting with the lab assembler)

Code: Select all

   0.000 2023-04-30 13:28:26; Factorio 1.1.81 (build 60678, win64, steam)
   0.000 Operating system: Windows 11 (build 22621) 
   0.000 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "21904" 
   0.000 Config path: C:/Users/patri/AppData/Roaming/Factorio/config/config.ini
   0.000 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.000 Write data path: C:/Users/patri/AppData/Roaming/Factorio [446577/952920MB]
   0.000 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.005 System info: [CPU: 12th Gen Intel(R) Core(TM) i5-12600K, 16 cores, RAM: 6326/16197 MB, page: 9900/20549 MB, virtual: 4349/134217727 MB, extended virtual: 0 MB]
   0.015 Memory info:
   0.015  [0]: Kingston KF3200C16D4/8GX 8192 MB 3200 MHz 1.2 v
   0.016  [1]: Kingston KF3200C16D4/8GX 8192 MB 3200 MHz 1.2 v
   0.016 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.020 Video driver: windows
   0.020 Available displays: 3
   0.020  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 3060 Ti {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.020  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3060 Ti {0x01, [1920,-123], 1920x1200, 32bit, 59Hz}
   0.021  [2]: \\.\DISPLAY3 - NVIDIA GeForce RTX 3060 Ti {0x01, [-1280,47], 1280x1024, 32bit, 60Hz}
   0.110 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.273 Initialised Direct3D[0]: NVIDIA GeForce RTX 3060 Ti; id: 10de-2489; driver: nvldumdx.dll 31.0.15.3118
   0.273   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.273   [Local Video Memory] Budget: 7270MB, CurrentUsage: 4MB, Reservation: 0/3763MB
   0.273   [Non-Local Vid.Mem.] Budget: 7437MB, CurrentUsage: 1MB, Reservation: 0/3846MB
   0.273   Tiled resources: Tier 2
   0.273   Unified Memory Architecture: No
   0.273   BGR 565 Supported: Yes
   0.273   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.273 Graphics settings preset: very-high
   0.273   Dedicated video memory size 8038 MB
   0.300 Desktop composition is active.
   0.300 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality] [Color: 32bit]
   0.300                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.314 [Audio] Backend:SDL(default); Driver:wasapi, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.370 Logitech LED Controller initialized.
   0.492 Loading mod core 0.0.0 (data.lua)
   0.520 Loading mod base 1.1.81 (data.lua)
   0.633 Loading mod base 1.1.81 (data-updates.lua)
   0.690 Checksum for core: 3955387189
   0.690 Checksum of base: 434889501
   0.808 Prototype list checksum: 3034860339
   0.837 Loading sounds...
   0.991 Info PlayerData.cpp:73: Local player-data.json unavailable
   0.991 Info PlayerData.cpp:76: Cloud player-data.json available, timestamp 1682854102
   1.092 Initial atlas bitmap size is 16384
   1.121 Created atlas bitmap 16384x16368 [none]
   1.124 Created atlas bitmap 16384x13060 [none]
   1.124 Created atlas bitmap 8192x4188 [decal]
   1.124 Created atlas bitmap 16384x5568 [low-object]
   1.125 Created atlas bitmap 8192x4432 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.125 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.125 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.125 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
   1.126 Created atlas bitmap 4096x3088 [mipmap]
   1.126 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.126 Created atlas bitmap 8192x1496 [alpha-mask]
   1.128 Created atlas bitmap 16384x14772 [shadow, linear-magnification, alpha-mask]
   1.128 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.128 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.131 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.663 Parallel Sprite Loader initialized (threads: 13)
   6.008 Sprites loaded
   6.030 Generated mipmaps (4) for atlas [3] of size 16384x5568   
   6.041 Generated mipmaps (3) for atlas [4] of size 8192x4432   
   6.062 Generated mipmaps (3) for atlas [5] of size 16384x6064   
   6.074 Generated mipmaps (3) for atlas [6] of size 4096x3216   
   6.086 Generated mipmaps (3) for atlas [7] of size 4096x1856   
   6.113 Generated mipmaps (3) for atlas [8] of size 4096x3088   
   6.124 Generated mipmaps (5) for atlas [9] of size 8192x2240   
   6.136 Generated mipmaps (3) for atlas [12] of size 8192x2352   
   6.148 Custom mipmaps uploaded.
   6.240 Factorio initialised
   6.240 Discord overlay detected (DiscordHook64.dll)
   6.241 Steam Storage Quota: 124/4768
  18.663 Checksum for script C:/Users/patri/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2881393120
  43.147 Info InventoryGuiSlot.cpp:205: Has inventory: true
  43.147 Info InventoryGuiSlot.cpp:210: size: 1, has filters: false, filters: 0.
  43.147 Info InventoryGuiSlot.cpp:213: Item stack: false, dump: nil
  43.147 Info InventoryGuiSlot.cpp:214: Parent path: ROOT -> agui::TopContainer -> AssemblingMachineGui -> agui::HorizontalFlow -> agui::Window -> agui::HorizontalFlow -> agui::Frame -> agui::VerticalFlow -> agui::HorizontalFlow -> agui::Table -> InventoryGuiSlot
  43.147 Info InventoryGuiSlot.cpp:218: Local player (index 0) GUI target: Open GUI type: 1, Secondary Gui Index: 0, Entity: assembling-machine-1, Item: nullptr, Equipment: nullptr, Other player: nullptr, Custom GUI: nullptr, Script inventory: nullptrTile: nullptr.
  43.147 Info InventoryGuiSlot.cpp:221: Active window: class AssemblingMachineGui
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\tmp\factorio-build-t4z1fu\src\gui\inventoryguislot.cpp (223): InventoryGuiSlot::abort
c:\tmp\factorio-build-t4z1fu\src\gui\inventoryguislot.cpp (228): InventoryGuiSlot::getActiveStatus
c:\tmp\factorio-build-t4z1fu\src\gui\elembutton.cpp (78): ElemButton<ID<RecipePrototype,unsigned short>,Recipe>::paintBackground
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (237): agui::Widget::paint
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1438): agui::Widget::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\layout.cpp (84): agui::Layout::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\layout.cpp (84): agui::Layout::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\layout.cpp (84): agui::Layout::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\frame.cpp (131): agui::Frame::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\layout.cpp (84): agui::Layout::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\frame.cpp (131): agui::Frame::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\layout.cpp (84): agui::Layout::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\frame.cpp (131): agui::Frame::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1446): agui::Widget::recursivePaintChildrenInternal
c:\tmp\factorio-build-t4z1fu\libraries\agui\widget\widget.cpp (1424): agui::Widget::recursivePaintChildren
c:\tmp\factorio-build-t4z1fu\libraries\agui\gui.cpp (878): agui::Gui::render
c:\tmp\factorio-build-t4z1fu\src\graphics\guirenderer.cpp (79): GuiRenderer::prepare
c:\tmp\factorio-build-t4z1fu\src\mainloop.cpp (1045): MainLoop::prepare
c:\tmp\factorio-build-t4z1fu\src\mainloop.cpp (678): MainLoop::mainLoopStep
c:\tmp\factorio-build-t4z1fu\src\mainloop.cpp (394): MainLoop::run
c:\tmp\factorio-build-t4z1fu\src\main.cpp (1229): wmain
d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9AAA6269D)
00007FF9AAA6269D (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9ACB4A9F8)
00007FF9ACB4A9F8 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  45.146 Error InventoryGuiSlot.cpp:223: No itemstack found: target specification: source: entity-inventory, target: default, inventory index: 2, slot index: 1.
  45.146 Error CrashHandler.cpp:637: Received 22
Logger::writeStacktrace skipped.
  45.146 Error CrashHandler.cpp:191: Map tick at moment of crash: 67503
  45.177 Info CrashHandler.cpp:311: Executable CRC: 457808118
  45.177 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.
Attachments
factorio-current (1st crash).log
(10.12 KiB) Downloaded 64 times
crash.png
crash.png (19.59 KiB) Viewed 989 times
Xoriun
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Wed Apr 01, 2020 11:31 am
Contact:

Re: [1.1.81] Crash on replay "Error InventoryGuiSlot.cpp:223: No itemstack found"

Post by Xoriun »

video of the run itself for reference:
https://www.twitch.tv/videos/1806102513
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Kovarex] [1.1.81] Crash on replay "Error InventoryGuiSlot.cpp:223: No itemstack found"

Post by kovarex »

Hello, I couldn't reproduce the issue, and the code around it seems to be quite safe as well, so I suspect a local problem.
Post Reply

Return to “1 / 0 magic”