Page 1 of 1

[Dominik][0.17.38] Crash due to assember fluid box

Posted: Sun May 12, 2019 1:20 pm
by Cooldude2606
Our server has crashed twise now with this save; from the stacktrace it seams to be related to a fulid box of an assembling machine. Full log is attached and save file can be found at: Server Save File

Code: Select all

#0  0x0000000000c861ad in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x00000000009a96b8 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x00000000009c668f in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000b3e829 in Logger::flush() at /tmp/factorio-build-76nkti/src/Util/Logger.cpp:548
#4  0x0000000000b3efed in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-76nkti/src/Util/Logger.cpp:534
#5  0x0000000000b3fefc in Logging::flush() at /tmp/factorio-build-76nkti/src/Util/Logging.cpp:66
#6  0x0000000000b40745 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::string const&) at /tmp/factorio-build-76nkti/src/Util/Logging.cpp:97
#7  0x0000000000bf441b in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-76nkti/src/Util/Logging.cpp:90
#8  0x0000000000cad178 in FluidBoxManager::onDestroy() at /tmp/factorio-build-76nkti/src/Fluid/FluidBoxManager.cpp:464 (discriminator 1)
#9  0x0000000000c690d4 in FluidBoxManager::destroy(bool, bool) at /tmp/factorio-build-76nkti/src/Fluid/FluidBoxManager.cpp:179
#10 0x00000000007f456d in FluidBoxManager::reset() at /tmp/factorio-build-76nkti/src/Fluid/FluidBoxManager.cpp:500
#11 0x0000000000c26e02 in AssemblingMachine::checkFluidMixingWithRecipe(Recipe const&) at /tmp/factorio-build-76nkti/src/Entity/AssemblingMachine.cpp:736
#12 0x0000000000c07d9c in AssemblingMachine::setupForCrafting(ID<RecipePrototype, unsigned short>, InventoryBuffer&, CraftingMachine::FromScript, AssemblingMachine::Force, AssemblingMachine::Loading) at /tmp/factorio-build-76nkti/src/Entity/AssemblingMachine.cpp:424 (discriminator 1)
#13 0x0000000000c99d40 in GameActionHandler::setupAssemblingMachine(InputAction const&, Controller*) at /tmp/factorio-build-76nkti/src/GameActionHandler.cpp:2188
#14 0x0000000000f432ce in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-build-76nkti/src/GameActionHandler.cpp:325 (discriminator 1)
#15 0x0000000000f439f0 in InputHandler::flushToListeners(InputAction const&, bool) at /tmp/factorio-build-76nkti/src/Input/InputHandler.cpp:72
#16 0x0000000000f5fda7 in InputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-76nkti/src/Input/InputHandler.cpp:64
#17 0x0000000000f6077b in NetworkInputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-76nkti/src/Net/NetworkInputHandler.cpp:163
#18 0x000000000051ee7b in InputHandler::nextTick(unsigned int) at /tmp/factorio-build-76nkti/src/Input/InputHandler.cpp:52
#19 (nil) in NetworkInputHandler::nextTick(unsigned int) at /tmp/factorio-build-76nkti/src/Net/NetworkInputHandler.cpp:121
#20 0x000000000052e56e in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-build-76nkti/src/Net/NetworkInputHandler.cpp:114
#21 (nil) in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-build-76nkti/src/Net/ServerMultiplayerManager.cpp:727
#22 0x4038dee6987536e0 in MultiplayerManagerBase::updateMultiplayerInput() at /tmp/factorio-build-76nkti/src/Net/MultiplayerManagerBase.cpp:181
#23 0x3fd37c113bc08f43 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-76nkti/src/MainLoop.cpp:1127
#24 0x4064aa9b4c56da6d in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-76nkti/src/MainLoop.cpp:1011
#25 0x400030dbbf5dd634 in MainLoop::mainLoopStepHeadless(MainLoop::HeavyMode) at /tmp/factorio-build-76nkti/src/MainLoop.cpp:547
#26 0x407b2e7a8a6179e7 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-76nkti/src/MainLoop.cpp:370
#27 0x40154b88103c21b5 in main at /tmp/factorio-build-76nkti/src/Main.cpp:845 (discriminator 4)
#28 0x407eab6d33f13a71 in ?? at ??:0
#29 0x40180719a3efbd1a in _start at ??:?

Re: [Dominik][0.17.38] Crash due to assember fluid box

Posted: Mon May 13, 2019 4:30 pm
by Dominik
Thanks for the report. It is a duplicate though, of 70656 and couple others. See there for development. As of now, I am still working on it :)