Page 1 of 1

Large Train Stations/Trains makes OpenTTD crash?

Posted: 23 Feb 2007 16:57
by Jigsaw_Psyche
Hello everyone,

I am rather new to forums and to OpenTTD (although I played TTD a lot) so I am sorry if this has been brought up before (I am not good at searching yet my apologies).


I seem to be having a problem with OpenTTD. Whenever I create a station thats bigger then, say, 20 tiles (length) and put a train on it with a lot of cars and set it going, the game quits on me!

It doesn't do it with smaller (lenghtwise) stations or cars. ie. I can have a BIG station (up to 64 tiles long) with small trains and it doesn't crash on me.


Sorry if I'm explaining this wrong.

Here's the error I get:

Code: Select all

~/games/openttd-0.5.0-RC5-source> ./openttd -d

openttd: yapf/yapf_destrail.hpp:143: bool CYapfDestinationTileOrStationRailT<Types>::PfCalcEstimate(typename Types::NodeList::Titem&) [with Types = CYapfRail_TypesT<CYapfRail2, CFollowTrackT<TRANSPORT_RAIL, true>, CNodeList_HashTableT<CYapfRailNodeT<CYapfNodeKeyExitDir>, 10, 12>, CYapfDestinationTileOrStationRailT, CYapfFollowRailT>]: Assertion `n.m_estimate >= n.m_parent->m_estimate' failed.


I'm using Open TTD 0.5.0 on Suse 10.1 and I compiled the source code.

I have a PIV, 3.06 GhZ, 1 Gb RAM.


I dunno what other information you need, so have a look at the save game (I can hopefully attatch). I just set up a cheat game (lots of money, skip years etc..) so I could set up a 35X3 track with trains. All you have to do it wait.

Thanks for reading everyone; please advise me if this has been posted.

-Jigsaw_Psyche


PS: I don't normally do the 'cheats' menu thing; it crashes without using it too.

Posted: 23 Feb 2007 21:04
by KUDr
thanks for the report. It is really new bug. It is related to station with 30 and more tiles length. I will look at it

edit:
done: r8869 /trunk/src/yapf/ (6 files) (2007-02-24 00:17:46 UTC) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)

Posted: 24 Feb 2007 01:59
by Jigsaw_Psyche
KUDr wrote:thanks for the report. It is really new bug. It is related to station with 30 and more tiles length. I will look at it

edit:
done: r8869 /trunk/src/yapf/ (6 files) (2007-02-24 00:17:46 UTC) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash (Jigsaw_Psyche)


Wow thanks so much for the quick reply (and fix!) I really appreciate it!

And although everyone probably says this (heh) thank you to everyone who has the expertise to work on this; its such a great game!!!! *grin*

-Jigsaw_Psyche