[Rseding91] [2.0.24] Crash loading save, no stacktrace
Posted: Mon Dec 09, 2024 10:31 am
A few seconds after loading the attached save, Factorio crashes to the desktop with no message etc.
First experienced in 2.0.23, updated to 2.0.24 to test if resolved.
Please let me know if any additional diagnosis/reproduction steps would be helpful, e.g. crash dumps or such (I work as a C++ developer so have assorted Windows debugging tools).
Edit: I tested again after rebooting. Game ran for longer, approximately half a minute, before crashing. I felt like the crash before the reboot was variable. It may have been related to how long I took to zoom the camera out from my player?
Another test, with Task Manager showing RAM and GPU RAM usage. Factorio ran for probably two minutes. RAM and GPU memory usage were stable, no run away leak/usage.
Edit Again: Since there was nothing showing in the logs, and no crash dump created, I kept poking about. This is from Event Viewer.
Edit some more:
Because I don't know how to leave it alone: Attached WinDbg and caught the crash in the debugger. Attatched the minidump.
> kb16
First experienced in 2.0.23, updated to 2.0.24 to test if resolved.
Please let me know if any additional diagnosis/reproduction steps would be helpful, e.g. crash dumps or such (I work as a C++ developer so have assorted Windows debugging tools).
Edit: I tested again after rebooting. Game ran for longer, approximately half a minute, before crashing. I felt like the crash before the reboot was variable. It may have been related to how long I took to zoom the camera out from my player?
Another test, with Task Manager showing RAM and GPU RAM usage. Factorio ran for probably two minutes. RAM and GPU memory usage were stable, no run away leak/usage.
Edit Again: Since there was nothing showing in the logs, and no crash dump created, I kept poking about. This is from Event Viewer.
Code: Select all
Faulting application name: Factorio.exe, version: 2.0.24.15340, time stamp: 0x6751b068
Faulting module name: ntdll.dll, version: 10.0.19041.5007, time stamp: 0x688f8c4b
Exception code: 0xc0000374
Fault offset: 0x00000000000ff3c9
Faulting process ID: 0x9630
Faulting application start time: 0x01db4a26bf16e9c6
Faulting application path: D:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report ID: 1fa34c30-74e2-464d-974d-ee23c5759675
Faulting package full name:
Faulting package-relative application ID:
Code: Select all
Fault bucket 1708318524644381737, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Factorio.exe
P2: 2.0.24.15340
P3: 6751b068
P4: StackHash_8b73
P5: 10.0.19041.5007
P6: 688f8c4b
P7: c0000374
P8: PCH_44_FROM_ntdll+0x000000000009E044
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF172.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF2DA.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF30A.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF308.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERF329.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Factorio.exe_7e4da42bdf736bf77c6ab2647ed430944444cf_899926c2_c3a8a328-04c7-4c8f-a939-0a5ec2be9dfe
Analysis symbol:
Rechecking for solution: 0
Report Id: 1fa34c30-74e2-464d-974d-ee23c5759675
Report Status: 268435456
Hashed bucket: 6d33116aa40ffa42d7b52aa5a8a5d429
Cab Guid: 0
Because I don't know how to leave it alone: Attached WinDbg and caught the crash in the debugger. Attatched the minidump.
> kb16
Code: Select all
# RetAddr : Args to Child : Call Site
00 00007ffa`787d8112 : 000002e3`180a3aa0 00007ffa`788397f0 00000000`0000000f 000002e3`58bc0000 : ntdll!RtlReportCriticalFailure+0x56
01 00007ffa`787d83fa : 00000000`0000000f 00000000`00000030 000002e3`58bc0000 000000ed`a7d5c770 : ntdll!RtlpHeapHandleError+0x12
02 00007ffa`787de081 : 000002e4`59978610 00000000`000000f3 00000000`00000014 000002e3`58ad11d0 : ntdll!RtlpHpHeapHandleError+0x7a
03 00007ffa`7878309f : 00000000`02420001 00000000`000000f3 000002e3`081d7420 00000000`00000000 : ntdll!RtlpLogHeapFailure+0x45
04 00007ffa`786fb3c7 : 000002e3`58ad0000 7fffffff`0000000a 00000000`00000028 00000000`00000000 : ntdll!RtlpLowFragHeapAllocFromContext+0x87a4f
05 00007ff6`069f10a8 : 00000000`00000000 00000000`00000028 00010a03`fffd5037 000108fb`fffd0000 : ntdll!RtlpAllocateHeapInternal+0x9a7
06 00007ff6`069bc91f : 00000000`ffffffea 00000000`00000008 000002e4`5f49d540 00000000`00000085 : Factorio!_malloc_base+0x44 [minkernel\crts\ucrt\src\appcrt\heap\malloc_base.cpp @ 34]
07 00007ff6`05eee2b9 : 00000000`00000008 000000ed`a7d5c8a9 00000000`00000005 00000000`00000085 : Factorio!operator new+0x1f [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp @ 35]
08 (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : Factorio!AdvancedTile::registerEntity+0x2c [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Map\AdvancedTile.cpp @ 50]
09 00007ff6`05622197 : 000002e3`06b9b540 000108fb`fffd4d3b 000108f8`fffffea7 000002e3`06b9b558 : Factorio!Surface::addEntityWithoutSetup+0x129 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Surface\Surface.cpp @ 204]
0a 00007ff6`0562c9ff : 00000000`3efe9c00 00000000`ffffffea 0001097b`fffd4eb9 00000000`000108fb : Factorio!Segment::changeSegmentPosition+0x247 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Entity\Segments\Segment.cpp @ 250]
0b 00007ff6`056273e6 : 00000201`7ffa022f 000002e4`607ea150 000001e2`b18b3e14 000002e4`408a6fb0 : Factorio!SegmentEngine::updateSegments+0x25f [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Entity\Segments\SegmentEngine.cpp @ 115]
0c (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : Factorio!SegmentEngine::update+0x29 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Entity\Segments\SegmentEngine.cpp @ 96]
0d (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : Factorio!SegmentedUnitNavigation::moveUnit+0xc4 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Entity\Segments\SegmentedUnitNavigation.cpp @ 133]
0e 00007ff6`05efa98c : 00000200`00000000 00000000`00000003 000001e2`b18b3e14 000002e4`408a6fb0 : Factorio!SegmentedUnitController::update+0x176 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Entity\Segments\SegmentedUnitController.cpp @ 118]
0f 00007ff6`05bdbbe5 : 000001e2`b18d5fc8 00000000`000000a2 00000000`00000003 00000000`00000000 : Factorio!Surface::update+0x67c [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Surface\Surface.cpp @ 2486]
10 00007ff6`051ac61c : 000002e3`2f518580 000002e3`17ac8970 000002e3`17ac8970 000001e2`b183c33c : Factorio!Map::updateEntities+0x375 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Map\Map.cpp @ 1273]
11 (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : Factorio!Map::update+0x10 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Map\Map.cpp @ 1223]
12 00007ff6`05cedd43 : 000002e4`7b18b4a0 00000000`00000000 00000000`00000000 000002e4`7b18bbb2 : Factorio!Game::update+0x7c [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Game.cpp @ 175]
13 (Inline Function) : --------`-------- --------`-------- --------`-------- --------`-------- : Factorio!Scenario::update+0xdc [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Scenario\Scenario.cpp @ 1247]
14 00007ff6`05226080 : 00000000`00000000 000000ed`a7d5cce0 00000000`00000000 00000000`00000000 : Factorio!Scenario::updateStep+0x103 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\Scenario\Scenario.cpp @ 1160]
15 00007ff6`05225408 : 00000000`00000000 000002e4`7b18b4a0 000002e3`17b0e940 00000000`00000000 : Factorio!MainLoop::gameUpdateStep+0x930 [C:\Users\build\AppData\Local\Temp\factorio-build-mzgSZi\src\MainLoop.cpp @ 1400]