The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: kittens45 on August 22, 2016, 08:35:56 PM

Title: crash while saving
Post by: kittens45 on August 22, 2016, 08:35:56 PM
_bulding already bound to city fatal error when saving resulting in CTD
Title: Re: crash while saving
Post by: jamespetts on August 23, 2016, 10:00:15 PM
Thank you very much for the report, and welcome to the forum.

To help me to track this problem down and solve it, it would assist to have a little more information. In particular, what version of Simutrans-Experimental are you using, what pakset (and version) are you using, and in what would one need to do to reproduce this crash reliably?
Title: Re: crash while saving
Post by: kittens45 on August 23, 2016, 11:38:59 PM
I am using Simutrans-Experimental_160802_9659782 and pak128.britain-ex-0.9.2_160629_0f8a75f
Title: Re: crash while saving
Post by: jamespetts on August 24, 2016, 08:04:36 PM
I am afraid that I cannot reproduce this. Are there any particular conditions in which this consistently occurs?
Title: Re: crash while saving
Post by: kittens45 on August 24, 2016, 08:36:43 PM
when trying to save
Title: Re: crash while saving
Post by: jamespetts on August 24, 2016, 11:21:56 PM
Does it crash every time that you try to save any game, or only in some instances? I am able to save games without it crashing, which is why I am not able to reproduce this.
Title: Re: crash while saving
Post by: kittens45 on August 25, 2016, 01:49:43 AM
every time
Title: Re: crash while saving
Post by: jamespetts on August 25, 2016, 09:27:33 AM
In that case, there must be something different about your setup compared to mine such that it crashes on saving for you and not for me. Did you compile the code and pakset yourself or download one of the already compiled executables?
Title: Re: crash while saving
Post by: Ves on August 25, 2016, 01:00:27 PM
That definitively look like one of my builds! The executable has the commit starting with 9659782 an is compiled the second of august. The pakset ha the commit starting with 0f8a75f and is compiled the 29th of June, so some rather old builds.
Title: Re: crash while saving
Post by: kittens45 on August 28, 2016, 06:51:15 PM
Quote from: jamespetts on August 25, 2016, 09:27:33 AM
In that case, there must be something different about your setup compared to mine such that it crashes on saving for you and not for me. Did you compile the code and pakset yourself or download one of the already compiled executables?

downloaded it
Title: Re: crash while saving
Post by: jamespetts on August 28, 2016, 07:03:42 PM
As Ves notes, you seem to have an older build. Can you try updating it?
Title: Re: crash while saving
Post by: kittens45 on August 28, 2016, 09:14:52 PM
did do that and still got on me on that one particular save
Title: Re: crash while saving
Post by: Ves on August 28, 2016, 09:20:23 PM
Could it not be that the savegame got corrupted in some way? Can you load the savegame but not save it again?
If the savegame is corrupted, I dont think there is much to do about it.
Title: Re: crash while saving
Post by: jamespetts on August 28, 2016, 09:22:10 PM
You refer to "that one particular save"; is it no longer the case that it crashes on every attempt to save no matter what?
Title: Re: crash while saving
Post by: kittens45 on August 29, 2016, 12:37:40 AM
Quote from: Ves on August 28, 2016, 09:20:23 PM
Could it not be that the savegame got corrupted in some way? Can you load the savegame but not save it again?
If the savegame is corrupted, I dont think there is much to do about it.

that's the case
Title: Re: crash while saving
Post by: jamespetts on August 29, 2016, 09:42:48 AM
Can you upload the saved game so that I can try to look into it?
Title: Re: crash while saving
Post by: kittens45 on August 29, 2016, 07:57:57 PM
it's larger than 64k
Title: Re: crash while saving
Post by: jamespetts on August 29, 2016, 11:39:25 PM
May I suggest uploading it here: http://files.simutrans-germany.com/ ?
Title: Re: crash while saving
Post by: kittens45 on August 30, 2016, 12:32:37 AM
uploaded
Title: Re: crash while saving
Post by: jamespetts on August 31, 2016, 10:12:05 PM
May I ask for the link to the file so that I know which one that it is to enable me to download it?
Title: Re: crash while saving
Post by: kittens45 on September 06, 2016, 06:35:37 PM
http://simutrans-germany.com/files/upload/sea.sve
here it is
Title: Re: crash while saving
Post by: jamespetts on September 06, 2016, 10:31:20 PM
I am afraid that I cannot reproduce any crash here: loading the saved game, re-saving it, and then re-loading the saved game all work without problems. I should note that there is a point a few seconds after loading the game when it becomes very slow for a while as a town/industry chain battles with the very limited remaining space on that map to try to expand, but this is not related to saving/loading, and is also not a crash, as the game will become responsive again if one waits a minute or two.