FS#1512 - Game halts and 100% CPU usage when reversing a multiheaded train

Attached to Project: OpenTTD
Opened by maartena (maartena) - Tuesday, 04 December 2007, 07:39 GMT
Last edited by Loïc GUILLOUX (glx) - Tuesday, 04 December 2007, 13:38 GMT
Type Bug
Category Vehicles
Status Closed
Assigned To No-one
Operating System All
Severity Critical
Priority Normal
Reported Version 0.6.0-beta1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It is possible to "halt" the game (it will not actually crash but go to 100% CPU usage, other servers on the same CPU are also affected and become VERY slow) by buying a depot, buying a multiheaded train, and then reverse the engines by dragging the back engine to the front in the depot. As soon as you do that, the game stops respoding.

On the client side, one can exit normally and go to a different server if needed. On the server side, the server process needs to be killed. There is no crash.log or crash.dmp generated, and a screenshot does not show anything but the obvious: a dual-headed train in a depot.
This task depends upon

Closed by  Loïc GUILLOUX (glx)
Tuesday, 04 December 2007, 15:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r11567.