Skip to main content
Topic: Simutrans crashes loading some games (Read 19746 times) previous topic - next topic

Simutrans crashes loading some games

Today, I saw when I wanted to start some old games I played with 100.0 and 99.18 that they didn't want to start. This was using 101.0. Downloading 102.0 resulted in a crash of simutrans, but using Ubuntu packages worked. Now I get this error: on my screen, and in the terminal:
Code: [Select]
Calculating textures ...FATAL ERROR: planquadrat_t::rdwr()
Error while loading game: Unknown ground type '-1'

When I install 100.0, it just works ...

Here, you have an example of a savegame:
http://uploads.online-urbanus.be/c4b3e5c8015c1c63676e4cf4c8cc906d

Re: Simutrans crashes loading some games

Reply #1
There is a powerbridge which has no way and thus is not found. Next nightly should load this again.

Actually there is a useful error message in the log, just before the crash ...

Re: Simutrans crashes loading some games

Reply #2
Is it a problem of the pak, or the code? (So I know what to update ;))

I got this in the simu.log file:
Code: [Select]
FATAL ERROR: planquadrat_t::rdwr()
Error while loading game: Unknown ground type '-1'
Aborting program execution ...

Please report all fatal errors to
team@64.simutrans.com

Re: Simutrans crashes loading some games

Reply #3
Actually it should print: "no bridge on bridgebround at (431,311,0); try repalcement"

Anyway, next nightly should fix this.

Re: Simutrans crashes loading some games

Reply #4
did u add any new add-on pak before?or replace some pak?or after update the simutrans,but didn't move all old pak file to the new version?

Re: Simutrans crashes loading some games

Reply #5
No, the problem was, that a transformer was build on the end of a powerbidge, deleting the bridgehead. But then, after reloading there was a bridgeground without a bridge. SInce there was no way on that tile, it did not suceeded in finding a default graphics for it and accessed NULL memory later.

Re: Simutrans crashes loading some games

Reply #6
prissi, how did you get that detailed information? with simutrans -log, I only get what I posted here.

Isn't that allowed anymore, or was it just a bug? In 100.0 it worked perfectly.

Re: Simutrans crashes loading some games

Reply #7
It was actually never allowed, but not forbidden. Inexpected stuff was to be expected in such cases.

You get more debugmessages with -debug 3 (or even 4). However, this ought to be the default. Maybe it is not turned on in the nightlies.

Re: Simutrans crashes loading some games

Reply #8
Is this only for nightly versions? I just get this now with the debug option:
Code: [Select]
Warning: translator::load():	no basic texts for language 'cn'
Warning: translator::load(): no basic texts for language 'be'
Warning: translator::load(): no basic texts for language 'id'
Warning: translator::load(): no basic texts for language 'no'
Warning: translator::load(): no basic texts for language 'ce'
Message: grund_besch_t::register_besch(): setting raster width to 64
Message: grund_besch_t::register_besch(): setting raster width to 64
Message: register_besch(): Notice: obj Outside already defined
Message: register_besch(): Notice: obj BigLogo already defined
Warning: karte_t::create_rivers(): Too many rivers requested! (16 not constructed)
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
Warning: void release_focus(): Focus was already released
FATAL ERROR: planquadrat_t::rdwr()
Error while loading game: Unknown ground type '-1'
Aborting program execution ...

Please report all fatal errors to
team@64.simutrans.com

Re: Simutrans crashes loading some games

Reply #9
Not sure, I get the correct error and the debugger is where is belongs.

Re: Simutrans crashes loading some games

Reply #10
OT:

No Problem for the nightly make a bigger debuglevel, because nightlys ar for bughunting

Wich do you want?
-debug 3 or even 4 ?
I hope you understand my English

Re: Simutrans crashes loading some games

Reply #11
3 should be fine.

 

Re: Simutrans crashes loading some games

Reply #12
Will be in the next nightly
I hope you understand my English