[0.16.9] [linux] immediate crash when joining server
Posted: Sat Dec 30, 2017 8:58 am
When connecting to my server, it will download the map and then one of the following things happen:
1. It does not come up with the "catching up dialog", displaying the first frame of the map, freezes there and tells me I am in desync and drops my connection
2. The client crashes with this backtrace:
This happens with and without loaded mods.
This is the server output when it crashes
This is the server output when it desyncs:
#
EDIT: Sometimes I make it on the server, can play for about 2 minutes until it immediately desyncs. Internet is fine (about 2,4MiB/s with ping of 25ms to the server).
1. It does not come up with the "catching up dialog", displaying the first frame of the map, freezes there and tells me I am in desync and drops my connection
2. The client crashes with this backtrace:
Code: Select all
#0 0x000000000067d2e7 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-euUOCP/src/Util/CrashHandler.cpp:127
#1 0x000000000067d4fa in CrashHandler::SignalHandler(int) at /tmp/factorio-euUOCP/src/Util/CrashHandler.cpp:421
#2 0x0000000000033030 in ?? at ??:0
#3 (nil) in ?? at ??:0
#4 0x000000000000000b in ?? at ??:0
#5 0x000000000002be37 in ?? at ??:0
#6 0x000000000002bee2 in ?? at ??:0
#7 0x000000000108fd46 in agui::Widget::getWidgetUnderMouse(agui::Point, agui::Point, agui::Rectangle) at ??:?
#8 0x0000000001057372 in agui::Gui::handleMouseAxes(agui::MouseInput const&, bool) at ??:?
#9 0x0000000001057d01 in agui::Gui::getWidgetUnderMouse() at ??:?
#10 0x00000000009599fd in InputState::inGui() at /tmp/factorio-euUOCP/src/Input/InputState.cpp:88
#11 0x00000000009d26ca in InputHandlerAllegro::sendBuildByMovingChanges() at /tmp/factorio-euUOCP/src/Input/InputHandlerAllegro.cpp:1325
#12 0x0000000000baf469 in InputHandlerAllegro::sendStateChanges() at /tmp/factorio-euUOCP/src/Input/InputHandlerAllegro.cpp:937
#13 0x00000000009cc044 in GameActionHandler::update() at /tmp/factorio-euUOCP/src/GameActionHandler.cpp:304
#14 0x0000000000c27678 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-euUOCP/src/MainLoop.cpp:979
#15 0x0000000000c281cf in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-euUOCP/src/MainLoop.cpp:852
#16 0x000000000067f5c5 in std::function<void ()>::operator=(decltype(nullptr)) at /usr/include/c++/7/bits/std_function.h:514
#17 0x0000000001489c0f in WorkerThread::loop() at /tmp/factorio-euUOCP/src/Util/WorkerThread.cpp:36
#18 0x0000000000007494 in execute_native_thread_routine at jidctflt.c:?
#19 (nil) in ?? at ??:0
452.386 Error CrashHandler.cpp:128: Map tick at moment of crash: 13629328
452.386 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.
This is the server output when it crashes
Code: Select all
203.035 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:55024)
203.035 Refusing connection for address (93.255.131.63:55024), username (Nidhoegger666). UserVerificationMissing
203.857 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:53017)
203.857 Refusing connection for address (93.255.131.63:53017), username (Nidhoegger666). PasswordMissing
203.924 Warning TransmissionControlHelper.cpp:172: Fragment 0001 failed too many times
204.730 Warning TransmissionControlHelper.cpp:172: Fragment 0006 failed too many times
204.764 Warning TransmissionControlHelper.cpp:172: Fragment 0007 failed too many times
206.895 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:35491)
206.895 Info ServerRouter.cpp:393: Replying to connectionRequest for address(93.255.131.63:35491).
206.895 Info ServerSynchronizer.cpp:557: nextHeartbeatSequenceNumber(6095) adding peer(1)
206.912 Info ServerMultiplayerManager.cpp:696: mapTick(13629243) changing state from(InGame) to(InGameSavingMap)
206.979 Info ServerMultiplayerManager.cpp:792: mapTick(13629243) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
208.739 Info ServerMultiplayerManager.cpp:852: MapTick(13629243) Serving map(/home/factorio/factorio/temp/mp-save-0.zip) for peer(1) size(34727430) crc(1595483290)
208.739 Info ServerMultiplayerManager.cpp:696: mapTick(13629243) changing state from(InGameSavingMap) to(InGame)
208.840 Info ServerMultiplayerManager.cpp:792: mapTick(13629243) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
222.678 Info ServerMultiplayerManager.cpp:792: mapTick(13629243) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
223.969 Info ServerMultiplayerManager.cpp:792: mapTick(13629319) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
224.102 Info ServerMultiplayerManager.cpp:792: mapTick(13629327) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
224.102 Info GameActionHandler.cpp:3371: MapTick (13629327) processed PlayerJoinGame peerID(1) playerIndex(1) mode(connect )
224.236 Info ServerMultiplayerManager.cpp:792: mapTick(13629335) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
2017-12-30 09:55:20 [JOIN] Nidhoegger666 joined the game
247.731 Info ServerMultiplayerManager.cpp:897: Disconnect notification for peer (1)
247.731 Info ServerSynchronizer.cpp:576: nextHeartbeatSequenceNumber(7220) removing peer(1).
248.724 Info ServerMultiplayerManager.cpp:1038: Auto saving map as /home/factorio/mp16.zip
248.724 Info AppManager.cpp:322: Saving game as /home/factorio/mp16.zip
250.500 Info AppManagerStates.cpp:1527: Saving finished
Code: Select all
444.745 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:55563)
444.745 Refusing connection for address (93.255.131.63:55563), username (Nidhoegger666). UserVerificationMissing
445.601 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:46715)
445.601 Refusing connection for address (93.255.131.63:46715), username (Nidhoegger666). PasswordMissing
445.652 Warning TransmissionControlHelper.cpp:172: Fragment 000b failed too many times
446.424 Warning TransmissionControlHelper.cpp:172: Fragment 000d failed too many times
446.424 Warning TransmissionControlHelper.cpp:172: Fragment 000e failed too many times
446.424 Warning TransmissionControlHelper.cpp:172: Fragment 000f failed too many times
446.441 Warning TransmissionControlHelper.cpp:172: Fragment 0010 failed too many times
446.491 Warning TransmissionControlHelper.cpp:172: Fragment 0011 failed too many times
448.941 ConnectionRequestReplyConfirm (type(ConnectionRequestReplyConfirm) ) from(93.255.131.63:34417)
448.941 Info ServerRouter.cpp:393: Replying to connectionRequest for address(93.255.131.63:34417).
448.941 Info ServerSynchronizer.cpp:557: nextHeartbeatSequenceNumber(13215) adding peer(2)
448.958 Info ServerMultiplayerManager.cpp:696: mapTick(13630746) changing state from(InGame) to(InGameSavingMap)
449.026 Info ServerMultiplayerManager.cpp:792: mapTick(13630746) received stateChanged peerID(2) oldState(Ready) newState(ConnectedWaitingForMap)
450.786 Info ServerMultiplayerManager.cpp:852: MapTick(13630746) Serving map(/home/factorio/factorio/temp/mp-save-1.zip) for peer(2) size(34729260) crc(1661404567)
450.786 Info ServerMultiplayerManager.cpp:696: mapTick(13630746) changing state from(InGameSavingMap) to(InGame)
450.887 Info ServerMultiplayerManager.cpp:792: mapTick(13630746) received stateChanged peerID(2) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
459.461 Info ServerMultiplayerManager.cpp:792: mapTick(13630746) received stateChanged peerID(2) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
460.729 Info ServerMultiplayerManager.cpp:792: mapTick(13630821) received stateChanged peerID(2) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
460.880 Info ServerMultiplayerManager.cpp:792: mapTick(13630830) received stateChanged peerID(2) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
460.880 Info GameActionHandler.cpp:3371: MapTick (13630830) processed PlayerJoinGame peerID(2) playerIndex(1) mode(connect )
461.013 Info ServerMultiplayerManager.cpp:792: mapTick(13630838) received stateChanged peerID(2) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
2017-12-30 09:59:17 [JOIN] Nidhoegger666 joined the game
467.631 Info ServerMultiplayerManager.cpp:792: mapTick(13631235) received stateChanged peerID(2) oldState(InGame) newState(DesyncedWaitingForMap)
467.631 Info ServerMultiplayerManager.cpp:868: mapTick(13631235) received playerDesynced peer (2)
467.631 Info ServerMultiplayerManager.cpp:696: mapTick(13631235) changing state from(InGame) to(InGameSavingMapForDesyncReport)
477.170 Info ServerMultiplayerManager.cpp:852: MapTick(13631235) Serving map(/home/factorio/factorio/temp/mp-save-2.zip) for peer(2) size(125217439) crc(2795105507)
477.170 Info ServerMultiplayerManager.cpp:696: mapTick(13631235) changing state from(InGameSavingMapForDesyncReport) to(InGame)
477.270 Info ServerMultiplayerManager.cpp:792: mapTick(13631235) received stateChanged peerID(2) oldState(DesyncedWaitingForMap) newState(DesyncedCatchingUpWithMapReadyForDownload)
477.304 Info ServerMultiplayerManager.cpp:792: mapTick(13631235) received stateChanged peerID(2) oldState(DesyncedCatchingUpWithMapReadyForDownload) newState(DesyncedSavingLocalVariantOfMap)
EDIT: Sometimes I make it on the server, can play for about 2 minutes until it immediately desyncs. Internet is fine (about 2,4MiB/s with ping of 25ms to the server).