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

NOT_REACHED triggered at line 1516 of ..\src\vehicle_gui.cpp #5800

Closed
DorpsGek opened this issue Nov 7, 2013 · 3 comments
Closed

NOT_REACHED triggered at line 1516 of ..\src\vehicle_gui.cpp #5800

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Nov 7, 2013

Ixitxacoatl opened the ticket and wrote:

Hello,

First time posting here but I have been enjoying OpenTTD for quite some time. I have not been able to find another bug report capturing something similar to the issue I am experiencing.

*****
EDIT: Okay, so I wrote the following explanation of everything with the intent to attach all relevant files. However, when I went to upload it, I saw that there is an 8Mb limit on files attached, and the saved game is almost 10Mb (I like really big maps :)). How do I post large saved game files? This post is rather useless without it.
*****

First, game details:

I have been playing on the 1.3.2 stable release for this saved game exclusively (meaning not upgraded from a previous release) for approximately 170 years (game time lol). I've had no problems and it's been stable (as advertised). I used the windows installer and installed only the graphics/sound/music packs that it recommends during the installation. I downloaded and installed a few AI addons from the Check Online Content button in-game, but other than that, no modifications. I don't have any NewGFX installed and haven't done anything with them - in fact, I'm not even sure what they are yet. ;)

In the attached saved game, I have been able to reproduce the problem with the following steps every time - in fact, I can't figure out a way around it to NOT reproduce it.

Steps to reproduce:

  1. Load saved game (although I bet you guessed that).
  2. Open train depot "Wronham Train Depot" at coordinates 1009x69x2 (west-central side of the map) - there is already one train built inside.
  • This train's orders, it says to go to the train station immediately beside it, then to the one in the far southwest corner of the map, then return to the close one after possibly maintaining at a depot (decision based on age).
  1. In the depot, click "Clone Train" and then CTRL-click the train in the depot already, in order to create a copy of it and share the orders.
  2. From the orders popup for either train (the existing one or the newly created clone), click on the "Shared Orders" button in the bottom right of the window, which SHOULD bring up the shared orders window for the two trains.
  3. Voila. Error appears.

After being unable to get around this issue on 1.3.2, I checked for a newer stable release and was not able to find one. Next, I downloaded the nightly version which is currently r25944 to see if the issue was resolved there, but the same procedure resulted in the same crash. In fact, the crash files attached to this post are from the r25944 build (which it shows in the crash.log but I'm just trying to include all the info I can here too).

Next I downloaded the source since I was curious what was going on at vehicle_gui.cpp:1516. It seems to be checking the vehicle's length and concluding that the length is 0 - however as you look in the depot, it's clearly not 0 so this didn't get me very far. And honestly, I don't know anything about the OpenTTD source code anyways.

So, at this point, this is about all I know. If there's anything else I can add or let you know, please don't hesitate to ask.

Thanks,

Ixit

Attachments

Reported version: trunk
Operating system: Windows


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

DorpsGek commented Nov 9, 2013

Rubidium wrote:

You could put such large files on something like http://www.speedyshare.com/

I'll try to contact the website maintainer whether the file size limit can reasonably be increased, but I'm not sure whether that can be done so uploading it to a upload site such as the one I mentioned above seems the quickest way for now.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5800#comment12736

@DorpsGek
Copy link
Member Author

Ixitxacoatl wrote:

Okay, I've uploaded it to speedyshare at:

http://speedy.sh/Vppew/Sarhill-City-Transport-2100-06-01.sav

If it doesn't work, please let me know. Thanks.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5800#comment12740

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r25965


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

@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