OpenTTD

Tasklist

FS#5820 - Openttd crash on airplane crash

Attached to Project: OpenTTD
Opened by Jan Skoch (The_Dude) - Thursday, 28 November 2013, 18:07 GMT
Last edited by Remko Bijker (Rubidium) - Thursday, 28 November 2013, 19:37 GMT
Type Bug
Category Vehicles
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 1.3.3-RC2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There is a bug which causes crash when an airplane crashes.

It is harder to make it, but it can crash some games, in multiplayer too.

Technique:

build airport at the map corner and join it with rail station (from some reason it doesnt happen with other station, at least from my few tries).

Make this airport as order for planes which will start from another plane, or with new close airport features, they may also start from the same airport.

Wait until all planes are sky high and rotating around the corner airport. Now remove the airport part and leave only the rail station, then remove that one too.

Planes will fly for a while, until they cant find an airport of course and they will run out of fuel. Because they were circling near the edge of map (this condition is essential), the game will crash. Happens in 1.3 and trunk. Seems the plane or its shadow is not on valid tile and some check is missing there.

In included zip are two savegames, crashlog (not much there, but I remember the problem was maybe with GetSlopePixelZ) and some screenshot.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Thursday, 28 November 2013, 19:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r26134
Comment by Remko Bijker (Rubidium) - Friday, 29 November 2013, 08:45 GMT
See http://security.openttd.org/en/CVE-2013-6411 for more information and patches for different older versions of OpenTTD.

Loading...