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 on bridge deletion at r19410 #3696

Closed
DorpsGek opened this issue Mar 15, 2010 · 5 comments
Closed

Crash on bridge deletion at r19410 #3696

DorpsGek opened this issue Mar 15, 2010 · 5 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

fumantsu opened the ticket and wrote:

This happens when a tram has stuck trying to cross a bridge that is not for tram and I was trying to delete this bridge with the "bomb".

Trunk version r19410

Attachments

Reported version: trunk
Operating system: All


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

Rubidium wrote:

Can you attach the crash savegame and the last (auto)save?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3696#comment7732

@DorpsGek
Copy link
Member Author

fumantsu wrote:

Here is a savegame. It little after I build the tram system in Great Lweisstone, St. Grimshaw Springs,Wreedwich triangle. The issue has been occured on Wreedwich bridge 732x229x0 coordinates. It doesn't have any tram on the road because after the bug I didn't recreate the tram and I left the tram idea. Just do the triangle between these 3 cities.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3696#comment7733

@DorpsGek
Copy link
Member Author

fumantsu wrote:

xmm... I see that the problem is inrelative with the tram build. If you try to destroy that bridge which belong to the city you can reproduce the crash. The issue also happens with the r19428 build.

edit: any bridge in that city that belongs to the city and not to some company


This comment was imported from FlySpray: https://bugs.openttd.org/task/3696#comment7734

@DorpsGek
Copy link
Member Author

Yexo wrote:

Problem is in ErrmsgWindow. It shows STR_ERROR_OWNED_BY with the town as parameter, but because town->index <= MAX_COMPANIES the version with face is shown. OnPaint crashes trying to get the company with the same index as that townindex.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3696#comment7735

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Fixed

In r19432


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

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

No branches or pull requests

1 participant