Simutrans crashes loading some games June 14, 2009, 08:33:14 pm 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 Quote Selected Last Edit: June 14, 2009, 08:45:56 pm by Paretje
Re: Simutrans crashes loading some games Reply #1 – June 14, 2009, 09:13:31 pm 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 ... Quote Selected
Re: Simutrans crashes loading some games Reply #2 – June 14, 2009, 09:33:21 pm 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 toteam@64.simutrans.com Quote Selected
Re: Simutrans crashes loading some games Reply #3 – June 14, 2009, 09:58:08 pm Actually it should print: "no bridge on bridgebround at (431,311,0); try repalcement"Anyway, next nightly should fix this. Quote Selected
Re: Simutrans crashes loading some games Reply #4 – June 15, 2009, 06:00:20 am 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? Quote Selected
Re: Simutrans crashes loading some games Reply #5 – June 15, 2009, 09:43:49 am 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. Quote Selected
Re: Simutrans crashes loading some games Reply #6 – June 15, 2009, 05:16:47 pm 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. Quote Selected
Re: Simutrans crashes loading some games Reply #7 – June 15, 2009, 07:08:42 pm 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. Quote Selected
Re: Simutrans crashes loading some games Reply #8 – June 15, 2009, 08:17:19 pm 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 64Message: grund_besch_t::register_besch(): setting raster width to 64Message: register_besch(): Notice: obj Outside already definedMessage: register_besch(): Notice: obj BigLogo already definedWarning: karte_t::create_rivers(): Too many rivers requested! (16 not constructed)Warning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedWarning: void release_focus(): Focus was already releasedFATAL ERROR: planquadrat_t::rdwr()Error while loading game: Unknown ground type '-1'Aborting program execution ...Please report all fatal errors toteam@64.simutrans.com Quote Selected
Re: Simutrans crashes loading some games Reply #9 – June 15, 2009, 08:54:03 pm Not sure, I get the correct error and the debugger is where is belongs. Quote Selected
Re: Simutrans crashes loading some games Reply #10 – June 17, 2009, 12:39:13 pm OT:No Problem for the nightly make a bigger debuglevel, because nightlys ar for bughuntingWich do you want?-debug 3 or even 4 ? Quote Selected
Re: Simutrans crashes loading some games Reply #11 – June 17, 2009, 12:53:41 pm 3 should be fine. Quote Selected
Re: Simutrans crashes loading some games Reply #12 – June 17, 2009, 01:29:30 pm Will be in the next nightly Quote Selected Last Edit: June 17, 2009, 02:17:16 pm by wernieman