The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Bernd Gabriel on November 02, 2008, 07:36:09 PM

Title: r2085: assertion fails after removing a station
Post by: Bernd Gabriel 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.
Title: Re: r2085: assertion fails after removing a station
Post by: prissi on November 02, 2008, 08:16:28 PM
Next nightly should fix this.
Title: Re: r2085: assertion fails after removing a station
Post by: Bernd Gabriel 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
Title: Re: r2085: assertion fails after removing a station
Post by: prissi 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 ...