The International Simutrans Forum

Development => Bug Reports => Topic started by: An_dz on June 05, 2014, 04:40:45 PM

Title: [RC 120.0] Crash on setting minimum stop load
Post by: An_dz on June 05, 2014, 04:40:45 PM
User Fiuza at the Portuguese forum reported a bug when trying to set the minimum load:

When clicking the back arrow to go from 0 to 100 Simutrans crashes with error:
FATAL ERROR: minivec_tpl<T>::[] - index out of bounds: 1 not in 0..0

Doesn't always happens and it only happens with trucks. Has it in 112.3 as well.
Title: Re: [RC 120.0] Crash on setting minimum stop load
Post by: Ters on June 05, 2014, 05:52:57 PM
Strange. I've done that a lot and never had a crash. And why would it only affect road vehicles? The code for schedules should be the same for all.
Title: Re: [RC 120.0] Crash on setting minimum stop load
Post by: Combuijs on June 05, 2014, 07:00:19 PM
Nope, never crashed on me too in both 112.3 and 120.0. Not for road vehicles either.
Title: Re: [RC 120.0] Crash on setting minimum stop load
Post by: Ters on June 05, 2014, 07:44:43 PM
I think a full stacktrace is needed on this one. Have you been able to reproduce it, An_dz?
Title: Re: [RC 120.0] Crash on setting minimum stop load
Post by: An_dz on June 05, 2014, 08:51:21 PM
No. But I can ask him.