not sure that it was station - my bad. So there is concrete actionlist: 1)make a locomotive 2) add any signal sender - empty is enough 3) add vagon or locomotive 4) now try to open this locomotive gui
some clues 1)if add wagon and delete - opening gui fails, 2) if add another locomotive and delete any locomotive - opening gui fails, 3) if copy "corrupted" locomotive to another and try to open it gui - it fails,