[2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
jetkhan
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Apr 13, 2025 5:32 pm
Contact:

[2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Post by jetkhan »

This bug occurs during the blueprint preview, and is very repeatable.

In the linked save game, there is a single blueprint in the toolbar with a biter icon.

Go to a space platform and click on the blueprint but don't force build, just wait there with the blueprint preview active. The game will crash in 10-120 seconds. I tested this with my "shell" and "orbital science" stations, but it also crashes on others.

Linked logs and a pic with save file.
https://drive.google.com/file/d/1LthmHV ... sp=sharing

Code: Select all

   0.000 2025-04-21 12:02:22; Factorio 2.0.43 (build 82163, win64, steam, space-age)
   0.000 Operating system: Windows 10 (build 19045) 
   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/CD/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/CD/AppData/Roaming/Factorio [1037150/1907080MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.007 System info: [CPU: 13th Gen Intel(R) Core(TM) i9-13900KF, 32 cores, RAM: 8214/32580 MB, page: 10188/37444 MB, virtual: 4372/134217727 MB, extended virtual: 0 MB]
   0.018 Memory info:
   0.018  [0]: G Skill Intl F5-6000J3040F16G 16384 MB 4800 MHz 1.1 v 64|64
   0.018  [1]: G Skill Intl F5-6000J3040F16G 16384 MB 4800 MHz 1.1 v 64|64
   0.019 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.194 Video driver: windows
   0.194 Available displays: 1
   0.194  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 4090 {0x05, [0,0], 2560x1440, 32bit, 360Hz}
   0.218 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.379 Initialised Direct3D[0]: NVIDIA GeForce RTX 4090; id: 10de-2684; driver: nvldumdx.dll 32.0.15.7602
   0.379   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.379   [Local Video Memory] Budget: 23374MB, CurrentUsage: 6MB, Reservation: 0/11815MB
   0.379   [Non-Local Vid.Mem.] Budget: 15522MB, CurrentUsage: 0MB, Reservation: 0/7889MB
   0.379   Tiled resources: Tier 2
   0.379   Unified Memory Architecture: No
   0.379   BGR 565 Supported: Yes
   0.379   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.379 Graphics settings preset: very-high
   0.379   Dedicated video memory size 24142 MB
   0.411 Desktop composition is active.
   0.411 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.411                   [Max threads (load/render): 32/32] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWTl] [B:0,C:0,S:100]
   0.444 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.540 Logitech LED Controller initialized.
   0.561 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
   0.561 Info ModManager.cpp:444: FeatureFlag freezing = true
   0.561 Info ModManager.cpp:444: FeatureFlag quality = true
   0.561 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
   0.561 Info ModManager.cpp:444: FeatureFlag segmented-units = true
   0.561 Info ModManager.cpp:444: FeatureFlag space-travel = true
   0.561 Info ModManager.cpp:444: FeatureFlag spoiling = true
   0.563 Loading mod core 0.0.0 (data.lua)
   0.575 Loading mod base 2.0.43 (data.lua)
   0.685 Loading mod elevated-rails 2.0.43 (data.lua)
   0.704 Loading mod quality 2.0.43 (data.lua)
   0.715 Loading mod space-age 2.0.43 (data.lua)
   0.910 Loading mod base 2.0.43 (data-updates.lua)
   0.920 Loading mod quality 2.0.43 (data-updates.lua)
   0.932 Loading mod space-age 2.0.43 (data-updates.lua)
   0.989 Checksum for core: 2871805093
   0.989 Checksum of base: 961148251
   0.989 Checksum of elevated-rails: 1723922474
   0.989 Checksum of quality: 3659920990
   0.989 Checksum of space-age: 2640575863
   1.209 Prototype list checksum: 2053221192
   1.246 Loading sounds...
   1.486 Info PlayerData.cpp:66: Local player-data.json unavailable
   1.486 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1745250466
   1.488 Post-data load graphics options: [Light occlusion: YES]
   1.692 Initial atlas bitmap size is 16384
   1.701 Created an atlas bitmap (size 16384x16384) [none]
   1.711 Created an atlas bitmap (size 16384x16380) [none]
   1.726 Created an atlas bitmap (size 16384x16384) [none]
   1.727 Created an atlas bitmap (size 16384x15040) [none]
   1.729 Created an atlas bitmap (size 16384x16384) [low-object]
   1.730 Created an atlas bitmap (size 4096x1664) [low-object]
   1.730 Created an atlas bitmap (size 16384x14176) [corpse-decay]
   1.730 Created an atlas bitmap (size 16384x8392) [decal]
   1.730 Created an atlas bitmap (size 16384x5596) [none]
   1.730 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.730 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.731 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
   1.734 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   1.734 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   1.734 Created an atlas bitmap (size 8192x4128) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.734 Created an atlas bitmap (size 8192x2608) [mipmap]
   1.734 Created an atlas bitmap (size 3504x768) [mipmap]
   1.734 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.734 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.734 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.734 Created an atlas bitmap (size 8192x3872) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.735 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.748 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
   1.751 Created an atlas bitmap (size 16384x16376) [shadow, linear-magnification, alpha-mask]
   1.751 Created an atlas bitmap (size 16384x3756) [shadow, linear-magnification, alpha-mask]
   1.751 Created an atlas bitmap (size 8192x4000) [shadow, mipmap, linear-magnification, alpha-mask]
   1.751 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.751 Loading 3D bitmaps.
   1.757 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.793 Parallel sprite loader initialized (threads: 30, bitmaps: 8304)
  10.956 Sprites loaded
  10.967 Generated mipmaps (4) for atlas [4] of size 16384x16384   
  10.978 Generated mipmaps (4) for atlas [5] of size 4096x1664   
  10.988 Generated mipmaps (3) for atlas [10] of size 16384x4240   
  11.000 Generated mipmaps (3) for atlas [11] of size 4096x3040   
  11.010 Generated mipmaps (3) for atlas [12] of size 16384x16352   
  11.021 Generated mipmaps (3) for atlas [13] of size 16384x4944   
  11.033 Generated mipmaps (3) for atlas [14] of size 8192x4128   
  11.089 Generated mipmaps (3) for atlas [15] of size 8192x2608   
  11.100 Generated mipmaps (3) for atlas [16] of size 3504x768   
  11.111 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  11.139 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  11.150 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  11.160 Generated mipmaps (5) for atlas [20] of size 8192x3872   
  11.171 Generated mipmaps (3) for atlas [25] of size 8192x4000   
  11.192 Custom mipmaps uploaded (3435)
  11.209 Video memory usage: 3578.36 MB (Atlases: 3448.06 MB, Textures: 130.30 MB)
  11.275 Factorio initialised
  11.283 Steam Storage Quota: 12853/23841
  12.942 Loading map C:\Users\CD\AppData\Roaming\Factorio\saves\SpaceAge_BugDemo.zip: 48943517 bytes.
  12.980 Loading level.dat: 135186880 bytes.
  12.984 Info Scenario.cpp:153: Map version 2.0.43-3
  14.042 Loading blueprint storage: Local timestamp 1729756086, Cloud timestamp 1729756086
  14.043 Loading script.dat: 1222 bytes.
  14.045 Checksum for script __level__/control.lua: 2734153661
  27.392 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\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: 00007FF9048128BF)
00007FF9048128BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9047C2554)
00007FF9047C2554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9048113CE)
00007FF9048113CE (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Entity\HeuristicEntitySearch.cpp(67): HeuristicEntityIterator<Surface>::moveUntilEntityFound
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Entity\EntitySearch.hpp(79): EntitySearch<Entity>::EntitySearch<Entity><Surface>
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Fluid\FluidBox.cpp(566): FluidBox::findOtherNormalEnd<Surface>
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Fluid\FluidBox.cpp(682): FluidBox::setupConnection
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Fluid\FluidBox.cpp(1550): FluidBox::setup
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Entity\Pipe.cpp(43): Pipe::setup
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\EntityToBeBuiltSettings.cpp(72): EntityToBeBuiltSettings::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\DrawBlueprintToBeBuiltLogic.cpp(188): DrawBlueprintToBeBuiltLogic::drawEntitiesCore
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\DrawBlueprintToBeBuiltLogic.cpp(147): DrawBlueprintToBeBuiltLogic::drawEntities
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\BuildingRenderer.cpp(251): BuildingRenderer::drawBlueprintToBeBuilt
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\BuildingRenderer.cpp(199): BuildingRenderer::prepareBuildingInGame
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\BuildingRenderer.cpp(102): BuildingRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Graphics\GameRenderer.cpp(102): GameRenderer::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\GameView.cpp(1533): GameView::prepareRender
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Game.cpp(331): Game::prepareRender
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\MainLoop.cpp(1144): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\MainLoop.cpp(710): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\MainLoop.cpp(414): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\src\Main.cpp(1357): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-zTo8Fr\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: 00007FF904677374)
00007FF904677374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9047BCC91)
00007FF9047BCC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  28.186 Error CrashHandler.cpp:190: Map tick at moment of crash: 56531408
  28.212 Info CrashHandler.cpp:318: Executable CRC: 483359364
  28.212 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.
  31.776 Uploading log file
  31.785 Error CrashHandler.cpp:270: Heap validation: success.
  31.785 Creating crash dump.
  31.922 CrashDump success
