The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: ӔO on January 19, 2014, 09:55:14 PM

Title: [11.15] [64bit] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] Game crashes for unknown reason
Post by: jamespetts 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.
Title: Re: [11.15] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] Game crashes for unknown reason
Post by: jamespetts on January 20, 2014, 12:38:07 AM
Very odd.
Title: Re: [11.15] Game crashes for unknown reason
Post by: zook2 on January 20, 2014, 01:44:44 PM
Just curious - do you use the 32- or the 64-bit version?
Title: Re: [11.15] Game crashes for unknown reason
Post by: ӔO on January 20, 2014, 02:41:58 PM
should be the 64bit version.
Title: Re: [11.15] Game crashes for unknown reason
Post by: jamespetts on January 20, 2014, 07:57:39 PM
Can you try with the 32-bit version in case this is a .dll issue?
Title: Re: [11.15] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] Game crashes for unknown reason
Post by: jamespetts 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.
Title: Re: [11.15] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: jamespetts 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.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: ӔO on February 16, 2014, 08:26:35 AM
This seems to be fixed in 11.18.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: jamespetts on February 16, 2014, 01:58:56 PM
Splendid.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: jamespetts on February 20, 2014, 01:08:41 AM
Can you give any more specific clues than "crashes eventually"...?
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: jamespetts 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?
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: ӔO 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.
Title: Re: [11.15] [64bit] Game crashes for unknown reason
Post by: jamespetts on February 20, 2014, 02:56:49 AM
Having trouble reproducing this one, I am afraid.