Page 1 of 1

[Dominik][0.17.31] Pipette/rotate assembler with fixed fluid recipe crashes game

Posted: Thu Apr 18, 2019 1:16 pm
by Deadlock989
If you have an assembler with a fluid fixed-recipe specified, and fluid filters on the input and output fluid boxes, you cannot rotate it in place such that the pipes mix fluids. This is correct behaviour.

If you Q-pipette such an assembler and then place it backwards on the pipes so that fluids mix, the game allows it. After placing, the assembler can be freely rotated without the "Can't mix fluids" floating text warning that you'd get from placing the assembler from your inventory. When you try to open the assembler, the game crashes.

Crash log:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-6v5zkl\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-6v5zkl\src\util\logger.cpp (376): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-6v5zkl\src\util\logger.cpp (527): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-6v5zkl\src\util\logging.cpp (90): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-build-6v5zkl\src\material\productionhelper.cpp (255): ProductionHelper::createMaterialGuiSlot
c:\cygwin64\tmp\factorio-build-6v5zkl\src\gui\assemblingmachinegui.cpp (99): AssemblingMachineGui::updateContent
c:\cygwin64\tmp\factorio-build-6v5zkl\src\input\commonmapinteraction.cpp (398): CommonMapInteraction::openEntityGui
c:\cygwin64\tmp\factorio-build-6v5zkl\src\input\commonmapinteraction.cpp (154): CommonMapInteraction::openGuiInternal
c:\cygwin64\tmp\factorio-build-6v5zkl\src\gameview.cpp (562): GameView::loadGuiForController
c:\cygwin64\tmp\factorio-build-6v5zkl\src\gameview.cpp (400): GameView::executeAction
c:\cygwin64\tmp\factorio-build-6v5zkl\src\gameview.cpp (328): GameView::executeActions
c:\cygwin64\tmp\factorio-build-6v5zkl\src\game.cpp (295): Game::postAllegroActionProcessed
c:\cygwin64\tmp\factorio-build-6v5zkl\src\game.cpp (268): Game::postUpdate
c:\cygwin64\tmp\factorio-build-6v5zkl\src\mainloop.cpp (914): MainLoop::prepare
c:\cygwin64\tmp\factorio-build-6v5zkl\src\mainloop.cpp (606): MainLoop::mainLoopStep
c:\cygwin64\tmp\factorio-build-6v5zkl\src\mainloop.cpp (374): MainLoop::run
c:\cygwin64\tmp\factorio-build-6v5zkl\src\main.cpp (1255): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF912854034)
00007FF912854034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF912F73691)
00007FF912F73691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  31.236 Error ProductionHelper.cpp:255: Failed to create GUI slot: objectIndex: 0, isInput: true, inventory size: 0, fluidBoxManager: true, input size: 0, output size: 0, target specification: source: entity-inventory, target: default, inventory index: 2, slot index: 0, source: 75
Logger::writeStacktrace skipped.
  31.236 Error CrashHandler.cpp:177: Map tick at moment of crash: 4429430
  31.237 Error Util.cpp:97: 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.
  33.082 Uploading log file
  33.088 Error CrashHandler.cpp:213: Heap validation: success.
  33.090 Creating crash dump.
  33.392 CrashDump success

Re: [Dominik][0.17.31] Pipette/rotate assembler with fixed fluid recipe crashes game

Posted: Thu Apr 25, 2019 12:29 pm
by Dominik
Hi, this is really great as I have been trying to find the source of this crash for a long time. Now I finally got it and fixed it. Thanks!

Re: [Dominik][0.17.31] Pipette/rotate assembler with fixed fluid recipe crashes game

Posted: Thu Apr 25, 2019 1:26 pm
by Deadlock989
No, thank you mate.