Epic bug. Stumbled on it trying to build a London Bridge station kind of thing! ;D This was tested with the latest nightlies of both Simutrans (r6381) and pak64.
1) Build a bridge over water (any way-type).
2) Build a station on either of the bridge's end (i.e. above the slope where the bridge connects to the land).
(http://i.imgur.com/B7NeGsd.jpg)
3) Place a dock tile on the slope under the end of the bridge - I guess that shouldn't be allowed... ;)
(http://i.imgur.com/hA6iz0N.jpg)
Now to invoke a CTD:
4) Delete the dock tile to give a wacky result:
(http://i.imgur.com/U2mcoEd.jpg)
5) Attempt to delete the "wreckage" of the bridge, get a CTD (i.e. "Simutrans has stopped working..." message).
(I tried to log the crash, but appending -log 1 didn't seem to do anything, as instructed by http://forum.simutrans.com/index.php?topic=56.0)
Thanks for the report! Log-file is not needed, as this looks like a well-reproducable crash. Of course, dock building should be forbidden there, nevertheless it should not crash as well.
Huh, this was a rather nasty loophole, which could be used to ruin your opponent's bridges. Should be fixed in r6384.
Upon save & reload of the game, deleting harbour and / or bridge should not give a crash (even in 112.1).
Thank you for this precise report.
Brilliant, thanks for the fix.