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

This subforum contains all the issues which we already resolved.
semekh
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 23, 2024 11:10 am
Contact:

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

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14781
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Please post the log file from the crash.
If you want to get ahold of me I'm almost always on Discord.
semekh
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Nov 23, 2024 11:10 am
Contact:

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

Post by semekh »

Sorry, thought I had attached it.
Attachments
factorio-crash.log
Crash log
(24.79 KiB) Downloaded 20 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14781
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post 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.
If you want to get ahold of me I'm almost always on Discord.
philipwhiuk
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Dec 27, 2024 12:42 am
Contact:

[2.0.28] Crash following multiplayer disconnect (updatePauseButtonEnabled)

Post 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...
Rseding91
Factorio Staff
Factorio Staff
Posts: 14781
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”