Page 1 of 1

[0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Sun Jul 24, 2016 8:38 am
by Kamel
Server crashed in the middle of the night while idle.
Crashed around Jul 24 03:04 (UTC+2)

Code: Select all

...
17030.498 Refusing connection for address(xx.xx.xx.xx:62863). Password not provided or not matching.  [[[Note: Only adding this to show the last log entry before the crash; nothing in between 17xxx and 45xxx]]]
45591.067 Info HttpSharedState.cpp:102: Downloading https://multiplayer.factorio.com/post-game-heartbeat/67486
45591.067 Info HttpSharedState.cpp:104: Status code: 0
45591.067 Info ServerGameUpdater.cpp:164: Failed to sendHeartbeat to the multiplayer matching server: Downloading failed: Timeout was reached -- Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
Factorio crashed. Generating symbolized stacktrace, please wait ...
45612.236 Warning Logger.cpp:360: Symbols.size() == 22, usedSize == 19
#0  0x80de7d in logStacktrace at /tmp/factorio-n2rKaz/src/Util/Logger.cpp:382
#1  0x4fcaeb in writeStackTrace at /tmp/factorio-n2rKaz/src/Util/CrashHandler.cpp:84
#2  0x4fcd64 in SignalHandler at /tmp/factorio-n2rKaz/src/Util/CrashHandler.cpp:189
#3  0x7f11b67000e0 in ?? at ??:0
#4  0x7f11b6700067 in ?? at ??:0
#5  0x7f11b6701448 in ?? at ??:0
#6  0x7f11b673e1b4 in ?? at ??:0
#7  0x7f11b67c3cf7 in ?? at ??:0
#8  0x7f11b67c3c2d in ?? at ??:0
#9  0x7f11b67c3b89 in ?? at ??:0
#10 0xedfd17 in freednsentry at hostip.c:?
#11 0x7f11b71a48d0 in ?? at ??:0
#12 0x7f11b6784a3c in ?? at ??:0
#13 0xf234ec in boost::timer::cpu_timer::start() at crtstuff.c:?
#14 0xc1d7df in refreshRecentlyCharted at /tmp/factorio-n2rKaz/src/Chart/Chart.cpp:536
#15 0xc1f37e in postUpdate at /tmp/factorio-n2rKaz/src/Game.cpp:183
#16 0xc8b8cc in prepare at /tmp/factorio-n2rKaz/src/MainLoop.cpp:409
#17 0x7f11b66ecb45 in mainLoopStep at /tmp/factorio-n2rKaz/src/MainLoop.cpp:238
#18 0x406379 in run at /tmp/factorio-n2rKaz/src/MainLoop.cpp:153
45613.234 Warning Logger.cpp:360: Symbols.size() == 21, usedSize == 18
45613.234 Error CrashHandler.cpp:85: Map tick at moment of crash: 10796618
45613.234 Error Util.cpp:77: 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.

Re: [0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Mon Jul 25, 2016 4:00 am
by dmodoomsirius
When had 3 people logged in i got the same error as posted above.

Here is my full log: https://gist.github.com/dmodoomsirius/2 ... 7f0ca2ab05

Re: [0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Mon Jul 25, 2016 8:05 am
by Loewchen
dmodoomsirius wrote:When had 3 people logged in i got the same error as posted above.

Here is my full log: https://gist.github.com/dmodoomsirius/2 ... 7f0ca2ab05
Looks like the crafting bug to me, or am I missing something?

Re: [0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Mon Jul 25, 2016 8:14 am
by Kamel
Yes Not the same error as mine.

Re: [0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Sat Aug 06, 2016 9:12 am
by Kamel
My server is still crashing from time to time while idle.

Updated stack trace for 0.13.13

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
31900.903 Warning Logger.cpp:360: Symbols.size() == 19, usedSize == 17
#0  0x9d086d in logStacktrace at /tmp/factorio-QoLkau/src/Util/Logger.cpp:382
#1  0x5010fb in writeStackTrace at /tmp/factorio-QoLkau/src/Util/CrashHandler.cpp:84
#2  0x501374 in SignalHandler at /tmp/factorio-QoLkau/src/Util/CrashHandler.cpp:189
#3  0x7efedf5670e0 in ?? at ??:0
#4  0x7efedf567067 in ?? at ??:0
#5  0x7efedf568448 in ?? at ??:0
#6  0x7efedf5a51b4 in ?? at ??:0
#7  0x7efedf62acf7 in ?? at ??:0
#8  0x7efedf62ac2d in ?? at ??:0
#9  0x7efedf62ab89 in ?? at ??:0
#10 0xef48e9 in freednsentry at hostip.c:?
#11 0x7efee020f8d0 in ?? at ??:0
#12 0x7efedf5ebf2d in ?? at ??:0
#13 0x7efedf614204 in ?? at ??:0
#14 0xc92fa2 in mainLoopStepHeadless at /tmp/factorio-QoLkau/src/MainLoop.cpp:240
#15 0x7efedf553b45 in run at /tmp/factorio-QoLkau/src/MainLoop.cpp:163
#16 0x406a69 in main at /tmp/factorio-QoLkau/src/Main.cpp:426
31901.903 Warning Logger.cpp:360: Symbols.size() == 18, usedSize == 16
31901.903 Error CrashHandler.cpp:85: Map tick at moment of crash: 12086327
Is there any way to match the logfiles timestamp to the system time? perhaps my server is doing something funky.

Re: [0.13.10] linux dedicated server crash after sendHeartbeat

Posted: Fri Aug 26, 2016 1:47 pm
by kovarex
As most of the multiplayer has been rewritten for 0.14, I will move this to resolved.