The International Simutrans Forum

 

Author Topic: Crash loading level  (Read 4401 times)

0 Members and 1 Guest are viewing this topic.

Offline jorrit

  • *
  • Posts: 54
Crash loading level
« 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,

Offline wernieman

  • Devotees (Inactive)
  • *
  • Posts: 713
    • Werniemans-Webside (only German)
Re: Crash loading level
« Reply #1 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?

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #2 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,

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: Crash loading level
« Reply #3 on: October 27, 2008, 02:08:39 PM »
You may make a zip with it. is a text file, isn't it?

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #4 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,

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #5 on: October 27, 2008, 02:12:02 PM »
Aha found it. Here is the log.

Greetings,

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: Crash loading level
« Reply #6 on: October 27, 2008, 03:54:09 PM »
You will get this only with broken savegames ...

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #7 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,

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: Crash loading level
« Reply #8 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? 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 ..
« Last Edit: October 27, 2008, 04:16:02 PM by vilvoh »

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #9 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,

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: Crash loading level
« Reply #10 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.

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #11 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,

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Re: Crash loading level
« Reply #12 on: October 27, 2008, 07:38:14 PM »

Offline jorrit

  • *
  • Posts: 54
Re: Crash loading level
« Reply #13 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.
- IgorTekton
« Last Edit: October 28, 2008, 03:45:24 AM by IgorTekton »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10828
  • Languages: De,EN,JP
Re: Crash loading level
« Reply #14 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.