The International Simutrans Forum

Community => Game Servers => Topic started by: jamespetts on May 17, 2024, 09:51:27 PM

Title: Bridgewater-Brunel game no. 6
Post by: jamespetts on May 17, 2024, 09:51:27 PM
Please note: please do not post bug reports in this thread: doing so makes it much less likely that the developers will be able to find and fix them. Please only post bug reports (one thread per bug) in the bug reports subforum (https://forum.simutrans.com/index.php/board,152.0.html). Thank you.

The Bridgewater-Brunel  (http://www.bridgewater-brunel.me.uk/)server is now running its sixth long-term game, started in May 2024.

Here is a screenshot of the map:

(http://bridgewater-brunel.me.uk/screenshots/bb6-start.png)

This map is  8448x2944 (larger than the previous map at 7808x2432), and also more towns, albeit some of them are smaller

This map has two large islands: one to the east and one to the west, both of approximately equal size, with some smaller islands in the south. The seas in the west do not link to the seas in the east, but can be connected with some civil engineering.




Details

Dimensions (tiles) 8448 x 2944
Dimensions (km): 1,056 x 368
Starting date: January 1750
Towns: 238
Starting population: 766,709
Starting industries: 2,097

Please see here (http://bridgewater-brunel.me.uk/guidance.html) for rules and guidance for playing on this server. Please see here (http://bridgewater-brunel.me.uk/company-names.html) for guidance on how to choose a realistic, era-appropriate company name. Although doing so is not strictly compulsory, it is strongly encouraged.

Tips and notes for those new to playing Simutrans-Extended online

Have fun and happy transporting!
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on May 25, 2024, 07:12:49 AM
Server appears to have gone down and not come back up this morning.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on May 25, 2024, 09:43:39 AM
Quote from: neroden on May 25, 2024, 07:12:49 AMServer appears to have gone down and not come back up this morning.
Thank you for that - that appears to be the very hard to reproduce in a debug environment thread deadlock bug. I have restarted this now.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on June 05, 2024, 12:38:02 AM
Server's down again.  I know you diagnosed one cause of this with Thread Sanitizer -- do you have a deadlock-removal patch ready for that yet?

P.S. The high prevalance of untraceable crashes, deadlocks, desyncs, and bugs in general is due, in the big picture, to what people now call "technical debt" -- the result of implementing new features, sometimes in a quick-and-dirty fashion, and never going back to carefully debug, test, and clean the code up properly.  I have several major cleanup projects which I put in my queue in 2013 (before I got sick) but before I start on any of those, getting the merge-from-standard cleaned up (a new piece of technical debt which has developed since 2013) should be done first.  At least I have some time to work on this lately; hopefully that will last.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on June 05, 2024, 10:39:24 AM
Quote from: neroden on June 05, 2024, 12:38:02 AMServer's down again.  I know you diagnosed one cause of this with Thread Sanitizer -- do you have a deadlock-removal patch ready for that yet?

P.S. The high prevalance of untraceable crashes, deadlocks, desyncs, and bugs in general is due, in the big picture, to what people now call "technical debt" -- the result of implementing new features, sometimes in a quick-and-dirty fashion, and never going back to carefully debug, test, and clean the code up properly.  I have several major cleanup projects which I put in my queue in 2013 (before I got sick) but before I start on any of those, getting the merge-from-standard cleaned up (a new piece of technical debt which has developed since 2013) should be done first.  At least I have some time to work on this lately; hopefully that will last.
The server is now back online. I have not had time to look at debugging the deadlocks yet - I have just returned from holiday, and am likely to be extremely busy in work for the next 2-3 weeks.

As to technical debt, there is an element of complexity, as there is a sense in which the lack of balance critical features are equal in priority to bugs, especially ones whose effects are occasional, as, to a large extent, the balance is the game.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on June 07, 2024, 07:56:00 AM
Quote from: jamespetts on June 05, 2024, 10:39:24 AMThe server is now back online. I have not had time to look at debugging the deadlocks yet - I have just returned from holiday, and am likely to be extremely busy in work for the next 2-3 weeks.

As to technical debt, there is an element of complexity, as there is a sense in which the lack of balance critical features are equal in priority to bugs, especially ones whose effects are occasional, as, to a large extent, the balance is the game.
Some technical debt is closely related to the inability to balance the game.  I've been trying to work on some of that.  Just hit the first major missing piece from Standard in my merge-from-standard work -- Dr. Supergood's city growth changes.  I believe I may have already found a lurking bug in city growth save/restore, which the sort of thing where it's going to be hard to balance the game reliably without fixing it...
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on June 15, 2024, 07:07:13 AM
Server's down again.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on June 16, 2024, 10:57:01 AM
Quote from: neroden on June 15, 2024, 07:07:13 AMServer's down again.
Apologies for not having responded sooner - I have been involved in a very substantial matter at work in the week and went out yesterday, so have been unable to attend to Simutrans this week until now.

I have now restarted the server.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on June 23, 2024, 08:18:10 AM
Now alternating between not launching at all, and showing up frozen (with a message about the pause on server option -- it's not coming out of pause).  Check your recent commits, something got badly broken today
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on June 23, 2024, 08:50:41 AM
Quote from: neroden on June 23, 2024, 08:18:10 AMNow alternating between not launching at all, and showing up frozen (with a message about the pause on server option -- it's not coming out of pause).  Check your recent commits, something got badly broken today
I have just connected successfully, and there have not been any commits for a few days - I can only assume that this was a transient fault. This intermittent fault will be difficult to reproduce and fix, unfortunately.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on June 23, 2024, 09:13:08 AM
When it dies there's a message I'm having trouble catching in time to copy-paste it but it contains the phrase "pause=1"
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on June 23, 2024, 09:16:26 AM
Quote from: neroden on June 23, 2024, 09:13:08 AMWhen it dies there's a message I'm having trouble catching in time to copy-paste it but it contains the phrase "pause=1"
Interesting. Can you describe the symptoms in more detail (preferably in the thread sanitiser results thread, as this thread is not for debugging)?
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on July 10, 2024, 12:02:21 AM
Server's down again.  Didn't come back up this morning.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on July 10, 2024, 08:18:28 AM
Quote from: neroden on July 10, 2024, 12:02:21 AMServer's down again.  Didn't come back up this morning.
Thank you for the report: now reset.

Have just come back from a short holiday, so haven't had chance to look at much development recently - will have a look when I get a moment.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on July 10, 2024, 01:39:05 PM
And it's down again.  I'm not sure what's going on this time.  It seems to happen when multiple players are active, not when one player is active at a time.  Is it possible that there's some sort of deadlock issue with this patch?

https://github.com/jamespetts/simutrans-extended/commit/3b925841cf73e2e783b3e54989cdbb532210ac18
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on July 10, 2024, 02:47:18 PM
Quote from: neroden on July 10, 2024, 01:39:05 PMAnd it's down again.  I'm not sure what's going on this time.  It seems to happen when multiple players are active, not when one player is active at a time.  Is it possible that there's some sort of deadlock issue with this patch?

https://github.com/jamespetts/simutrans-extended/commit/3b925841cf73e2e783b3e54989cdbb532210ac18
Odd - the behaviour is not entirely consistent with the usual behaviour on a thread deadlock in that the CPU usage was higher. I waited a while to see whether the server would return to working order again, but it has not, so I have reset it in the usual way. We will have to monitor this. I have not had a chance to check to see whether that patch is likely to cause additional deadlock issues at this stage.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on July 11, 2024, 03:59:41 AM
Was up most of the day (with the usual desyncs), but it's down again.  Not sure what is triggering this.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on July 11, 2024, 09:02:17 AM
Quote from: neroden on July 11, 2024, 03:59:41 AMWas up most of the day (with the usual desyncs), but it's down again.  Not sure what is triggering this.
Again, the CPU usage was high when I checked it and reset it just now, so this does not look on the face of it like the usual thread deadlocks.

Unfortunately, my time is very limited at present, so it is difficult to investigate.
Title: Re: Bridgewater-Brunel game no. 6
Post by: neroden on July 31, 2024, 04:26:19 PM
Game's down and not coming up, again.

Sorry I've been unable to work on programming. Other stuff going on.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on July 31, 2024, 05:06:07 PM
Quote from: neroden on July 31, 2024, 04:26:19 PMGame's down and not coming up, again.

Sorry I've been unable to work on programming. Other stuff going on.
Thank you for letting me know - I have restarted the Simutrans-Extended instance running on the server, so the game should be running again soon.

I have been in the same position with respect to coding: I am still waiting for the time to look into some interesting looking patches by Ranran, including work on the fonts.
Title: Re: Bridgewater-Brunel game no. 6
Post by: zook2 on August 24, 2024, 07:37:43 PM
Hi,

it's down again since this morning.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on August 24, 2024, 07:43:47 PM
Quote from: zook2 on August 24, 2024, 07:37:43 PMHi,

it's down again since this morning.
Thank you for letting me know. Now restarted.
Title: Re: Bridgewater-Brunel game no. 6
Post by: zook2 on September 26, 2024, 01:22:07 PM
Hi, it's down again.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on September 26, 2024, 01:27:18 PM
Quote from: zook2 on September 26, 2024, 01:22:07 PMHi, it's down again.
Thank you for letting me know - now restarted.
Title: Re: Bridgewater-Brunel game no. 6
Post by: TransshipmentEnvoy on October 06, 2024, 05:48:28 AM
Server down?
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on October 06, 2024, 08:28:43 AM
Quote from: TransshipmentEnvoy on October 06, 2024, 05:48:28 AMServer down?
Thank you for letting me know - now restarted.

Apologies, incidentally, to all that I have not had time to work on updating Simutrans-Extended lately. Unfortunately, my building works, which are somewhat dominating my life at present, have had some quite extreme delays and are still ongoing, and it is difficult to focus on an intense project such as Simutrans-Extended with those occurring in the background.
Title: Re: Bridgewater-Brunel game no. 6
Post by: TransshipmentEnvoy on October 12, 2024, 04:24:23 PM
Server down?
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on October 12, 2024, 08:56:14 PM
Quote from: TransshipmentEnvoy on October 12, 2024, 04:24:23 PMServer down?

Thank you for letting me know - now restarted.
Title: Re: Bridgewater-Brunel game no. 6
Post by: TransshipmentEnvoy on October 23, 2024, 01:55:05 PM
Server down?

I have also encountered repeated crashes on my self-hosted simutrans-extended server. Not sure about the reason.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on October 24, 2024, 07:47:50 AM
Quote from: TransshipmentEnvoy on October 23, 2024, 01:55:05 PMServer down?

I have also encountered repeated crashes on my self-hosted simutrans-extended server. Not sure about the reason.
Server now reset.

If you are having crashes, it would be very helpful to have a reproduction case (please post this in a separate thread) so that I can try to find the cause. Thank you.
Title: Re: Bridgewater-Brunel game no. 6
Post by: TransshipmentEnvoy on December 21, 2024, 01:05:51 PM
Is the server still running? The announcement server for extended has been down for a while, so I can't check the status there.

I'm unsure if it's a problem with my connection or the server.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on December 23, 2024, 10:46:36 AM
Quote from: TransshipmentEnvoy on December 21, 2024, 01:05:51 PMIs the server still running? The announcement server for extended has been down for a while, so I can't check the status there.

I'm unsure if it's a problem with my connection or the server.
My apologies - for some reason, the e-mails to let me know of new forum posts have not come through, so I have only just seen this. The game seems to have been down for a while - I have just reset the server.

It is a shame that the list server is down - do we have any information on that? Edit: I have seen the other thread regarding this now.

I am thinking of modifying the restart script on the server to make it hart-reset the game (kill rather than end the process) daily so that the thread deadlock issue cannot take the game down for more than a day. My much delayed building works that have made it impossible for me to concentrate seriously on development since about the summer of 2023 are now entering the snagging phase, so I should hopefully have a little more time to work on Simutrans-Extended again soon.

Edit: I have now made the changes to the nightly scripts necessary to force-kill the process on a nightly restart so that we should not have the problem of the game becoming unresponsive and being down for longer than a day again.
Title: Re: Bridgewater-Brunel game no. 6
Post by: Matthew on December 24, 2024, 09:34:46 PM
Thank you restarting this James. I think the game has been frozen for a a few months.

I didn't post here about it, perhaps selfishly, because my desktop PC also broke a few months ago (BIOS won't read my new hard drive....  :-[  ), and I have not been able to fix it, so at the moment I can't connect to Bridgewater-Brunel. I do hope to return since I did have a company there.
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on December 24, 2024, 09:35:34 PM
Quote from: Matthew on December 24, 2024, 09:34:46 PMThank you restarting this James. I think the game has been frozen for a a few months.

I didn't post here about it, perhaps selfishly, because my desktop PC also broke a few months ago (BIOS won't read my new hard drive....  :-[  ), and I have not been able to fix it, so at the moment I can't connect to Bridgewater-Brunel. I do hope to return since I did have a company there.
I am sorry to hear that - I hope that you manage to get your computer fixed soon.

In the meantime, merry Christmas!
Title: Re: Bridgewater-Brunel game no. 6
Post by: jamespetts on January 01, 2025, 10:59:43 AM
The Extended server-list is running again and the game is now reliably running: it should not stop working again for longer than a day with the new automatic reset script.

Happy new year everyone!
Title: Re: Bridgewater-Brunel game no. 6
Post by: zook2 on January 02, 2025, 11:12:35 AM
Thanks and a happy new year!