The International Simutrans Forum

 

Author Topic: [11.15] [64bit] Game crashes for unknown reason  (Read 4173 times)

0 Members and 1 Guest are viewing this topic.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
[11.15] [64bit] Game crashes for unknown reason
« on: January 19, 2014, 09:55:14 PM »
This game should crash some time in August.

https://dl.dropboxusercontent.com/u/17111233/test%2011.15.sve

Not sure what causes it.
« Last Edit: January 21, 2014, 07:08:10 PM by ӔO »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] Game crashes for unknown reason
« Reply #1 on: January 20, 2014, 12:28:12 AM »
Hmm - can't reproduce this crash, but there was a rather odd crash on saving that I have now fixed in 11.x.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] Game crashes for unknown reason
« Reply #2 on: January 20, 2014, 12:36:40 AM »
hmm, odd. It crashed 3/3 times for me under fast forward, but now it seems to be less frequently reproducible.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] Game crashes for unknown reason
« Reply #3 on: January 20, 2014, 12:38:07 AM »
Very odd.

Offline zook2

  • *
  • Posts: 321
Re: [11.15] Game crashes for unknown reason
« Reply #4 on: January 20, 2014, 01:44:44 PM »
Just curious - do you use the 32- or the 64-bit version?

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] Game crashes for unknown reason
« Reply #5 on: January 20, 2014, 02:41:58 PM »
should be the 64bit version.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] Game crashes for unknown reason
« Reply #6 on: January 20, 2014, 07:57:39 PM »
Can you try with the 32-bit version in case this is a .dll issue?

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] Game crashes for unknown reason
« Reply #7 on: January 20, 2014, 10:19:29 PM »
32bit version seems to be stabler.

Even in 11.16, the 64bit version did crash at the beginning of month occasionally.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] Game crashes for unknown reason
« Reply #8 on: January 20, 2014, 10:34:59 PM »
I have seen occasional crashes at the beginning of months relating to deleting excess city cars, but it is not clear exactly what is causing them: the immediate cause appears to be performing operations on an already deleted car object retrieved from the list of cars not assigned to any particular city, but it is not clear how that can happen, since the deletion code removes the car from the list to which it is assigned, and the variable for that list is set whenever a car is put in it. It is not clear whether this is the same crash that you are getting.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] Game crashes for unknown reason
« Reply #9 on: January 21, 2014, 04:34:39 PM »
I let the 32bit 11.16 run overnight and it ran for some 40~50 years without crashing, so I will have to guess this bug is limited to 64bit.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #10 on: January 21, 2014, 11:19:16 PM »
This is very curious. If anyone with more programming experience than I could suggest what could be causing this, I should be extremely grateful.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #11 on: February 16, 2014, 08:26:35 AM »
This seems to be fixed in 11.18.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #12 on: February 16, 2014, 01:58:56 PM »
Splendid.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #13 on: February 19, 2014, 08:05:21 PM »
I think I spoke too soon. It no longer crashes in the short term, but games run for an extended period of time do crash eventually.

and, as usual, the 32bit client runs perfectly fine.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #14 on: February 20, 2014, 01:08:41 AM »
Can you give any more specific clues than "crashes eventually"...?

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #15 on: February 20, 2014, 01:51:08 AM »
I ran the server game locally and on fast forward.

The 64bit client worked fine from Nov, 1775 to Feb, 1776, at which point it crashed.
Loading the autosave from Jan, 1776, with the 32bit client, the game worked perfectly beyond February and is now in Oct. 1779.

No inputs were made, so the game crashed by itself.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #16 on: February 20, 2014, 01:52:54 AM »
Does this only happen in fast-forward mode, or does it sometimes crash when actually connected to the server?

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #17 on: February 20, 2014, 01:56:56 AM »
I've only tested it in fast forward mode.

I doubt I can stay connected to the server for such a long duration.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [11.15] [64bit] Game crashes for unknown reason
« Reply #18 on: February 20, 2014, 02:56:49 AM »
Having trouble reproducing this one, I am afraid.