The International Simutrans Forum

 

Author Topic: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)  (Read 60164 times)

0 Members and 1 Guest are viewing this topic.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #420 on: April 14, 2019, 11:54:58 AM »
Thanks for the quick turnaround. The crash seems to be fixed but I am still unable to connect to the server without losing sync immediately.

I have pushed another attempted fix - but this also fails.

This looks to be another major problem, which may take another 6 months to fix, during which there will be no possibility of any further development and the online game will not be playable.

If anyone is able and willing to assist with testing, that would be most helpful. One of the difficulties in testing is that the saved game is so large that it takes an extreme amount of time to run each testing cycle, and many scores or even hundreds of testing cycles are necessary to narrow down the problem.

Offline SuperTimo gb

  • *
  • Posts: 51
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #421 on: April 15, 2019, 05:28:04 PM »
I can try and do some testing if necessary. Presumably the server will need reverting back to an old save first though, since at the moment it is impossible to stay in sync at all.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #422 on: April 15, 2019, 05:32:30 PM »
One test would be, after backing up the current saved game, simply to liquidate your company to see whether that makes the problem go away: that should help to narrow it down considerably.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #423 on: April 15, 2019, 05:40:50 PM »
I have now backed up the saved game and deleted your company on the live game. I should be grateful if you could log in and re-test, since I have insufficient memory on the computer that I have with me at present to log into this game successfully.

Offline ACarlotti

  • *
  • Posts: 343
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #424 on: April 15, 2019, 06:26:01 PM »
James: since you're editing the game now, could you provide a link to a version of the save which is known to trigger desyncs?

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #425 on: April 15, 2019, 06:51:02 PM »
James: since you're editing the game now, could you provide a link to a version of the save which is known to trigger desyncs?

Certainly: here is a copy.

Offline SuperTimo gb

  • *
  • Posts: 51
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #426 on: April 15, 2019, 08:19:58 PM »
I tried to connect a couple of times, it seems my company is still there though. As such I still de-sync almost immediately after joining.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #427 on: April 15, 2019, 08:51:40 PM »
Thank you for trying. For some reason, the command to liquidate the company seems to have failed. I am not sure what might have caused this.

Offline Ves

  • Devotee
  • *
  • Posts: 1611
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #428 on: April 16, 2019, 01:14:01 PM »
Got a desync immediatedly after joining right now. Which company was yours Super Timo? There are three free slots at the moment.

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2589
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #429 on: April 16, 2019, 09:48:59 PM »
I also desync soon after joining. As joining takes 5+ minutes or so I have not tried it much.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #430 on: April 16, 2019, 09:50:13 PM »
I note that the liquidation did not succeed for reasons as yet unclear; I will not be able to look into this until I return home next week.

Offline SuperTimo gb

  • *
  • Posts: 51
  • Languages: English, French
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #431 on: April 17, 2019, 04:42:25 PM »
Got a desync immediatedly after joining right now. Which company was yours Super Timo? There are three free slots at the moment.

My company is the Great Highland Railway.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2547
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #432 on: April 17, 2019, 09:03:07 PM »
I have tried with linux, but the game is not playable on my computer. It requires 10 GB of RAM, and I have "only" 8 GB. When it finally loaded it disconnected immediately. But I would guess it was mostly due to high swapping, that my computer could not keep up with the server. I remember that during the previous desync debugging I was able to connect and play just fine. Did the game advance so much that it requires much more memory, or was there any significant change in code?

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #433 on: April 17, 2019, 09:09:21 PM »
I have tried with linux, but the game is not playable on my computer. It requires 10 GB of RAM, and I have "only" 8 GB. When it finally loaded it disconnected immediately. But I would guess it was mostly due to high swapping, that my computer could not keep up with the server. I remember that during the previous desync debugging I was able to connect and play just fine. Did the game advance so much that it requires much more memory, or was there any significant change in code?

I have not been able to connect with my 8Gb Linux computer for some time. However, the path explorer data saving may have increased memory consumption. I will have to investigate possible inefficiencies there when I get a chance, but that will be a significant amount of work, so will have to compete with all the other high priorities for my very limited time unless someone else is able to look into this first.

It is notable that you disconnect straight away even with Linux - that suggests that the problem is not platform specific as it was with the last error.

Offline ACarlotti

  • *
  • Posts: 343
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #434 on: April 17, 2019, 09:16:00 PM »
I have been able to reproduce the desync locally, which should make it easier to invesitgate. It also seems to be using nearer 8GB on my computer (I think slightly less), and I'm able to comfortably run a c;ient and server with 16GB of RAM.

Offline Ves

  • Devotee
  • *
  • Posts: 1611
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #435 on: April 18, 2019, 02:07:48 PM »
I am now connected to the server for several minutes (perhaps 15 or so) without any dissync!

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #436 on: April 18, 2019, 03:34:57 PM »
I am now connected to the server for several minutes (perhaps 15 or so) without any dissync!

Excellent - thank you for letting me know. A. Carlotti's fix (documented on the other thread) seems to have succeeded.

Offline Ves

  • Devotee
  • *
  • Posts: 1611
  • Languages: EN, SV, DK
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #437 on: April 18, 2019, 03:40:43 PM »
Well indeed it does! I am still connected to the server so it indeed seems fixed! Thank you James and ACarlotti!

Will you reinstate the build from 15/4 or should we just continue on this one online now?

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18386
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Bridgewater-Brunel no. 1 - Great Britain sized map (no. 2)
« Reply #438 on: April 18, 2019, 08:27:35 PM »
I have now restarted the server with the backed up saved game so that play on this server can continue following the fixing of the loss of synchronisation error.

My apologies for the disruption, and thanks again to A. Carlotti for the fix.