News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

rr8126 crashes when adding any car to train

Started by Fraoch, March 09, 2017, 09:29:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fraoch

Hello:

This is on rr8126 on Linux with pak128 2.6.  I first noticed this in 120.2.1 - rr8121, but I can reproduce it in rr8126.

When I go to add any car to a certain train, Simutrans crashes with the following error (from simu.log but also displayed on the screen):

FATAL ERROR: vector_tpl<T>::[] - 7koord3d: index out of bounds: 3 not in 0..2
Aborting program execution ...


Here is the saved game:

https://www.dropbox.com/s/mzrsq6d2weys5ke/Coventry2.sve?dl=0

and here is a screenshot just before this occurs.  I have added an obsolete passenger car here and modified the schedule, but this occurs with any car and not modifying the schedule as well:

https://www.dropbox.com/s/cazosq0ia763xir/simscr00.bmp?dl=0

I would have used the Simutrans File Sharing page, but for some reason that does not work for me.

Thank you!

Dwachs

Thanks for the report! I can reproduce this error. So there will be a fix soon, hopefully.
Parsley, sage, rosemary, and maggikraut.

Fraoch

Thanks!

I found a workaround, sell the train and re-create it from new.  Works fine but a bit inelegant. :)

Dwachs

Parsley, sage, rosemary, and maggikraut.

Fraoch


Dwachs

sorry, only committed some half-finished fix. r8131 should work better
Parsley, sage, rosemary, and maggikraut.