[0.16.5] MP Crash - Inserter::update()
Posted: Mon Dec 18, 2017 11:17 am
On Redmew MP game, which runs custom scenario code, ~36 hours old.
Log from the server
Attempting to replicate from the loaded save, not seeing the issue in single player. It did crash the MP server twice.
Log from the server
Save file attached.2017-12-18 12:05:41 [JOIN] erezd joined the game
107.467 Info ServerMultiplayerManager.cpp:789: mapTick(7779504) received stateChanged peerID(3) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
113.788 Info ServerMultiplayerManager.cpp:789: mapTick(7779807) received stateChanged peerID(3) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
147.064 Error CrashHandler.cpp:419: Received SIGSEGV
150.345 Warning Logger.cpp:446: Symbols.size() == 21, usedSize == 18
Factorio crashed. Generating symbolized stacktrace, please wait ...
153.565 Warning Logger.cpp:446: Symbols.size() == 20, usedSize == 17
#0 0x0000000000684751 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-vr1aM6/src/Util/CrashHandler.cpp:127
#1 0x00000000006848fa in CrashHandler::SignalHandler(int) at /tmp/factorio-vr1aM6/src/Util/CrashHandler.cpp:421
#2 0x00000000000360b0 in ?? at ??:0
#3 0x0000000000a5293c in Inserter::update() at /tmp/factorio-vr1aM6/src/Entity/Inserter.cpp:789
#4 0x0000000000541bbd in IntrusiveListIterator<UpdatableEntity, void, false>::operator!=(IntrusiveListIterator<UpdatableEntity, void, false> const&) const at /tmp/factorio-vr1aM6/src/Util/Container/IntrusiveList.hpp:404
#5 0x00000000007a89ae in Chunk::updateActiveEntities(IntrusiveList<UpdatableEntity, void, false>&) at /tmp/factorio-vr1aM6/src/Surface/Chunk.cpp:575
#6 0x0000000000b7eee8 in Chunk::isConditionallyActive(unsigned int) const at /tmp/factorio-vr1aM6/src/Surface/Chunk.cpp:893
#7 0x0000000000c1431d in Chunk::updateEntities(unsigned int) at /tmp/factorio-vr1aM6/src/Surface/Chunk.cpp:624
#8 0x0000000000c148fd in Surface::update() at /tmp/factorio-vr1aM6/src/Surface/Surface.cpp:1176
#9 0x0000000000c14d8c in Map::update() at /tmp/factorio-vr1aM6/src/Map/Map.cpp:1224
#10 0x0000000000c24769 in Game::update() at /tmp/factorio-vr1aM6/src/Game.cpp:153
#11 0x0000000000c2527f in Scenario::update() at /tmp/factorio-vr1aM6/src/Scenario/Scenario.cpp:822
#12 0x0000000000c298d3 in Scenario::updateStep() at /tmp/factorio-vr1aM6/src/Scenario/Scenario.cpp:728
#13 0x0000000000c2a2d3 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-vr1aM6/src/MainLoop.cpp:985
#14 0x000000000041f6bf in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-vr1aM6/src/MainLoop.cpp:852
#15 (nil) in MainLoop::mainLoopStepHeadless(MainLoop::HeavyMode) at /tmp/factorio-vr1aM6/src/MainLoop.cpp:467
#16 0x000000000042596f in MainLoop::run(std::experimental::filesystem::Path const&, std::experimental::filesystem::Path const&, bool, bool, std::function<void ()>, std::experimental::filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-vr1aM6/src/MainLoop.cpp:326
153.565 Error CrashHandler.cpp:128: Map tick at moment of crash: 7781404
153.565 Error Util.cpp:67: 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.
Attempting to replicate from the loaded save, not seeing the issue in single player. It did crash the MP server twice.