Page 1 of 1

[0.12.30] [Pending] MP server crash

Posted: Fri Apr 15, 2016 12:35 am
by tetryon
MP 0.12.30 server on Linux

Player joined (and left?) and we had 79586 lines of 'Received malformed packed' then the server crashed.
This has happened before with this one player. Log snippet follows:

Code: Select all

19061.772 Info MultiplayerManager.cpp:1060: networkTick(1136929) mapTick(6834345) received stateChanged peerID(12) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
19079.955 Info MultiplayerManager.cpp:1060: networkTick(1137978) mapTick(6834345) received stateChanged peerID(12) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
19079.955 Canceling serving for peer 12
19079.955 Info MultiplayerManager.cpp:913: networkTick(1137978) mapTick(6834345) changing state from(InGameSendingMap) to(InGameWaitingForOthers)
19080.154 Info MultiplayerManager.cpp:1060: networkTick(1137990) mapTick(6834345) received stateChanged peerID(0) oldState(InGameSendingMap) newState(InGameWaitingForOthers)
19080.988 Info MultiplayerManager.cpp:1060: networkTick(1138040) mapTick(6834345) received stateChanged peerID(12) oldState(ConnectedLoadingMap) newState(InGameWaitingForOthers)
19080.988 Info MultiplayerManager.cpp:1259: networkTick(1138040) mapTick(6834345) stopping mapAlign
19080.988 Info MultiplayerManager.cpp:913: networkTick(1138040) mapTick(6834345) changing state from(InGameWaitingForOthers) to(InGame)
19080.988 Info MultiplayerManager.cpp:1607: networkTick(1138040) mapTick(6834345) peerID(0) fullStateLog: local state(InGame) local peers(((peerID(0) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(2) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(7) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(8) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(10) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(11) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(12) state(InGameWaitingForOthers) mapAlignTick(-1))
)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(2) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(7) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(8) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(10) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(11) oldState(InGameWaitingForOthers) newState(InGame)
19081.321 Info MultiplayerManager.cpp:1060: networkTick(1138052) mapTick(6834360) received stateChanged peerID(12) oldState(InGameWaitingForOthers) newState(InGame)
19081.357 Info NetworkInputHandler.cpp:592: assigning playerIndex(14) to peer(12)
19081.357 Info GameActionHandler.cpp:1948: MapTick(6834360) processed PlayerJoinGame peerID(12) playerIndex(14) mode(connect)
19617.865 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.865 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.865 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.865 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.866 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.866 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.866 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.866 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.871 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.871 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)
19617.871 Info Router.cpp:230: Received malformed packet from 98.226.58.18:64555 (Couldn't read from input file. File could be corrupted.)

<SNIP>

19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)
19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)
19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)
19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)
19625.896 Info Router.cpp:230: Received malformed packet from 98.226.58.18:54920 (Couldn't read from input file. File could be corrupted.)
19625.896 Error Util.cpp:58: Unhandled exception: std::bad_alloc
19625.896 Error Router.cpp:331: Unhandled exception: std::bad_alloc
Factorio crashed. Generating symbolized stacktrace, please wait ...
19628.687 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(12) drop detection state(100/600).
19628.688 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(7) drop detection state(100/600).
19628.689 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(2) drop detection state(100/600).
19628.689 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(8) drop detection state(100/600).
19628.689 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(10) drop detection state(100/600).
19628.689 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(11) drop detection state(100/600).
19628.949 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(12) drop detection state(200/600).
19629.199 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(7) drop detection state(200/600).
19629.216 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(2) drop detection state(200/600).
19629.216 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(8) drop detection state(200/600).
19629.216 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(10) drop detection state(200/600).
19629.216 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(11) drop detection state(200/600).
19629.815 Warning Logger.cpp:338: Symbols.size() == 9, usedSize == 8
#0  0x7a5e59 in SignalHandler at /tmp/factorio-gpN9b3/src/Util/CrashHandler.cpp:176
#1  0x7f8868fcdd40 in ?? at ??:0
#2  0x7f8868fcdcc9 in ?? at ??:0
#3  0x7f8868fd10d8 in ?? at ??:0
#4  0x92339f in unhandledException at /tmp/factorio-gpN9b3/src/Util/Exceptions.cpp:36
#5  0xd514ef in readPacketsLoop at /tmp/factorio-gpN9b3/src/Net/Router.cpp:331
#6  0x7f8869a88182 in thread_proxy at thread.cpp:?
#7  0x7f886909147d in ?? at ??:0
19630.616 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(12) drop detection state(300/600).
19630.866 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(7) drop detection state(300/600).
19630.882 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(2) drop detection state(300/600).
19630.882 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(8) drop detection state(300/600).
19630.882 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(10) drop detection state(300/600).
19630.883 Info Synchronizer.cpp:444: NetworkTick(1169433) peer(11) drop detection state(300/600).
19631.492 Warning Logger.cpp:338: Symbols.size() == 8, usedSize == 7
19631.492 Error Util.cpp:78: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.


Re: [0.12.30] MP server crash

Posted: Fri Apr 22, 2016 6:08 pm
by Klonan
Thanks for the report,

Can you provide the save game?
Is there any way you can reproduce this?
Or do you have any other details, specifications or information that might help us?

We'd really like to help resolve issues like these

Re: [0.12.30] [Pending] MP server crash

Posted: Sat May 28, 2016 3:23 pm
by kizzie33
Im getting the same error, im using this docker container https://hub.docker.com/r/hugecannon/factorio/ with just a new game.