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

crash in follow_track.hpp #5518

Closed
DorpsGek opened this issue Apr 1, 2013 · 4 comments
Closed

crash in follow_track.hpp #5518

DorpsGek opened this issue Apr 1, 2013 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Apr 1, 2013

planetmaker opened the ticket and wrote:

Assertion failed at line 125 of /home/openttd/svn-publicserver/src/pathfinder/npf/../follow_track.hpp: ((TrackStatusToTrackdirBits(GetTileTrackStatus(m_old_tile, TT(), IsRoadTT() && m_veh != NULL ? RoadVehicle::From(m_veh)->compatible_roadtypes : 0)) & TrackdirToTrackdirBits(m_old_td)) != 0) || (IsTram() && GetSingleTramBit(m_old_tile) != INVALID_DIAGDIR)

Happening on Publicserver r25130 with attached savegame. The autosave is from slightly before that crash.

Attachments

Reported version: trunk
Operating system: All


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

DorpsGek commented Apr 1, 2013

Transportman wrote:

That should be fixed in r25132, see also # 5516 and # 5510.

That said, I also still encounter the bug with the latest nightly in my own game (also in this game) when trying to remove stations, but that is a game in which the warranty has been voided (and I miss some NewGRFs from your game).

For the dev that is going to work on this ticket: In the saves in this bug it happens when trying to remove the station near Slundworth/Senfingfield Valley.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5518#comment12135

@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 1, 2013

Rubidium wrote:

This is a bit cause-and-effect-ish.

The crash of #5510, #5516 and #5518 is caused by a stray reservation. This stray reservation is solved by r25132. The crash (or rather assertion) because of the stray reservation is not resolved since that won't trigger unless there is a stray reservation, which is the real bug. As such, savegames that are already affected by the bug, thus having stray reservations, will still remain to crash.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5518#comment12136

@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 1, 2013

Rubidium closed the ticket.

Reason for closing: Duplicate

Of #5510/#5516


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

@DorpsGek DorpsGek closed this as completed Apr 1, 2013
@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 2, 2013

Transportman wrote:

Is it possible to somehow remove the stray reservation or is it unfixable and players should just leave the tile involved?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5518#comment12137

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

No branches or pull requests

1 participant