The International Simutrans Forum

 

Author Topic: [RC 120.0] Crash on setting minimum stop load  (Read 2282 times)

0 Members and 1 Guest are viewing this topic.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2908
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
[RC 120.0] Crash on setting minimum stop load
« 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.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5554
  • Languages: EN, NO
Re: [RC 120.0] Crash on setting minimum stop load
« Reply #1 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.

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1392
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: [RC 120.0] Crash on setting minimum stop load
« Reply #2 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.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5554
  • Languages: EN, NO
Re: [RC 120.0] Crash on setting minimum stop load
« Reply #3 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?

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2908
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [RC 120.0] Crash on setting minimum stop load
« Reply #4 on: June 05, 2014, 08:51:21 PM »
No. But I can ask him.