News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

[r9590] Crash when reverting schedule

Started by ceeac, January 28, 2021, 06:14:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

Steps to reproduce:

  • Load the attached save
  • Open the schedule tab of the train leaving the depot
  • Select a different waypoint
  • Revert the schedule
Backtrace:

#0  0x00000000005347d4 in convoi_info_t::draw (this=0x2f5cf90, pos=..., size=...) at gui/convoi_info_t.cc:464
#1  0x00000000005ed0c0 in display_win (win=0) at gui/simwin.cc:1055
#2  0x00000000005ec955 in display_all_win () at gui/simwin.cc:1088
#3  0x00000000005efe94 in win_display_flush (konto=190700.66) at gui/simwin.cc:1685
#4  0x00000000007bbb13 in intr_refresh_display (dirty=false) at simintr.cc:83
#5  0x000000000082c426 in karte_t::sync_step (this=0x2f474c0, delta_t=16, do_sync_step=true, display=true) at simworld.cc:3690
#6  0x000000000083d360 in karte_t::interactive (this=0x2f474c0, quit_month=2147483647) at simworld.cc:7318
#7  0x00000000007c7aa2 in simu_main (argc=9, argv=0x7fffffffdcf8) at simmain.cc:1520
#8  0x00000000008871ef in sysmain (argc=9, argv=0x7fffffffdcf8) at sys/simsys.cc:1126
#9  0x00000000008b3bb2 in main (argc=9, argv=0x7fffffffdcf8) at sys/simsys_s2.cc:828


prissi

That crash was just the symptom for a totally bugged line handling. r9591 fixes this and prevent also multiple generation of the same line.