Rseding91
Factorio Staff
Factorio Staff
Posts: 15670
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Post by Rseding91 »

Thanks for the report however I am unable to reproduce any crash. I've been sitting here with the blueprint in the cursor for the past 5 minutes without issue. Can you please post additional crash log files?
If you want to get ahold of me I'm almost always on Discord.
jetkhan
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Apr 13, 2025 5:32 pm
Contact:

Re: [2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Post by jetkhan »

factorio-current_immediate.log
(12.61 KiB) Downloaded 15 times
This one happened in less than 3 seconds.
factorio-current_A_003.log
(12.65 KiB) Downloaded 17 times
factorio-current_A_002.log
(12.35 KiB) Downloaded 10 times
factorio-current_A_001.log
(12.37 KiB) Downloaded 14 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3939
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Post by boskid »

Just to be sure, do you have latest bios? 13th/14th gen intel cpus are known to be unstable up to killing themselves due to faulty microcode and incorrect power limit values in bioses that contain microcode older than 0x129.
jetkhan
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Apr 13, 2025 5:32 pm
Contact:

Re: [2.0.43] Crash holding blueprint (HeuristicEntityIterator<Surface>::moveUntilEntityFound)

Post by jetkhan »

Yes I do, but there are also reports that the CPUs get damaged before the fix was in. So I admit it may be this particular action that makes the bug repeatable has to do with activating faulty cores or something.

Edit: More testing, I can get it to crash with a blueprint made only of belts if they number 1000+, doesn't have to be on a platform, but it takes longer the smaller the number. So, looks like a cpu load-related issue to me.

Update: RMA'd CPU, no more crashes.
Post Reply

Return to “1 / 0 magic”