The International Simutrans Forum

 

Author Topic: [Bug] Crash from commit number e5a4abc37181a4bf4883951c3a108528869a7459  (Read 357 times)

0 Members and 1 Guest are viewing this topic.

Offline anoKTOK

  • *
  • Posts: 4
  • Languages: JP
I report a bug.
I do not know which type of bug.

Environment of Computer
Windows 10 1903
Bash 4.4.20(1)-release (x86_64-pc-linux-gnu)
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0


Environment of simutrans-extended
version    e14.5
pakset original size 457MB
save date    size 24.3MB
map size 5344*6990


With this pack set and this save date,
I test the following version.

commit number                                                         TIME GTM+9        Status
bd1ed1dfe6a6834f81376746450bdbbcdba64a78    2019/06/25-00:05    Stable
04c89e975be08471399097b37454bb3dd349d85f   2019/06/25-00:12    Stable
e5a4abc37181a4bf4883951c3a108528869a7459    2019/06/30-19:48    I cannot compile
17a352512d9344066bb8cbf19a8f18819b039c6d     2019/07/01-20:54    I cannot compile
97814adfdc9bc8d0860ce739cb71712192386b2b    2019/07/02-20:21    I cannot compile
fe8aab9238df6a4d99e905f544a77f3e953d7474      2019/07/03-21:09    I cannot compile
34756c20c58463d3a2438aaa0c72c66b0c6a3594   2019/07/08-22:03    I cannot compile
fa505eae4092704381022a214a9bf49271355dd3    2019/07/08-22:04    I can compile sim, however a Fatal Error happend as follows:

FAITAL ERROR: array_tpl<T>::[] -index out of bounds:255 not in 0,,7, T=P9vehicle_t
Abourting program execution...

All version which inherit the commit number "fa505eae4092704381022a214a9bf49271355dd3"
seem to have this error. The latest version, which commit number is "9c14c7d8034ac02271791d14837a6671836e141a", also have this error.
All versions which I compiled have it.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for your report. Are you able to upload a saved game in which this issue can reliably be reproduced?

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for sending me via PM the link to the reproduction case. I have now been able to find and fix this: I should be grateful if you could re-test with the next nightly build.

Offline anoKTOK

  • *
  • Posts: 4
  • Languages: JP
Thank you very much for fixing the bug!
I do with the latest version for 6h as simutrans times, and I have not seen the bug.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 20207
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Splendid, thank you for confirming.

Offline Ranran

  • Devotee
  • *
  • Posts: 1160
  • Languages: ja
Apology for my logic mistake and thank you very much for fixing it!  :hat: