The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: AP on July 22, 2012, 08:57:57 PM

Title: Savegame crashes a few seconds after loading.
Post by: AP on July 22, 2012, 08:57:57 PM
Hi All

I have a game which I've been playing a while, going well. Recently I saved it, at the end of a session, but whenever I reload the game, it crashes after playing for 5 or 6 seconds.

Am using Simurans Ex 111.0 r10.11 and Pak128.Britain-Ex-0.8.3

The file is 7mb, I have a 7mb recent autosave which doesn't exhibit the same behaviour. Can email either/both if required.

Not sure if this is of interest or not. For my part i can just revert to the autosave, but the fact that the savegame runs, then crashes, makes me think it might be of interest.
Title: Re: Savegame crashes a few seconds after loading.
Post by: jamespetts on July 22, 2012, 09:37:55 PM
Thank you for posting it - it is potentially of interest. Can you upload the file to http://files.simutrans-germany.com (http://files.simutrans-germany.com)?
Title: Re: Savegame crashes a few seconds after loading.
Post by: AP on July 23, 2012, 07:02:45 AM
Having trouble uploading... do I need to register seperately for that site?
Title: Re: Savegame crashes a few seconds after loading.
Post by: AP on July 23, 2012, 08:06:03 PM
http://simutrans-germany.com/files/upload/savegame_that_crashes.sve
Title: Re: Savegame crashes a few seconds after loading.
Post by: jamespetts on July 23, 2012, 08:21:44 PM
Thank you for the report and the saved game - this is now fixed on the -devel branch.
Title: Re: Savegame crashes a few seconds after loading.
Post by: AP on July 23, 2012, 09:07:24 PM
Cool. Is it something that will recur at this point in the game again, if I revert to an earlier save?
Title: Re: Savegame crashes a few seconds after loading.
Post by: jamespetts on July 23, 2012, 09:11:01 PM
If I have understood the problem correctly, it is unlikely to recur: it seems to be caused by deleting a station then deleting the ground tile on which it was situated before a convoy that has departed from that station has deposited all the passengers/goods that were picked up from that station at their destination.
Title: Re: Savegame crashes a few seconds after loading.
Post by: AP on July 23, 2012, 09:17:51 PM
Well that's good to know. Glad it's fixed, cheers James.  :)
Title: Re: Savegame crashes a few seconds after loading.
Post by: AP on July 29, 2012, 08:31:05 PM
Hmm. The bug is recurring when I use a slightly earlier autosave, and  resume gameplay and city editing (which does include deleting bus stops etc...). Is this because the bug is in the code for the game itself, until I update to the next release of experimental?
Title: Re: Savegame crashes a few seconds after loading.
Post by: jamespetts on July 29, 2012, 09:01:35 PM
AP,

yes, the bug is in the code, which will be fixed in the next release.