[1.1.13] Headless server SIGSEGV Segmentation Fault
Posted: Sat Jan 23, 2021 11:29 am
I was placing fluid wagons on a train track, when the server crashed. Upon loading a savegame on the server again and doing the same thing, it crashed again.
Server log and savegame are attached, if you need more info let me know!
Crash 1: https://youtu.be/9k9w-oYPAOg
Crash 2: https://youtu.be/bq5Nx9dkAhc
System info:
OS: Ubuntu Server 20.04.1 LTS
CPU: Intel i5 3470
RAM: 16GB
Command to run the game:
Console:
Server log and savegame are attached, if you need more info let me know!
Crash 1: https://youtu.be/9k9w-oYPAOg
Crash 2: https://youtu.be/bq5Nx9dkAhc
System info:
OS: Ubuntu Server 20.04.1 LTS
CPU: Intel i5 3470
RAM: 16GB
Command to run the game:
Code: Select all
/home/julian/factorio/bin/x64/factorio --start-server /home/julian/factorioSaves/MitAdrienPedro.zip --server-settings /home/julian/factorio/data/server-settings.json
Code: Select all
43937.574 Info AppManager.cpp:306: Saving to _autosave1 (blocking).
43937.909 Info AppManagerStates.cpp:1930: Saving finished
44247.962 Error CrashHandler.cpp:621: Received SIGSEGV
44257.899 Warning Logger.cpp:526: Symbols.size() == 38, usedSize == 26
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb20685, 0xd501d5, 0xd50861, 0xd50919, 0x46210, 0x725a79, 0x105593f, 0x1249bf2, 0x124c60d, 0x124c7ad, 0xcea132, 0xeee073, 0x97edec, 0x97ef01, 0xdbf942, 0xdd3b61, 0xf20b90, 0x12f662f, 0x12f6a91, 0x131c299, 0x131cdf3, 0x131ec5a, 0x131fbbf, 0x5bbd48, 0, 0x5cda1e
44267.118 Warning Logger.cpp:526: Symbols.size() == 33, usedSize == 25
#0 0x0000000000d501d5 in GlobalContext::getMap() at /tmp/factorio-build-7LkYQM/src/GlobalContext.cpp:2018
#1 0x0000000000d50861 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-7LkYQM/src/Util/CrashHandler.cpp:188
#2 0x0000000000d50919 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-7LkYQM/src/Util/CrashHandler.cpp:623
#3 0x0000000000046210 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-7LkYQM/src/Util/CrashHandler.cpp:638
#4 0x0000000000725a79 in ?? at ??:0
#5 0x000000000105593f in CommonManualBuilder::shouldOverbuild(BuildInput const&, Entity*) const at /tmp/factorio-build-7LkYQM/src/CommonManualBuilder.cpp:1323
#6 0x0000000001249bf2 in CommonManualBuilder::checkOverbuild(BuildInput const&, BuildSettings const&, Entity*) at /tmp/factorio-build-7LkYQM/src/CommonManualBuilder.cpp:1311
#7 0x000000000124c60d in CommonManualBuilder::buildCommon(agui::GenericTargeter<ManualBuilder>&, BuildInput&, BuildSettings const&, MapPosition const&) at /tmp/factorio-build-7LkYQM/src/CommonManualBuilder.cpp:112
#8 0x000000000124c7ad in ManualBuilder::getPlayer() at /tmp/factorio-build-7LkYQM/src/ManualBuilder.cpp:251
#9 0x0000000000cea132 in ManualBuilder::addUndoItem(UndoItem&&) at /tmp/factorio-build-7LkYQM/src/ManualBuilder.cpp:266
#10 0x0000000000eee073 in ManualBuilder::build(unsigned int, ActionData::BuildParameters const&, ForceID, BuildSettings, UndoItem*) at /tmp/factorio-build-7LkYQM/src/ManualBuilder.cpp:337
#11 0x000000000097edec in CharacterController::build(ActionData::BuildParameters const&) at /tmp/factorio-build-7LkYQM/src/Controller/CharacterController.cpp:619
#12 0x000000000097ef01 in BuildResult::operator=(BuildResult&&) at /tmp/factorio-build-7LkYQM/src/BuildResult.hpp:6
#13 0x0000000000dbf942 in GameActionHandler::build(InputAction const&, Controller*) at /tmp/factorio-build-7LkYQM/src/GameActionHandler.cpp:733
#14 0x0000000000dd3b61 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-build-7LkYQM/src/GameActionHandler.cpp:370 (discriminator 1)
#15 0x0000000000f20b90 in InputHandler::flushToListeners(InputAction const&, bool) at /tmp/factorio-build-7LkYQM/src/Input/InputHandler.cpp:72
#16 0x00000000012f662f in InputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-7LkYQM/src/Input/InputHandler.cpp:64
#17 0x00000000012f6a91 in NetworkInputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-7LkYQM/src/Net/NetworkInputHandler.cpp:180
#18 0x000000000131c299 in InputHandler::nextTick(unsigned int) at /tmp/factorio-build-7LkYQM/src/Input/InputHandler.cpp:52
#19 0x000000000131cdf3 in NetworkInputHandler::nextTick(unsigned int) at /tmp/factorio-build-7LkYQM/src/Net/NetworkInputHandler.cpp:127
#20 0x000000000131ec5a in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-build-7LkYQM/src/Net/NetworkInputHandler.cpp:120
#21 0x000000000131fbbf in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-build-7LkYQM/src/Net/ServerMultiplayerManager.cpp:734
#22 0x00000000005bbd48 in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-build-7LkYQM/src/Net/ServerMultiplayerManager.cpp:721
#23 (nil) in MultiplayerManagerBase::updateMultiplayerInput() at /tmp/factorio-build-7LkYQM/src/Net/MultiplayerManagerBase.cpp:174
#24 0x00000000005cda1e in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-7LkYQM/src/MainLoop.cpp:1235
#25 (nil) in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-7LkYQM/src/MainLoop.cpp:1119
#26 0x00007ffdd921f7b0 in MainLoop::mainLoopStepHeadless(MainLoop::HeavyMode) at /tmp/factorio-build-7LkYQM/src/MainLoop.cpp:623
#27 0x000000000aabcc30 in MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode) at /tmp/factorio-build-7LkYQM/src/MainLoop.cpp:389
#28 0x00007ffdd921f750 in hostMultiplayerGameInternal(cxxopts::ParseResult const&, bool) at /tmp/factorio-build-7LkYQM/src/CommandLineMultiplayer.cpp:290 (discriminator 2)
#29 0x00007ffdd921f790 in CommandLineMultiplayer::hostCommandLineMultiplayerGame(cxxopts::ParseResult const&, Filesystem::Path const&, Filesystem::Path const&, bool) at /tmp/factorio-build-7LkYQM/src/CommandLineMultiplayer.cpp:341 (discriminator 2)
#30 0x00007ffdd921f7b0 in main at /tmp/factorio-build-7LkYQM/src/Main.cpp:653
#31 0x00007ffdd921f7f0 in ?? at ??:0
#32 0x0000000000ccf7a9 in _start at ??:?
Stack trace logging done
44267.118 Error CrashHandler.cpp:189: Map tick at moment of crash: 1134604
44267.118 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.
44267.118 Uploading log file
44267.126 Info SystemUtil.cpp:547: Started /home/julian/factorio/bin/x64/factorio; trampoline PID: 2480779