Page 1 of 1

[Rseding91] [2.0.15] Segmentation fault in AssemblingMachineGui.cpp updateStatus

Posted: Sun Nov 10, 2024 2:58 pm
by Sunrosa
On the latest version of Factorio, left-clicking a cooling tower ghost from the latest versions of the Pyanodons Hard Mode set of mods replicably triggers a segmentation fault on a brand new save.

The log tail is as follows:

Code: Select all

14173.708 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\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: 00007FFDF71B28BF)
00007FFDF71B28BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDF7162554)
00007FFDF7162554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDF71B13CE)
00007FFDF71B13CE (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Gui\AssemblingMachineGui.cpp(343): AssemblingMachineGui::updateStatus
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Gui\AssemblingMachineGui.cpp(154): AssemblingMachineGui::logic
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\libraries\Agui\Gui.cpp(866): agui::Gui::recursiveDoLogic
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\libraries\Agui\Gui.cpp(876): agui::Gui::recursiveDoLogic
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\libraries\Agui\Gui.cpp(819): agui::Gui::logic
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\GlobalContext.cpp(1379): GlobalContext::updateGui
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\MainLoop.cpp(1130): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\MainLoop.cpp(707): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Main.cpp(1348): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-qKZ8vt\src\Main.cpp(1370): 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: 00007FFDF7017374)
00007FFDF7017374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDF715CC91)
00007FFDF715CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
14175.130 Error CrashHandler.cpp:190: Map tick at moment of crash: 20958009
14175.170 Info CrashHandler.cpp:318: Executable CRC: 1545322776
14175.170 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.
14185.620 Uploading log file
14185.766 Error CrashHandler.cpp:270: Heap validation: success.
14185.767 Creating crash dump.
14185.995 CrashDump success
It is under investigation and I am trying to convince people to attempt to replicate this on their system as well. So far, only my machine has been tested.
factorio-current.log
(123.5 KiB) Downloaded 30 times

Re: [2.0.15] Segmentation fault in AssemblingMachineGui.cpp updateStatus

Posted: Sun Nov 10, 2024 7:15 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.