Multiplayer slow game server

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Post Reply
Message
Author
User avatar
Oberlus
Cosmic Dragon
Posts: 5713
Joined: Mon Apr 10, 2017 4:25 pm

Re: Multiplayer slow game server

#91 Post by Oberlus »

More problems.
I've installed last weekly test build for windows, I was able to connect to the game and do stuff, but when I pressed Turn FO crashed to desktop.
Then I tried loading a previous local game and it worked fine (issuing orders, pressing Turn, playing next turn, pressing Turn, no errors).
Then I tried connecting to the multiplayer server again and I didn't get to the lobby, just a black empty screen iddling forever (around 2 minutes now, I was expecting a Connection Time Out after 30 s).
Then I closed the window and tried connecting again and the iddling black screen happened again (closed it after 45 s).
Then I installed the previous weekly test build (that was installed before and I was using it to play the slow game), and tried to connect but black screen again, when I should have seen the password window (after changing FO version).
So I can't play anymore (like The Silent One).

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#92 Post by o01eg »

Oberlus wrote: Wed Jun 05, 2019 2:05 pm More problems.
I've installed last weekly test build for windows, I was able to connect to the game and do stuff, but when I pressed Turn FO crashed to desktop.
Then I tried loading a previous local game and it worked fine (issuing orders, pressing Turn, playing next turn, pressing Turn, no errors).
Then I tried connecting to the multiplayer server again and I didn't get to the lobby, just a black empty screen iddling forever (around 2 minutes now, I was expecting a Connection Time Out after 30 s).
Then I closed the window and tried connecting again and the iddling black screen happened again (closed it after 45 s).
Then I installed the previous weekly test build (that was installed before and I was using it to play the slow game), and tried to connect but black screen again, when I should have seen the password window (after changing FO version).
So I can't play anymore (like The Silent One).
I thought The Silent One have an alternative. Looks like the game should be stopped.

I got very strange networking behaviour when your connection was disconnected by timeout and then 7 times in row got disconnected by broken connection.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#93 Post by o01eg »

Looks like last time TheSilentOne's client didn't crashed was 2019-06-01 06:36 UTC. It was 16th turn.

1) I'll upgrade the server to the latest weekly test build commit to fix any possible incompatibility issues.
2) The game will be loaded from 16th turn. :!:
3) I'll reduce turn time to 23h same as freeciv longturn's turn.

Sorry for the inconvenience.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: Multiplayer slow game server

#94 Post by The Silent One »

Still crashing unfortunately (Version 2019-06-03.8193654).
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#95 Post by o01eg »

The server restarted. Current turn is 16. Next turn advance will happen at 2019-06-07 00:00:00 UTC.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: Multiplayer slow game server

#96 Post by The Silent One »

It's working, hooray!! :D
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#97 Post by o01eg »

The Silent One wrote: Thu Jun 06, 2019 7:15 am It's working, hooray!! :D
Great! :mrgreen:
I hope it won't broken next turn.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Oberlus
Cosmic Dragon
Posts: 5713
Joined: Mon Apr 10, 2017 4:25 pm

Re: Multiplayer slow game server

#98 Post by Oberlus »

o01eg wrote: Thu Jun 06, 2019 7:35 am
The Silent One wrote: Thu Jun 06, 2019 7:15 am It's working, hooray!! :D
Great! :mrgreen:
I hope it won't broken next turn.
I can connect (again) with the Windows builds :D
But I still can't use any Linux build (either downloaded or compiled locally). It's so weird...

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: Multiplayer slow game server

#99 Post by The Silent One »

o01eg wrote: Thu Jun 06, 2019 7:35 amI hope it won't broken next turn.
Unfortunately, that is indeed the case. Crashing to desktop again.
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

User avatar
Oberlus
Cosmic Dragon
Posts: 5713
Joined: Mon Apr 10, 2017 4:25 pm

Re: Multiplayer slow game server

#100 Post by Oberlus »

We need to solve this.

o01eg, Magnate, what version of FreeOrion, type of installation and OS do you use?

