FS#55 - Assertion on TrainController (train_cmd.c:2840)

Attached to Project: OpenTTD
Opened by Remko Bijker (Rubidium) - Friday, 17 February 2006, 18:50 GMT
Last edited by Celestar (Celestar) - Friday, 28 April 2006, 09:36 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Critical
Priority High
Reported Version trunk
Due in Version 0.4.8
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The attached savefile generates the following assertion (after 2 game days):

openttd: train_cmd.c:2840: TrainController: Assertion `chosen_track==1 || chosen_track==2 || chosen_track==4 || chosen_track==8 || chosen_track==16 || chosen_track==32' failed.
This task depends upon

Closed by  Darkvater (Darkvater)
Tuesday, 02 May 2006, 15:12 GMT
Reason for closing:  Won't fix
Additional comments about closing:  I am closing this bug as it is unreproducable. Probably in some revision the AI removed the bridge and wrong owner was there. Please reopen if this bug ever resurfaces again and if possible please try to remember which revision you started the game with and what updates it wen through.
Comment by Celestar (Celestar) - Wednesday, 05 April 2006, 10:31 GMT
Here is a game that isolates the problem
Comment by Celestar (Celestar) - Thursday, 06 April 2006, 05:02 GMT
as KUDr found out, we have a problem with owners. at the time in question, the owner is wrong, that's why the train disconnects. Seems the AI removed the bridge, and the track below it swapped owners.