Page 1 of 1

Crash connecting to a multiplayer game

Posted: Tue Nov 12, 2024 3:33 pm
by plexpt
When connecting to a multiplayer game, if the connection to the factorio authentication server times out, the UI will freeze completely and no action can be taken. After a few minutes of freezing, the game will crash.

So when connecting to a multiplayer game, please use asynchronous connections to the factorio authentication server.

Re: connecting to a multiplayer game crash

Posted: Tue Nov 12, 2024 3:34 pm
by plexpt
The connectivity between my region and factorio server is very bad. So my host server received feedback from 100+ people, reporting this issue

Re: connecting to a multiplayer game crash

Posted: Tue Nov 12, 2024 3:45 pm
by boskid
Given the amount of crashes that are coming from you (ref 121129, 121131) that virtually noone else experiences, please verify your machine is not dying (at least using memtest) before posting any future reports. Also future bug reports without log file attached will get straight deleted to avoid chaos. Without log files i cannot even verify if you are falling into the intel's 13th and 14th gen cpu faults.

Re: connecting to a multiplayer game crash

Posted: Tue Nov 12, 2024 4:07 pm
by plexpt
But this error occurs to many people

Re: connecting to a multiplayer game crash

Posted: Tue Nov 12, 2024 4:23 pm
by Bilka
Then one of the many people should post a FULL log file here that contains the crash.

Re: Crash connecting to a multiplayer game

Posted: Sat Nov 16, 2024 7:44 am
by plexpt
log

Re: Crash connecting to a multiplayer game

Posted: Sat Nov 16, 2024 4:15 pm
by Loewchen
That log does not show a crash.

Re: Crash connecting to a multiplayer game

Posted: Sat Nov 16, 2024 4:32 pm
by plexpt
Loewchen wrote: Sat Nov 16, 2024 4:15 pm That log does not show a crash.
The fact is that the GUI first freezes and then crashes

Re: Crash connecting to a multiplayer game

Posted: Fri Nov 22, 2024 10:07 am
by plexpt
In GUI development, it is advisable to avoid handling network IO operations in the main thread to maintain interface responsiveness, ensure thread safety, and enhance performance. Typically, network IO operations are conducted in background threads, and the results are communicated back to the main thread for UI updates through appropriate inter-thread communication methods.