The International Simutrans Forum

 

Author Topic: r2085: assertion fails after removing a station  (Read 1984 times)

0 Members and 1 Guest are viewing this topic.

Offline Bernd Gabriel

  • *
  • Posts: 230
  • Addicted to Simutrans: since 2003
    • Fast Function Factory
  • Languages: DE, EN, C++
r2085: assertion fails after removing a station
« on: November 02, 2008, 07:36:09 PM »
assertion at line 1173 in vehicle/simvehikel.cc fails.

Steps to reproduce:
1) build 3 stations
2) connect them with a convoy
3) at 1st station convoy loads freight for 2nd station
4) remove 2nd station before convoy arrives
5) when convoy arrives at 3rd station, assertion fails, because ware.gib_zwischenziel().is_bound().

Attached savegame (pak64) is saved between steps 3 and 4.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10681
  • Languages: De,EN,JP
Re: r2085: assertion fails after removing a station
« Reply #1 on: November 02, 2008, 08:16:28 PM »
Next nightly should fix this.

Offline Bernd Gabriel

  • *
  • Posts: 230
  • Addicted to Simutrans: since 2003
    • Fast Function Factory
  • Languages: DE, EN, C++
Re: r2085: assertion fails after removing a station
« Reply #2 on: November 02, 2008, 08:30:40 PM »
Wow, fixed after 40 minutes!

:award: for the "Quickest fix as far as I remember"  ;D

THX

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10681
  • Languages: De,EN,JP
Re: r2085: assertion fails after removing a station
« Reply #3 on: November 02, 2008, 09:04:15 PM »
Aparently I just started debugg after posting. This is rather by coincidence, since I usually do not have time to program after 20-21h in the evening ...