Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yapf crashes openttd #191

Closed
DorpsGek opened this issue May 28, 2006 · 2 comments
Closed

yapf crashes openttd #191

DorpsGek opened this issue May 28, 2006 · 2 comments
Labels
component: pathfinder This issue is related to Pathfinder flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Anonymous opened the ticket and wrote:

after opening a save-game openttd crashed after about 15 seconds.

[sander@sander OTTD-source-nightly-r4994]$ ./openttd
openttd: yapf/follow_track.hpp:46: bool CFollowTrackT<Ttr_type_, T90deg_turns_allowed_>::Follow(TileIndex, Trackdir) [with TransportTypes Ttr_type_ = TRANSPORT_ROAD, bool T90deg_turns_allowed_ = true]: Assertion `(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0' failed.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/191
@DorpsGek
Copy link
Member Author

KUDr wrote:

Where is that savegame?


This comment was imported from FlySpray: https://bugs.openttd.org/task/191#comment301

@DorpsGek
Copy link
Member Author

KUDr closed the ticket.

Reason for closing: Fixed

r5013:
/trunk/yapf/follow_track.hpp:
-Fix: [YAPF] RVs trying to plan route through railway.
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0")
Thanks Celestar for the reproducible case.


This comment was imported from FlySpray: https://bugs.openttd.org/task/191

@DorpsGek DorpsGek added component: pathfinder This issue is related to Pathfinder flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pathfinder This issue is related to Pathfinder flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant