The International Simutrans Forum

 

Author Topic: Index out of bounds when deleting tracks  (Read 184 times)

0 Members and 1 Guest are viewing this topic.

Offline freddyhayward

  • Devotee
  • *
  • Posts: 594
  • Languages: EN
Index out of bounds when deleting tracks
« on: December 29, 2020, 07:08:19 AM »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20648
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Index out of bounds when deleting tracks
« Reply #1 on: December 29, 2020, 11:05:11 AM »
Thank you for the report. Is that a specific place on the Bridgewater-Brunel server game? Do I infer correctly that the highlighted tile is the one that you had attempted to delete? I should note that it will be some time before I am able to attend to bug reports, and may well not be able to reproduce this if the server game has changed state since this report.

Offline freddyhayward

  • Devotee
  • *
  • Posts: 594
  • Languages: EN
Re: Index out of bounds when deleting tracks
« Reply #2 on: December 29, 2020, 11:50:50 AM »
Thank you for the report. Is that a specific place on the Bridgewater-Brunel server game? Do I infer correctly that the highlighted tile is the one that you had attempted to delete? I should note that it will be some time before I am able to attend to bug reports, and may well not be able to reproduce this if the server game has changed state since this report.
Yes, that is a specific place, and I will leave the old stop there so that it can be found on the halt list. I tried to delete all tiles from the end of the line up until that tile.

Offline Matthew

  • *
  • Posts: 511
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Re: Index out of bounds when deleting tracks
« Reply #3 on: December 29, 2020, 12:49:22 PM »
I also had a crash and very similar error message when deleting a station extension building today:

Code: [Select]
FATAL ERROR: vector_tpl<T>::[] - s: index out of bounds: 1 not in 0..0
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
http://forum.simutrans.com

I am trying to get core dumps working on Linux, which might then permit a fuller backtrace.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20648
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Index out of bounds when deleting tracks
« Reply #4 on: December 29, 2020, 01:01:10 PM »
I also had a crash and very similar error message when deleting a station extension building today:

Code: [Select]
FATAL ERROR: vector_tpl<T>::[] - s: index out of bounds: 1 not in 0..0
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
http://forum.simutrans.com

I am trying to get core dumps working on Linux, which might then permit a fuller backtrace.

Thank you. The most helpful thing by far would be a reproduction case - crashes are relatively easy to track down with a reproduction case.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20648
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Index out of bounds when deleting tracks
« Reply #5 on: January 12, 2021, 01:14:18 AM »
Looking at this again, I am afraid that I am not able to find this location in my save from May 1981. Can you give me the co-ordinates?