Steps to reproduce:
- Build a piece of rail track
- Switch to public player
- Build a signal
- Wait for the other player to go bankrupt. The rail track gets removed, but the signal remains (although it is invisible)
- Try to remove the signal
The attached patch fixes the crash, however IMO the saner solution would be to either remove objects and convois of other players when a way gets removed, or to make all ways of a player public if the player is removed.
I think building a signal as public player should also make the associated way public ...
Your fix is in at r10059 Thank you