Page 1 of 1

[Rseding91] [2.0.28] Crash upon network packet loss, while the game was paused

Posted: Sun Dec 22, 2024 5:57 pm
by semekh
I had paused the game, it seemed like I was getting dropped out like when there's a network issue, except this time the game crashed.

Re: [2.0.28] Crash upon network packet loss, while the game was paused

Posted: Sun Dec 22, 2024 5:59 pm
by Rseding91
Please post the log file from the crash.

Re: [2.0.28] Crash upon network packet loss, while the game was paused

Posted: Mon Dec 23, 2024 7:44 am
by semekh
Sorry, thought I had attached it.

Re: [2.0.28] Crash upon network packet loss, while the game was paused

Posted: Mon Dec 23, 2024 4:00 pm
by Rseding91
It looks like the socket was broken/dropped/closed by the operating system (due to network failure?), at which point Factorio saw it was broken, threw an exception - which was handled by the multiplayer system - and then exited the multiplayer system.

Except it failed to remove the "Multiplayer game is paused" GUI that was on screen, and then that GUI tried to read parts of the multiplayer system and exploded.

[2.0.28] Crash following multiplayer disconnect (updatePauseButtonEnabled)

Posted: Fri Dec 27, 2024 12:45 am
by philipwhiuk

Code: Select all

4107.914 Info ClientMultiplayerManager.cpp:873: Disconnect notification for peer (32)
4168.199 Error MainLoop.cpp:1435: Exception at tick 5876416: Sendto (IP ADDR:({46.235.224.208:34197})) failed (49: Can't assign requested address)
4168.199 Error ClientMultiplayerManager.cpp:85: MultiplayerManager failed: "Sendto (IP ADDR:({46.235.224.208:34197})) failed (49: Can't assign requested address)"
4168.199 Info ClientMultiplayerManager.cpp:607: UpdateTick(5876416) changing state from(InGame) to(Failed)
4171.446 Info SteamContext.cpp:756: Steam connection lost.
4232.728 Info SteamContext.cpp:756: Steam connection lost.
4262.460 Info SteamContext.cpp:756: Steam connection lost.
4438.302 Info SteamContext.cpp:756: Steam connection lost.
4578.858 Info SteamContext.cpp:756: Steam connection lost.
4711.038 Info SteamContext.cpp:756: Steam connection lost.
4790.786 Info ClientMultiplayerManager.cpp:198: Quitting multiplayer connection.
4790.787 Info ClientMultiplayerManager.cpp:607: UpdateTick(5876416) changing state from(Failed) to(Disconnected)
4790.788 Info ClientMultiplayerManager.cpp:216: Deleting active scenario (global = true).
4790.869 Info UDPSocket.cpp:233: Closing socket
4790.869 Info UDPSocket.cpp:263: Socket closed
4790.870 Time travel logging:
4790.788 Scenario is being deleted
4790.870 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x18b121a23
src/Gui/MultiplayerMenuGui.cpp (65): updatePauseButtonEnabled
src/Gui/MultiplayerMenuGui.cpp (65): updatePauseButtonEnabled
libraries/Agui/Gui.cpp (858): recursiveDoLogic
libraries/Agui/Gui.cpp (876): recursiveDoLogic
libraries/Agui/Gui.cpp (818): logic
src/GlobalContext.cpp (1399): updateGui
src/MainLoop.cpp (1135): prepare
src/MainLoop.cpp (706): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1357): fmain
src/Main.cpp (1379): main
Stack trace logging done
4793.013 Uploading log file
4793.064 Info SystemUtil.cpp:871: Started /Users/philip/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 8344
4793.064 Error Util.cpp:95: 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.
Save file is hard to provide as it's a multiplayer server. Mods are just the Space Age base.

Merged...

Re: [Rseding91] [2.0.28] Crash upon network packet loss, while the game was paused

Posted: Wed Jan 08, 2025 6:39 pm
by Rseding91
This is now fixed for the next release.