On Ubuntu 16.04 I've tested many versions of compiled from source as well as several snap edge builds.
On Windows (10 and 8.1) I've tried Vezra's weekly test builds, which are the only ones that let me connect to the slow multiplayer server.

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#101 Post by o01eg »

Oberlus wrote: Sat Jun 08, 2019 10:25 am We need to solve this.

o01eg, Magnate, what version of FreeOrion, type of installation and OS do you use?

On Ubuntu 16.04 I've tested many versions of compiled from source as well as several snap edge builds.
On Windows (10 and 8.1) I've tried Vezra's weekly test builds, which are the only ones that let me connect to the slow multiplayer server.
On windows 7 I use weekly test builds. On Gentoo Linux I use self-compiled master branch.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#102 Post by o01eg »

o01eg wrote: Sat Jun 08, 2019 12:08 pm
Oberlus wrote: Sat Jun 08, 2019 10:25 am We need to solve this.

o01eg, Magnate, what version of FreeOrion, type of installation and OS do you use?

On Ubuntu 16.04 I've tested many versions of compiled from source as well as several snap edge builds.
On Windows (10 and 8.1) I've tried Vezra's weekly test builds, which are the only ones that let me connect to the slow multiplayer server.
On windows 7 I use weekly test builds. On Gentoo Linux I use self-compiled master branch.
I've just build freeorion from sources on windows 7 with boost 1.69 and didn't catch crashes.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Oberlus
Cosmic Dragon
Posts: 5713
Joined: Mon Apr 10, 2017 4:25 pm

Re: Multiplayer slow game server

#103 Post by Oberlus »

If the same FO build crashes for one and not for the rest, I guess it must be something related to the game state of The Silent One that the server sends to his client that makes it crash? So, as o01eg said several times, we need to debug The Silent One's game? Can you, o01eg, load the game at turn 16 as The Silent One and see if it crashes for you?
Also, for the Linux builds crashing when connecting, what should I do in order to compile FO from master with the correct debug flags to allow me to see why it crashes?

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer slow game server

#104 Post by o01eg »

I've tried to load 16 and current 19 turn as TheSilentOne but without crash.
To build FO with debug symbols you need to use cmake flag -DCMAKE_BUILD_TYPE=Debug or =RelWithDebInfo.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Oberlus
Cosmic Dragon
Posts: 5713
Joined: Mon Apr 10, 2017 4:25 pm

Re: Multiplayer slow game server

#105 Post by Oberlus »

Oberlus wrote: Wed Jun 05, 2019 2:05 pm I've installed last weekly test build for windows, I was able to connect to the game and do stuff, but when I pressed Turn FO crashed to desktop.
Then I tried loading a previous local game and it worked fine (issuing orders, pressing Turn, playing next turn, pressing Turn, no errors).
Then I tried connecting to the multiplayer server again and I didn't get to the lobby, just a black empty screen iddling forever (around 2 minutes now, I was expecting a Connection Time Out after 30 s).
Then I closed the window and tried connecting again and the iddling black screen happened again (closed it after 45 s).
Then I installed the previous weekly test build (that was installed before and I was using it to play the slow game), and tried to connect but black screen again, when I should have seen the password window (after changing FO version).
So I can't play anymore (like The Silent One).
This happened again. I pressed Turn 20 and FO immediately crashed to desktop.
This time I didn't update FO, I connected using the same installation I used yesterday.
So I guess that, like it happens for The Silent One, something in the game state after turn 19 makes the client crash.

Attached the log of that crash. Last lines:

Code: Select all

07:37:46.866024 [debug] client : HumanClientApp.cpp:380 : HumanClientApp exited cleanly.
07:37:46.981913 [debug] client : Universe.cpp:161 : Reset id allocators with highest object id = -1 and highest design id = 1631
07:37:46.981913 [error] client : chmain.cpp:316 : main() caught exception(std::exception): bad allocation
Attachments
freeorion.log
(65.48 KiB) Downloaded 77 times

Post Reply