Page 1 of 1

[0.15.33] Server Crash

Posted: Thu Aug 17, 2017 5:23 pm
by Chriz
Hi can you help me please. my server randomly crashes.

Re: [0.15.33] Server Crash

Posted: Thu Aug 17, 2017 6:35 pm
by Bilka
Crash:

Code: Select all

175854.379 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/create-game
175854.379 Info HttpSharedState.cpp:111: Status code: 401
175854.422 Error CrashHandler.cpp:354: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
175884.357 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/create-game
175884.380 Info HttpSharedState.cpp:111: Status code: 401
175914.357 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/create-game
175914.357 Info HttpSharedState.cpp:111: Status code: 401
175915.153 Warning Logger.cpp:413: Symbols.size() == 18, usedSize == 14
#0  0x00000000009e565d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-WKkWUK/src/Util/Logger.cpp:438
#1  0x0000000000745010 in CrashHandler::writeStackTrace() at /tmp/factorio-WKkWUK/src/Util/CrashHandler.cpp:118
#2  0x0000000000745294 in CrashHandler::SignalHandler(int) at /tmp/factorio-WKkWUK/src/Util/CrashHandler.cpp:359
#3  0x00007f78a2006030 in ?? at ??:0
#4  0x00007f78a2057021 in ?? at ??:0
#5  0x000000000134a640 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) at ??:?
#6  0x000000000134ad54 in std::string::assign(std::string const&) at ??:?
#7  0x0000000000e3c218 in ServerMultiplayerManager::performServerUpdaterLogic() [clone .constprop.110786] at /tmp/factorio-WKkWUK/src/Net/ServerMultiplayerManager.cpp:596
#8  0x0000000000e3cae3 in updateInternal at /tmp/factorio-WKkWUK/src/Net/ServerMultiplayerManager.cpp:525
#9  0x0000000000e3d736 in update at /tmp/factorio-WKkWUK/src/Net/ServerMultiplayerManager.cpp:504
#10 0x0000000000e3ea79 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) [clone .constprop.111258] at /tmp/factorio-WKkWUK/src/MainLoop.cpp:827
#11 0x0000000000eff133 in getBaseMultiplayerManager at /tmp/factorio-WKkWUK/src/GlobalContext.cpp:1206
#12 0x00007f78a1ff32b1 in gameUpdateLoop at /tmp/factorio-WKkWUK/src/MainLoop.cpp:780
#13 0x0000000000406e69 in mainLoopStepHeadless at /tmp/factorio-WKkWUK/src/MainLoop.cpp:424
175916.672 Warning Logger.cpp:413: Symbols.size() == 17, usedSize == 13
175916.672 Error CrashHandler.cpp:119: Map tick at moment of crash: 4625331
175916.692 Error Util.cpp:80: 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.
175944.357 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/create-game
175944.357 Info HttpSharedState.cpp:111: Status code: 401
175974.357 Info HttpSharedState.cpp:109: Downloading https://multiplayer.factorio.com/create-game
175974.357 Info HttpSharedState.cpp:111: Status code: 401

Re: [0.15.33] Server Crash

Posted: Tue Aug 22, 2017 3:11 pm
by posila
Thanks for the report.
It looks like we have threading issue where one thread is writing string and other thread tries to copy it.

Should be fixed in next relase.