[Genhis][2.0.28] Crashing when recipe with "research-progress" reach its item stack size

This subforum contains all the issues which we already resolved.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Sat May 29, 2021 6:12 pm
Contact:

[Genhis][2.0.28] Crashing when recipe with "research-progress" reach its item stack size

Post by meifray »

So I have these code in a mod:

Code: Select all

data.raw.recipe["automation-science-pack"].category="advanced-crafting";
data.raw.recipe["automation-science-pack"].main_product="automation-science-pack";
data.raw.recipe["automation-science-pack"].results=
{
	{type="research-progress",research_item="automation-science-pack",amount=1},
	{type="item",name="automation-science-pack",amount=1}
}
and made this setup with a stack of red science in my hand
before doom
before doom
factoriobug_01.png (2.68 MiB) Viewed 290 times
put it into the product item stack,and it crash when it reach 100% or you say 99%
ah...shit
ah...shit
factoriobug_02.png (2.53 MiB) Viewed 290 times
Muche
Filter Inserter
Filter Inserter
Posts: 623
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: [2.0.28] Crashing when recipe with "research-progress" reach its item stack size

Post by Muche »

Please attach the log, as per 3638.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 64
Joined: Sat May 29, 2021 6:12 pm
Contact:

Re: [2.0.28] Crashing when recipe with "research-progress" reach its item stack size

Post by meifray »

log:
factorio-current.log
(17.26 KiB) Downloaded 5 times
the crash part:

Code: Select all

  41.332 Checksum for script __level__/control.lua: 2824674896
  60.481 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\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: 00007FFB91BF28BF)
00007FFB91BF28BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB91BA2554)
00007FFB91BA2554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB91BF13CE)
00007FFB91BF13CE (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Gui\AssemblingMachineGui.cpp(312): AssemblingMachineGui::updateStatus
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Gui\AssemblingMachineGui.cpp(154): AssemblingMachineGui::logic
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\libraries\Agui\Gui.cpp(866): agui::Gui::recursiveDoLogic
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\libraries\Agui\Gui.cpp(876): agui::Gui::recursiveDoLogic
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\libraries\Agui\Gui.cpp(819): agui::Gui::logic
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\GlobalContext.cpp(1399): GlobalContext::updateGui
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\MainLoop.cpp(1136): MainLoop::prepare
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\MainLoop.cpp(708): MainLoop::mainLoopStep
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\MainLoop.cpp(412): MainLoop::run
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\src\Main.cpp(1357): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-iHERbO\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: 00007FFB91437374)
00007FFB91437374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB91B9CC91)
00007FFB91B9CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  64.353 Error CrashHandler.cpp:190: Map tick at moment of crash: 18940
  64.478 Info CrashHandler.cpp:318: Executable CRC: 2137041080
  64.478 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.
Genhis
Factorio Staff
Factorio Staff
Posts: 717
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.28] Crashing when recipe with "research-progress" reach its item stack size

Post by Genhis »

Thanks for the report, this is fixed for 2.0.32.
Post Reply

Return to “Resolved Problems and Bugs”