[2.0.43] Crash loading save (Triangulation::voronoiTriangulation)

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
w1s
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 27, 2016 11:19 pm
Contact:

[2.0.43] Crash loading save (Triangulation::voronoiTriangulation)

Post by w1s »

I had just set 2 spidertrons to move from one area to another when the game crashed.
Loading the latest autosave crashed with the same reason, the previous autosave works fine.

Earlier in the session I'm pretty sure my player had been teleported from Nauvis to Vulcanus when exiting a remotely controlled spidertron, I don't know if this is related (I am only 80% sure I was on Nauvis in the first place though :lol:).

Stack trace:

Code: Select all

   0.000 2025-04-05 18:58:48; Factorio 2.0.43 (build 82163, win64, full, space-age)
   0.000 Operating system: Windows 11 (build 26100) 
   0.001 Program arguments: "C:\Program Files\Factorio\bin\x64\factorio.exe" 
   0.001 Config path: C:/Users/will/AppData/Roaming/Factorio/config/config.ini
   0.001 Read data path: C:/Program Files/Factorio/data
   0.001 Write data path: C:/Users/will/AppData/Roaming/Factorio [676422/1906282MB]
   0.001 Binaries path: C:/Program Files/Factorio/bin
   0.006 System info: [CPU: 13th Gen Intel(R) Core(TM) i9-13900K, 32 cores, RAM: 28624/65276 MB, page: 39543/71709 MB, virtual: 4295/134217727 MB, extended virtual: 0 MB]
   0.021 Memory info:
   0.021  [0]: Kingston KF560C32-16 16384 MB 6000 MHz 1.1 v 64|64
   0.021  [1]: Kingston KF560C32-16 16384 MB 6000 MHz 1.1 v 64|64
   0.021  [2]: Kingston KF560C32-16 16384 MB 6000 MHz 1.1 v 64|64
   0.021  [3]: Kingston KF560C32-16 16384 MB 6000 MHz 1.1 v 64|64
   0.025 Display options: [FullScreen: false] [VSync: false] [UIScale: manual-pixels (150.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.118 Video driver: windows
   0.118 Available displays: 2
   0.118  [0]: \\.\DISPLAY1 - NVIDIA GeForce RTX 4080 SUPER {0x05, [0,0], 3840x2160, 32bit, 60Hz}
   0.118  [1]: \\.\DISPLAY2 - NVIDIA GeForce RTX 4080 SUPER {0x01, [3840,0], 3840x2160, 32bit, 60Hz}
   0.155 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: -1; d3dcompiler_47.dll
   0.294 Initialised Direct3D[0]: NVIDIA GeForce RTX 4080 SUPER; id: 10de-2702; driver: nvldumdx.dll 32.0.15.7216
   0.294   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.294   [Local Video Memory] Budget: 15279MB, CurrentUsage: 6MB, Reservation: 0/7767MB
   0.294   [Non-Local Vid.Mem.] Budget: 31870MB, CurrentUsage: 0MB, Reservation: 0/16063MB
   0.294   Tiled resources: Tier 2
   0.294   Unified Memory Architecture: No
   0.294   BGR 565 Supported: Yes
   0.294   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.294 Graphics settings preset: very-high
   0.294   Dedicated video memory size 16047 MB
   0.315 Desktop composition is active.
   0.315 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.315                   [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.328 [Audio] Driver:wasapi, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.402 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
   0.402 Info ModManager.cpp:444: FeatureFlag freezing = true
   0.402 Info ModManager.cpp:444: FeatureFlag quality = true
   0.402 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
   0.402 Info ModManager.cpp:444: FeatureFlag segmented-units = true
   0.402 Info ModManager.cpp:444: FeatureFlag space-travel = true
   0.402 Info ModManager.cpp:444: FeatureFlag spoiling = true
   0.403 Loading mod settings OilOutpostPlanner 1.6.6 (settings.lua)
   0.403 Loading mod settings RateCalculator 3.3.7 (settings.lua)
   0.403 Loading mod settings EditorExtensions 2.4.2 (settings.lua)
   0.404 Loading mod settings let-me-laser-down-asteroids 1.0.4 (settings.lua)
   0.404 Loading mod settings visible-planets 1.4.5 (settings.lua)
   0.405 Loading mod core 0.0.0 (data.lua)
   0.416 Loading mod base 2.0.43 (data.lua)
   0.520 Loading mod OilOutpostPlanner 1.6.6 (data.lua)
   0.525 Loading mod bricked-foundry 1.1.0 (data.lua)
   0.530 Loading mod elevated-rails 2.0.43 (data.lua)
   0.547 Loading mod flib 0.16.2 (data.lua)
   0.552 Loading mod quality 2.0.43 (data.lua)
   0.562 Loading mod RateCalculator 3.3.7 (data.lua)
   0.567 Loading mod space-age 2.0.43 (data.lua)
   0.759 Loading mod EditorExtensions 2.4.2 (data.lua)
   0.776 Loading mod visible-planets 1.4.5 (data.lua)
   0.783 Loading mod base 2.0.43 (data-updates.lua)
   0.790 Loading mod bricked-foundry 1.1.0 (data-updates.lua)
   0.796 Loading mod quality 2.0.43 (data-updates.lua)
   0.817 Loading mod space-age 2.0.43 (data-updates.lua)
   0.823 Loading mod hd_planets 2.0.10 (data-updates.lua)
   0.824 Script @__hd_planets__/data-updates.lua:15: WARNING: missing space location: maraxsis
   0.824 Script @__hd_planets__/data-updates.lua:15: WARNING: missing space location: tenebris
   0.830 Loading mod EditorExtensions 2.4.2 (data-final-fixes.lua)
   0.836 Loading mod let-me-laser-down-asteroids 1.0.4 (data-final-fixes.lua)
   0.842 Loading mod visible-planets 1.4.5 (data-final-fixes.lua)
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for nauvis
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for vulcanus
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for gleba
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for fulgora
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for aquilo
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:107: Skipping visible-planets for space-location-unknown; Blacklisted.
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:29: Skipping visible-planets for solar-system-edge; Starmap icon missing.
   0.843 Script @__visible-planets__/data_stuff/sprite_prototypes.lua:37: Adding visible-planets for shattered-planet
   0.894 Checksum for core: 2871805093
   0.894 Checksum of base: 961148251
   0.894 Checksum of OilOutpostPlanner: 3194361580
   0.894 Checksum of bricked-foundry: 3007332850
   0.894 Checksum of elevated-rails: 1723922474
   0.894 Checksum of flib: 728527376
   0.894 Checksum of quality: 3659920990
   0.894 Checksum of RateCalculator: 1295360039
   0.894 Checksum of space-age: 2640575863
   0.894 Checksum of EditorExtensions: 3808487822
   0.894 Checksum of hd_planets: 3083261715
   0.894 Checksum of let-me-laser-down-asteroids: 1771245226
   0.894 Checksum of visible-planets: 3598016665
   1.116 Prototype list checksum: 1751158861
   1.145 Loading sounds...
   1.370 Info PlayerData.cpp:64: Local player-data.json available, timestamp 1743875859
   1.370 Info PlayerData.cpp:71: Cloud player-data.json unavailable
   1.372 Post-data load graphics options: [Light occlusion: YES]
   1.615 Initial atlas bitmap size is 16384
   1.625 Created an atlas bitmap (size 16384x16384) [none]
   1.639 Created an atlas bitmap (size 16384x16376) [none]
   1.654 Created an atlas bitmap (size 16384x16372) [none]
   1.654 Created an atlas bitmap (size 16384x15056) [none]
   1.658 Created an atlas bitmap (size 16384x16384) [low-object]
   1.658 Created an atlas bitmap (size 4096x1664) [low-object]
   1.658 Created an atlas bitmap (size 16384x14176) [corpse-decay]
   1.659 Created an atlas bitmap (size 16384x8392) [decal]
   1.659 Created an atlas bitmap (size 16384x5596) [none]
   1.659 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.659 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.659 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
   1.663 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   1.663 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   1.664 Created an atlas bitmap (size 8192x4128) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.664 Created an atlas bitmap (size 8192x2608) [mipmap]
   1.664 Created an atlas bitmap (size 3504x768) [mipmap]
   1.664 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.664 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.664 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.665 Created an atlas bitmap (size 16384x9968) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.665 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.682 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   1.685 Created an atlas bitmap (size 16384x16368) [shadow, linear-magnification, alpha-mask]
   1.685 Created an atlas bitmap (size 16384x3724) [shadow, linear-magnification, alpha-mask]
   1.685 Created an atlas bitmap (size 8192x4000) [shadow, mipmap, linear-magnification, alpha-mask]
   1.685 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.685 Loading 3D bitmaps.
   1.693 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.723 Parallel sprite loader initialized (threads: 31, bitmaps: 8347)
  10.440 Sprites loaded
  10.451 Generated mipmaps (4) for atlas [4] of size 16384x16384   
  10.462 Generated mipmaps (4) for atlas [5] of size 4096x1664   
  10.473 Generated mipmaps (3) for atlas [10] of size 16384x4240   
  10.484 Generated mipmaps (3) for atlas [11] of size 4096x3040   
  10.494 Generated mipmaps (3) for atlas [12] of size 16384x16352   
  10.505 Generated mipmaps (3) for atlas [13] of size 16384x4944   
  10.515 Generated mipmaps (3) for atlas [14] of size 8192x4128   
  10.559 Generated mipmaps (3) for atlas [15] of size 8192x2608   
  10.570 Generated mipmaps (3) for atlas [16] of size 3504x768   
  10.581 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  10.608 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  10.619 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  10.630 Generated mipmaps (5) for atlas [20] of size 16384x9968   
  10.641 Generated mipmaps (3) for atlas [25] of size 8192x4000   
  10.666 Custom mipmaps uploaded (3461)
  10.688 Video memory usage: 4246.70 MB (Atlases: 4116.39 MB, Textures: 130.30 MB)
  10.690 Custom inputs active: 8
  10.750 Factorio initialised
  10.761 Info AuthServerConnector.cpp:618: Performing TLS check.
  10.761 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/tls-check/success
  11.049 Info AuthServerConnector.cpp:651: TLS check success.
  11.049 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=w1s&token=<private>&apiVersion=2
  11.559 0 packages available to download (experimental updates enabled).
  12.655 Loading map C:\Users\will\AppData\Roaming\Factorio\saves\_autosave3.zip: 60818592 bytes.
  12.688 Loading level.dat: 703477539 bytes.
  12.692 Info Scenario.cpp:153: Map version 2.0.43-3
  14.988 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff7672765ea
ModuleBase: 0x00007ff766770000, ImageSize: 0291b000, RelativeAddress: 00b065ea
  14.988 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000000
  14.988 Error CrashHandler.cpp:523: Exception Context:
rax=0000ed3423cd25cd, rbx=00000243fb397e50, rcx=0000000000000000,
rdx=0000000000000000, rsi=00000243fb397da8, rdi=0000000000000000,
rip=00007ff7672765ea, rsp=0000005372dec2e0, rbp=0000000000000000,
 r8=0000005372dec444,  r9=0000005372dec454, r10=0000000000000000,
r11=0000000000000000, r12=0000000000000000, r13=00000243fb397da0,
r14=0000005372dec428, r15=0000000000000000
  14.988 Crashed in C:\Program Files\Factorio\bin\x64\factorio.exe (0x00007ff766770000 - 0x00007ff76908b000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Util\CrashHandler.cpp(552): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0E9AAF83)
00007FFB0E9AAF83 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB113E8CBA)
00007FFB113E8CBA (ntdll): (filename not available): strncpy
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB113A3E13)
00007FFB113A3E13 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB113E3F2F)
00007FFB113E3F2F (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB11293B78)
00007FFB11293B78 (ntdll): (filename not available): RtlWow64GetCurrentCpuArea
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB113E386E)
00007FFB113E386E (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\libraries\jc_voronoi\jc_voronoi.h(1281): _jcv_calc_bounds
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\libraries\jc_voronoi\jc_voronoi.h(1401): jcv_diagram_generate_useralloc
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Logistics\Triangulation.cpp(75): Triangulation::voronoiTriangulation
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Logistics\LogisticManager.cpp(80): LogisticManager::setup
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Force\ForceData.cpp(575): ForceData::setup
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Map\MapSetupHelper.cpp(100): MapSetupHelper::MapSetupHelper
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Map\Map.cpp(856): Map::setupEntities
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Scenario\Scenario.cpp(293): Scenario::loadFactory
C:\Users\build\AppData\Local\Temp\factorio-build-c89DCt\src\Scenario\ParallelScenarioLoader.cpp(190): ParallelScenarioLoader::doLoad
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*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputSource *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,0,1,2,3,4,5,6,7>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB0FB2E8D7)
00007FFB0FB2E8D7 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB1133BF6C)
00007FFB1133BF6C (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  15.842 Info CrashHandler.cpp:318: Executable CRC: 2879199010
  15.842 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.
  16.949 Uploading log file
  16.982 Error CrashHandler.cpp:270: Heap validation: success.
  16.983 Creating crash dump.
  17.062 CrashDump success
Log/dump/save/config/mods (except hd_planets_2.0.10 from the mod portal for size reasons):
https://drive.google.com/file/d/1uhETJ2 ... sp=sharing
Rseding91
Factorio Staff
Factorio Staff
Posts: 15335
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.43] Crash loading save (Triangulation::voronoiTriangulation)

Post by Rseding91 »

Thanks for the report. Your save file has a logistic network with zero cells (zero roboports). This should never be possible since the last one to be removed will delete the network. Do you know of any way to take a known good save file and get it into this broken state?
If you want to get ahold of me I'm almost always on Discord.
w1s
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Mar 27, 2016 11:19 pm
Contact:

Re: [2.0.43] Crash loading save (Triangulation::voronoiTriangulation)

Post by w1s »

Interesting, so it's possibly my player teleporting did cause it then (leaving behind an empty network?)
I have no clue how to replicate that but I will keep an eye out if it happens again

I checked all my auto saves (and my main save) to see if one would replicate the issue passively but it turned out they all had the crashing issue
Luckily with a big of WinDbg magic I was able to manually remove the offending empty network during loading and I have a working save again!

Thanks :D
Post Reply

Return to “1 / 0 magic”