The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: jorrit on October 27, 2008, 01:26:41 PM

Title: Crash loading level
Post by: jorrit on October 27, 2008, 01:26:41 PM
Hi, I'm playing simutrans 100.1-2070 with pak128 (version 179). When I try to load a level I saved a few days ago I get this error:

Code: [Select]
FATAL ERROR: dingliste_t::laden()
During loading: Unknown object type 'O'
PRESS ANY KEY

When I press a key it crashes.

Is this a known problem?

Greetings and thanks,
Title: Re: Crash loading level
Post by: wernieman on October 27, 2008, 01:58:39 PM
You play with windows?

Have you try it with "-log 1 -debug" and can you give us the logfile?
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 02:06:31 PM
Yes I'm on windows. Note that I have upgraded my simutrans nightly to 2076 now and the crash is still here. I generated the log file as you requested but it is 612Kb big. Where can I put it so you can examine it?

Greetings and thanks,
Title: Re: Crash loading level
Post by: vilvoh on October 27, 2008, 02:08:39 PM
You may make a zip with it. is a text file, isn't it?
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 02:10:13 PM
You may make a zip with it. is a text file, isn't it?

yes, it is a text file and I can certainly make a zip of it. But what then? I see no way to attach files to posts here in this forum. But perhaps I'm overlooking something?

Greetings,
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 02:12:02 PM
Aha found it. Here is the log.

Greetings,
Title: Re: Crash loading level
Post by: prissi on October 27, 2008, 03:54:09 PM
You will get this only with broken savegames ...
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 03:57:43 PM
You will get this only with broken savegames ...

And how can a savegame get broken? I didn't do anything special with it.

Greetings,
Title: Re: Crash loading level
Post by: vilvoh on October 27, 2008, 04:11:22 PM
Maybe incompatibility with old versions or perhaps you've missed objects used in the original version you played that savegame with. It's known that the use of bleeding edge versions, more known as nightlies, might break some savegames from old versions. Sometimes it even corrupts the file (in extreme cases, of course)

quote from the archive,What version should I use? (http://archive.forum.simutrans.com/topic/00343.0/index.html) topic:
Quote
Therefore there are two flavours of Simutrans:

The hottest newest version, which might not work for you or eating up your hard disk. Use this for beta test, but expect nasty crashes, unloadable savegames, non-producting industries ..
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 04:16:07 PM
Maybe incompatibility with old versions or perhaps you've missed objects used in the original version you played that savegame with. It's known that the use of bleeding edge versions, more known as nightlies, might break some savegames from old versions. Sometimes it even corrupts the file (in extreme cases, of course)

Well in this case I didn't do any upgrade of anything between the level working and not working. On day 1 I save the game. I go to bed. On day 2 I load the game and it no longer loads. No upgrades or anything (I did upgrade the nightly AFTER finding out it crashed). Also note that older savegames of the same level (I tend to keep backups) do load fine. It was just that single version that failed.

Greetings,
Title: Re: Crash loading level
Post by: prissi on October 27, 2008, 04:55:35 PM
This error can only happen in a game when an object with the wrong length is loaded. This is only possible, when either an object was not correctly written or the informations before were wrong. This happens in 99% with broken savegames.

Do you have the savegame? Then I can have a look at it. But usually this error means that there was not enough place during saving or writing on disk failed or the file is damaged.
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 07:32:06 PM
I still have the savegame but it is 2.8 megs and compressing doesn't help. This forum has a limit of 200k for attachments.

Perhaps I can email it or upload it somewhere?

Greetings,
Title: Re: Crash loading level
Post by: Frank on October 27, 2008, 07:38:14 PM
upload to files.simutrans-germany.com (http://files.simutrans-germany.com)
Title: Re: Crash loading level
Post by: jorrit on October 27, 2008, 08:11:54 PM
Here it is:

http://www.simutrans-germany.com/files/upload/eff19_crash.sve

Greetings,



Hmm, looking at the file lengths I notice that it is a bit shorter then my other save games of around the same time. So it looks as if it got truncated somehow. Not sure how that could happen though.

Greetings,

Note by Admin: Too much double-posts. Please, use "Modify" button and everyone will see a "New" tag in topic title in topic index (http://forum.simutrans.com/index.php?board=8.0).
- IgorTekton
Title: Re: Crash loading level
Post by: prissi on October 27, 2008, 10:24:37 PM
Well, the last object just before was a tree. I therefore assume a broken savegame, since the format of trees was not change since quite a while.