The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: Vladki on January 05, 2017, 10:11:15 PM

Title: 7koord3d:index out of bounds:
Post by: Vladki on January 05, 2017, 10:11:15 PM
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.
Title: Re: 7koord3d:index out of bounds:
Post by: jamespetts on January 09, 2017, 01:53:36 PM
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.
Title: Re: 7koord3d:index out of bounds:
Post by: Vladki on January 09, 2017, 04:20:12 PM
Sorry I have accidentaly overwritten this with save for one train staff debugging
Title: Re: 7koord3d:index out of bounds:
Post by: jamespetts on January 09, 2017, 04:25:52 PM
Ahh, I see. Please let me know if you are able to reproduce this error again.
Title: Re: 7koord3d:index out of bounds:
Post by: Vladki on January 10, 2017, 12:01:25 AM
I was not able to reproduce this bug