News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

7koord3d:index out of bounds:

Started by Vladki, January 05, 2017, 10:11:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vladki

I have noticed that the pak.british server crashed with:
FATAL ERROR: vector_tpl<T>::[] - 7koord3d: index out of bounds: 5 not in 0..4

And probably found the cause. Load this: http://server.exp.simutrans.com/debug-saves/server13353-network.sve
quickly pause, and find the train (47) Midland 130... It is approaching a train staff box, and the game will crash when it attempts to reserve beyond the staff box. If it is run on server - both client and server crash with the same error.

I admit the track layout is weird - perhaps Ves was trying something. I'm going to fix the server game so that it does not crash any more.

jamespetts

Are you sure that you have the correct saved game here? When I load this, convoy no. 47 is stuck as it appears to have collided head-on with no. 50. No crash occurs.
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.

Vladki

Sorry I have accidentaly overwritten this with save for one train staff debugging

jamespetts

Ahh, I see. Please let me know if you are able to reproduce this error again.
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.

Vladki

I was not able to reproduce this bug