Page 1 of 1

[Rseding91] [2.0.23] Crash hovering machine with "research-progress" product

Posted: Sun Dec 15, 2024 11:08 pm
by Poutinator
I've made a small mod to experiment with using "research-progress" as a product on a recipe. When a research recipe is set on an assemble and we hover that assemble, the game crash.

The attachment contains the test mod, a test scenario and a log file following a crash from hovering the assembler in the example scenario. No other mods where enabled.

Code: Select all

   0.003 2024-12-15 18:01:46; Factorio 2.0.23 (build 80769, win64, steam, space-age)
   0.003 Operating system: Windows 10 (build 19045) 
   0.000 Initializing Steam API.
   0.008 Program arguments: "D:\Jeux\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.008 Config path: C:/Users/Olivier/AppData/Roaming/Factorio/config/config.ini
   0.008 Read data path: D:/Jeux/Steam/steamapps/common/Factorio/data
   0.008 Write data path: C:/Users/Olivier/AppData/Roaming/Factorio [12264/228408MB]
   0.008 Binaries path: D:/Jeux/Steam/steamapps/common/Factorio/bin
   0.029 System info: [CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz, 4 cores, RAM: 7338/16347 MB, page: 9921/32731 MB, virtual: 4340/134217727 MB, extended virtual: 0 MB]
   0.209 Memory info:
   0.209  [0]: 029E CMK16GX4M2A2133C13 8192 MB 2133 MHz 1.2 v
   0.209  [1]: 029E CMK16GX4M2A2133C13 8192 MB 2133 MHz 1.2 v
   0.321 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.471 Video driver: windows
   0.471 Available displays: 3
   0.471  [2]: \\.\DISPLAY3 - NVIDIA GeForce RTX 3060 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.472  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 3060 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.472  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 3060 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
   0.562 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   1.029 Initialised Direct3D[0]: NVIDIA GeForce RTX 3060; id: 10de-2504; driver: nvldumdx.dll 31.0.15.3168
   1.029   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   1.029   [Local Video Memory] Budget: 11361MB, CurrentUsage: 23MB, Reservation: 0/5808MB
   1.029   [Non-Local Vid.Mem.] Budget: 7508MB, CurrentUsage: 15MB, Reservation: 0/3882MB
   1.029   Tiled resources: Tier 2
   1.029   Unified Memory Architecture: No
   1.029   BGR 565 Supported: Yes
   1.029   MaximumFrameLatency: 3, GPUThreadPriority: 0
   1.029 Graphics settings preset: very-high
   1.029   Dedicated video memory size 12129 MB
   1.093 Desktop composition is active.
   1.093 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   1.093                   [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   1.162 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   1.357 Info ModManager.cpp:434: FeatureFlag expansion-shaders = false
   1.357 Info ModManager.cpp:434: FeatureFlag freezing = false
   1.357 Info ModManager.cpp:434: FeatureFlag quality = false
   1.357 Info ModManager.cpp:434: FeatureFlag rail-bridges = false
   1.357 Info ModManager.cpp:434: FeatureFlag segmented-units = false
   1.357 Info ModManager.cpp:434: FeatureFlag space-travel = false
   1.357 Info ModManager.cpp:434: FeatureFlag spoiling = false
   1.361 Loading mod core 0.0.0 (data.lua)
   1.388 Loading mod base 2.0.23 (data.lua)
   1.654 Loading mod science-recipe-test 1.0.0 (data.lua)
   1.671 Loading mod base 2.0.23 (data-updates.lua)
   1.739 Checksum for core: 2271797277
   1.739 Checksum of base: 2653859856
   1.739 Checksum of science-recipe-test: 3295125718
   2.028 Prototype list checksum: 2005441235
   2.064 Loading sounds...
   2.384 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.384 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1734303653
   2.387 Warning Campaign.cpp:69: Error while parsing __base__/campaigns/beta/description.json:
Value must be a bool in property tree at ROOT.multiplayer-compatible
   2.387 Warning Campaign.cpp:69: Error while parsing __base__/campaigns/demo/description.json:
Value must be a bool in property tree at ROOT.multiplayer-compatible
   2.388 Post-data load graphics options: [Light occlusion: no]
   2.692 Initial atlas bitmap size is 16384
   2.736 Created an atlas bitmap (size 16384x16368) [none]
   2.739 Created an atlas bitmap (size 16384x12484) [none]
   2.739 Created an atlas bitmap (size 8192x4352) [decal]
   2.741 Created an atlas bitmap (size 16384x7424) [low-object]
   2.742 Created an atlas bitmap (size 16384x11340) [corpse-decay]
   2.743 Created an atlas bitmap (size 8192x5632) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.744 Created an atlas bitmap (size 16384x6288) [terrain, mipmap, linear-minification, linear-mip-level]
   2.745 Created an atlas bitmap (size 4096x2960) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   2.745 Created an atlas bitmap (size 4096x1792) [smoke, mipmap, linear-minification, linear-magnification]
   2.746 Created an atlas bitmap (size 4096x3088) [mipmap]
   2.746 Created an atlas bitmap (size 8192x2496) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.747 Created an atlas bitmap (size 8192x5168) [alpha-mask]
   2.776 Created an atlas bitmap (size 16384x16364) [shadow, linear-magnification, alpha-mask]
   2.777 Created an atlas bitmap (size 16384x3964) [shadow, linear-magnification, alpha-mask]
   2.777 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   2.777 Created an atlas bitmap (size 2048x272) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.778 Loading 3D bitmaps.
   2.834 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.851 Parallel sprite loader initialized (threads: 3, bitmaps: 4572)
  24.283 Sprites loaded
  24.318 Generated mipmaps (4) for atlas [3] of size 16384x7424   
  24.330 Generated mipmaps (3) for atlas [5] of size 8192x5632   
  24.353 Generated mipmaps (3) for atlas [6] of size 16384x6288   
  24.365 Generated mipmaps (3) for atlas [7] of size 4096x2960   
  24.376 Generated mipmaps (3) for atlas [8] of size 4096x1792   
  24.411 Generated mipmaps (3) for atlas [9] of size 4096x3088   
  24.423 Generated mipmaps (5) for atlas [10] of size 8192x2496   
  24.435 Generated mipmaps (3) for atlas [14] of size 8192x2352   
  24.460 Custom mipmaps uploaded (2122)
  24.486 Video memory usage: 1609.24 MB (Atlases: 1597.70 MB, Textures: 11.54 MB)
  24.588 Factorio initialised
  24.588 Discord overlay detected (DiscordHook64.dll)
  24.622 Steam Storage Quota: 23385/23841
  28.448 Warning Campaign.cpp:69: Error while parsing __base__/campaigns/beta/description.json:
Value must be a bool in property tree at ROOT.multiplayer-compatible
  28.448 Warning Campaign.cpp:69: Error while parsing __base__/campaigns/demo/description.json:
Value must be a bool in property tree at ROOT.multiplayer-compatible
  32.659 Loading level.dat: 1149573 bytes.
  32.660 Info Scenario.cpp:178: Map version 2.0.23-0
  32.719 Loading blueprint storage: Local timestamp 1733103895, Cloud timestamp 1733103893
  32.748 Loading script.dat: 1195 bytes.
  32.762 Checksum for script __level__/control.lua: 758477413
  46.769 Info AppManagerStates.cpp:2095: Saving finished
  50.114 Info AppManagerStates.cpp:2095: Saving finished
  52.765 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Util\CrashHandler.cpp(654): CrashHandler::SignalHandler
minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp(219): _seh_filter_exe
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(304): `__scrt_common_main_seh'::`1'::filt$0
D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\riscchandler.cpp(389): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95D5128BF)
00007FF95D5128BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95D4C2554)
00007FF95D4C2554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95D5113CE)
00007FF95D5113CE (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Entity\CraftingMachine.cpp(623): CraftingMachine::addContentCountsForDescription
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Entity\CraftingMachine.cpp(571): CraftingMachine::addToDescription
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Gui\SelectedInfo.cpp(40): SelectedInfo<Entity const *,EntityButton>::update
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Graphics\SelectedInfoRenderer.cpp(71): `SelectedInfoRenderer::update'::`2'::<lambda_1>::operator()<UniquePointer<SelectedInfo<Entity const *,EntityButton>,SimpleDeleter<SelectedInfo<Entity const *,EntityButton> >,1>,UniquePointer<SelectedInfo<Entity const *,EntityButton>,SimpleDeleter<SelectedInfo<Entity const *,EntityButton> >,1>,agui::GenericTargeter<ObjectInfoToolTip<Entity const *,EntityButton> >,Entity const *>
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\GameView.cpp(817): GameView::update
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Game.cpp(325): Game::prepareRender
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\MainLoop.cpp(1140): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\MainLoop.cpp(708): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\src\Main.cpp(1357): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-Nt5EXi\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: 00007FF95CAD7374)
00007FF95CAD7374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF95D4BCC91)
00007FF95D4BCC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  54.963 Error CrashHandler.cpp:190: Map tick at moment of crash: 1979
  55.040 Info CrashHandler.cpp:318: Executable CRC: 1465241209
  55.040 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.
  56.685 Uploading log file
  56.698 Error CrashHandler.cpp:270: Heap validation: success.
  56.699 Creating crash dump.
  57.172 CrashDump success

Re: [Rseding91] [2.0.23] Crash hovering machine with "research-progress" product

Posted: Tue Dec 17, 2024 6:06 pm
by catpig
Fixed in 2.0.26 according to the changelog at 124550