The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: michal. on March 13, 2024, 06:46:24 PM

Title: Crash with new line
Post by: michal. on March 13, 2024, 06:46:24 PM
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
Title: [PR#644] FIX: Crash when trying to create new line
Post by: RESTRICTED ACCOUNT on March 14, 2024, 09:49:22 AM
Thank you for your report.
It occurs since a fix a few days ago.
It will be fixed in pull request #644.
Title: Re: Crash with new line
Post by: tplanner on March 20, 2024, 10:28:00 AM
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. 
Title: Re: Crash with new line
Post by: RESTRICTED ACCOUNT on March 20, 2024, 12:28:10 PM
Fixes for this issue have not been merged due to James' absence.
Title: Re: Crash with new line
Post by: tplanner on March 20, 2024, 12:59:05 PM
Many thanks for the update and for all your hard work.
Title: Re: Crash with new line
Post by: deMangler on March 21, 2024, 11:12:41 AM
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.
Title: Re: Crash with new line
Post by: RESTRICTED ACCOUNT on March 21, 2024, 03:19:09 PM
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.
Title: Re: Crash with new line
Post by: deMangler on March 21, 2024, 04:49:00 PM
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 !
:)
Title: Re: Crash with new line
Post by: jamespetts on March 31, 2024, 11:51:41 AM
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.