Page 1 of 1

[1.1.76] [Rseding91] Crash when opening spidertron GUI after fuel requirement removed

Posted: Tue Mar 14, 2023 1:20 am
by Xorimuth
To reproduce, load the attached save with the mods Editor Extensions, Spidertron Patrols, but NOT Exotic Industries. Click on the spiderling and it will crash. The spiderling was created whilst Exotic Industries was active instead of K2, so it used to require fuel.

Code: Select all

  31.660 Error CrashHandler.cpp:635: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (51): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (59): printStacktraceToStream
src/Util/Logger.cpp (313): writeStacktrace
src/Util/Logger.cpp (322): logStacktrace
src/Util/CrashHandler.cpp (184): writeStackTrace
src/Util/CrashHandler.cpp (636): commonSignalHandler
src/Util/CrashHandler.cpp (642): SignalHandler
0x7ff804127c1c
src/Trigger/Shooter.cpp (0): getCooldownProgress
src/Gui/DrivableVehicleGui.cpp (90): operator()
/usr/local/opt/llvm@13/bin/../include/c++/v1/type_traits (3918): __invoke<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.WWLFYK0N/src/Gui/DrivableVehicleGui.cpp:90:25) &>
/usr/local/opt/llvm@13/bin/../include/c++/v1/__functional/invoke.h (30): __call<(lambda at /var/folders/66/_kmq1p313sn21hq50sykcbv80000gn/T/factorio-build-XXXXXX.WWLFYK0N/src/Gui/DrivableVehicleGui.cpp:90:25) &>
/usr/local/opt/llvm@13/bin/../include/c++/v1/__functional/function.h (171): operator()
/usr/local/opt/llvm@13/bin/../include/c++/v1/__functional/function.h (345): operator()
/usr/local/opt/llvm@13/bin/../include/c++/v1/__functional/function.h (0): operator()
/usr/local/opt/llvm@13/bin/../include/c++/v1/__functional/function.h (1175): operator()
src/Gui/ElemButton.cpp (144): paintComponent
libraries/Agui/Widget/Widget.cpp (1440): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget/Frame.cpp (0): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget/Frame.cpp (0): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget/Frame.cpp (0): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget.hpp (0): operator++
libraries/Agui/Widget/Layout.cpp (84): recursivePaintChildrenInternal
libraries/Agui/Widget/Frame.cpp (0): recursivePaintChildrenInternal
libraries/Agui/Widget/Widget.cpp (0): recursivePaintChildrenInternal
libraries/Agui/Gui.cpp (878): render
src/Graphics/GuiRenderer.cpp (0): prepare
src/MainLoop.cpp (1045): prepare
src/MainLoop.cpp (0): mainLoopStep
src/MainLoop.cpp (394): run
src/Main.cpp (0): main
0x7ff803dca310

Re: [1.1.76] Crash when opening spidertron GUI after fuel requirement removed

Posted: Tue Mar 14, 2023 1:29 am
by Xorimuth
I can't seem to be able to reproduce the state that the spiderling was in though. Just creating a spidertron with https://mods.factorio.com/mod/realism_spidertron and then removing the mod isn't enough to trigger a crash.

Re: [1.1.76] Crash when opening spidertron GUI after fuel requirement removed

Posted: Tue Mar 14, 2023 1:47 am
by Xorimuth
From the crash log - probably to do with weapon changes rather than fuel.

Re: [1.1.76] [Rseding91] Crash when opening spidertron GUI after fuel requirement removed

Posted: Tue Mar 14, 2023 2:15 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.