News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Crash with new line

Started by michal., March 13, 2024, 06:46:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michal.

Hi,

The following error is thrown when creating a new line with the current nightly:

1) create a new map, or load an existing one
2) click on line management
3) click new line button
4) error: minivec_tpl<T>::[] - index out of bounds: 0 not in 0..-1

Ranran

Thank you for your report.
It occurs since a fix a few days ago.
It will be fixed in pull request #644.

tplanner

Hi - I have the same message when trying to start a new line.  Downloaded last build and still happens.  Can anyone confirm if this issue has already been fixed and so my error is new please?  Thanks in advance. 

Ranran

Fixes for this issue have not been merged due to James' absence.

tplanner

Many thanks for the update and for all your hard work.

deMangler

I found this thread while wanting to report:
FATAL ERROR: minivec_tpl<T>::[] - index out of bounds: 0 not in 0..-1
Aborting program execution ...

When clicking schedule this happens.
until it is fixed, where can I find the most recent working version?
Thanks.

Ranran

https://github.com/Ranran-the-JuicyPork/simutrans-ex-fix/actions/runs/8376773224
You can download the build that matches you from the bottom right of this page.
EDIT:It seems that you need to register and log in to a github account to download the executable file.

If the crash cannot be reproduced using this build, it means the bug fix will be successful.

deMangler

Quote from: Ranran(retired) on March 21, 2024, 03:19:09 PMhttps://github.com/Ranran-the-JuicyPork/simutrans-ex-fix/actions/runs/8376773224
You can download the build that matches you from the bottom right of this page.
EDIT:It seems that you need to register and log in to a github account to download the executable file.

If the crash cannot be reproduced using this build, it means the bug fix will be successful.
That fixed it !
:)

jamespetts

Thank you very much for the report and the fix. Apologies for not having had a chance hitherto, but I have now merged this. This should now work correctly in to-morrow's nightly build.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.