The International Simutrans Forum

 

Author Topic: Bridgewater-Brunel game no. 4  (Read 6467 times)

0 Members and 1 Guest are viewing this topic.

Offline Sirius

  • Devotee
  • *
  • Posts: 1660
  • Languages: DE, EN
Re: Bridgewater-Brunel game no. 4
« Reply #35 on: November 01, 2021, 03:10:14 PM »
I have no idea.
On my machine it builds and runs just fine.

Offline Matthew

  • Devotee
  • *
  • Posts: 632
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Bridgewater-Brunel game no. 4
« Reply #36 on: November 01, 2021, 04:45:09 PM »
It compiles here fine as well.

The log messages suggest there is some problem with trains not being able to find their goods. I compared the goods.pak from B-B with the one that I pak'ed myself in a hex editor and it did not find any differences between the two. I tried to compare trains.pak but the editor repeatedly froze with a generic error message, probably because the file is too large.

I have no idea what could cause this. Maybe disk corruption? Seems unlikely but I don't know what else.

Offline Sirius

  • Devotee
  • *
  • Posts: 1660
  • Languages: DE, EN
Re: Bridgewater-Brunel game no. 4
« Reply #37 on: November 01, 2021, 11:23:41 PM »
The only files that have changed, according to git are br-303.dat as well as the related images, so if it compiled just fine yesterday, the issue must be in there.
The dat seems to be fine but the Railcars directory seems supicious.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #38 on: November 02, 2021, 12:00:01 AM »
The problem appears to have been a capital/lower case clash, which would not cause problems on Windows, but does cause problems on Linux as the image files are not where they need to be. I have now fixed this, I believe.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #39 on: November 02, 2021, 09:59:41 AM »
The server is now online again.

Offline Matthew

  • Devotee
  • *
  • Posts: 632
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Bridgewater-Brunel game no. 4
« Reply #40 on: November 02, 2021, 03:53:59 PM »
Thank you!  :thumbsup:

Online Dessard

  • *
  • Posts: 2
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #41 on: December 04, 2021, 08:33:06 PM »
B-B is down. It last announced just before the nightly update, so the cause is probably a failed build. I note that the nightly Linux executable at http://bridgewater-brunel.me.uk/downloads/nightly/linux-x64/simutrans-extended has not been updated, and that an odd /downloads/nightly//linux-X64 file (a malformed directory??) has appeared. The Windows executables have not updated either.

The underlying bug has been reported here.
I think that this may have occurred again, or something related. The server has been down for a few days, and there the "linux-X64" file is still present and updated, and seems to be very similar to but slightly different from bridgewater-brunel.me.uk/downloads/nightly/linux-x64/makeobj-extended. Maybe the file which is supposed to be going to downloads/nightly/linux-x64/makeobj-extended is instead going to downloads/nightly/linux-X64?

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #42 on: December 06, 2021, 12:05:52 AM »
I think that this may have occurred again, or something related. The server has been down for a few days, and there the "linux-X64" file is still present and updated, and seems to be very similar to but slightly different from bridgewater-brunel.me.uk/downloads/nightly/linux-x64/makeobj-extended. Maybe the file which is supposed to be going to downloads/nightly/linux-x64/makeobj-extended is instead going to downloads/nightly/linux-X64?

Welcome to the forums!

Apologies that this is down: I think that the reason is the known and occasional (but extremely hard to find and fix) suspected thread deadlock issue, as the symptoms on the server are entirely consistent with this.

I have now restarted the game on the server, so hopefully this should be working again now. I was hoping to look at some other things this week-end, too, including some of the very helpful patches that a few people have submitted, but I ran out of time in the end; I hope to review these soon.

In the meantime, happy transport network designing!

Online Dessard

  • *
  • Posts: 2
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #43 on: December 06, 2021, 01:11:30 AM »
Thanks!

Offline dannyliux

  • *
  • Posts: 18
  • Languages: EN, ZH
Re: Bridgewater-Brunel game no. 4
« Reply #44 on: January 03, 2022, 10:18:52 AM »
Server appears to be offline now.

Also, it is expected behaviour for the client's game to freeze for some time when the month change? For me, every time the game goes to the next month, it freezes for a bit, if I'm lucky it'll recover but with some weird side-effects such as everything going fast-forward for a minute or so, or the game automatically saving then disconnecting and reconnecting to the server, but if I'm unlucky it'll just crash to desktop.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #45 on: January 03, 2022, 10:48:00 AM »
Server appears to be offline now.

Also, it is expected behaviour for the client's game to freeze for some time when the month change? For me, every time the game goes to the next month, it freezes for a bit, if I'm lucky it'll recover but with some weird side-effects such as everything going fast-forward for a minute or so, or the game automatically saving then disconnecting and reconnecting to the server, but if I'm unlucky it'll just crash to desktop.

Thank you for the report. My hosting provider's control panel access is currently down, so I am unable to retrieve my login password to log in to reset the server (I am currently staying away from home, so do not have my own record of it). I will check back later in the day to see if I can login then.

As to your question, the long time taken at the end of a month I believe is industry related. I am not entirely sure why this now takes such a long time; I will have to investigate this at some point.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #46 on: January 03, 2022, 11:32:35 AM »
I have now been able to login and restart Simutrans-Extended on the server, so this should be back up again in a few minutes.

Offline dannyliux

  • *
  • Posts: 18
  • Languages: EN, ZH
Re: Bridgewater-Brunel game no. 4
« Reply #47 on: January 03, 2022, 11:42:18 AM »
Thank you, it's indeed back online now.

Offline Vladki

  • Devotee
  • *
  • Posts: 3736
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Bridgewater-Brunel game no. 4
« Reply #48 on: January 04, 2022, 04:32:19 PM »
As to your question, the long time taken at the end of a month I believe is industry related. I am not entirely sure why this now takes such a long time; I will have to investigate this at some point.

I remember this happened when the game wanted to spawn new industry (chain) but couldn't find a suitable place to build it.

Also autosave could cause that.

Offline freddyhayward

  • Devotee
  • *
  • Posts: 693
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #49 on: January 12, 2022, 08:40:01 AM »
The server has been offline for 2.5 hours since the last restart. I also recently experienced a server crash that reset quite a bit of progress, though I can't recall any details that could help identify the issue.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #50 on: January 13, 2022, 05:57:26 PM »
Apologies - this appears to be the known intermittent thread deadlock bug rather than any crash. I have now restarted the server.

I did notice that the server appeared to be crashing at the end of December 1878 recently, but, when I loaded the saved game locally, I could not reproduce the crash. I then tried to load the game in the debugger on the server, and this then worked without crashing, so I have been unable to reproduce the problem.

Offline PJMack

  • *
  • Posts: 84
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #51 on: January 14, 2022, 04:02:23 AM »
I did notice that the server appeared to be crashing at the end of December 1878 recently, but, when I loaded the saved game locally, I could not reproduce the crash. I then tried to load the game in the debugger on the server, and this then worked without crashing, so I have been unable to reproduce the problem.
This is not too surprising, as the intermittent deadlocks would likely need very specific timing of events to occur, some of which may be from clients.  I recommend compiling the live server with the -g flag and making sure it is setup to capture core dumps so that when this inevitably happens again, the process can be killed with kill -3 and the core dump analyzed.  If the server is powerful enough, it may be necessary to run the active server from a build without the optimizations (-Og flag).

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #52 on: January 17, 2022, 10:13:35 AM »
Server is currently down owing to a compile issue. Apologies for any inconvenience.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 21030
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel game no. 4
« Reply #53 on: January 17, 2022, 09:28:44 PM »
Server up again.