FS#6032 - 1.4.1-RC2 - Assertion failed at line 225

Attached to Project: OpenTTD
Opened by Eskymak (Eskymak) - Sunday, 01 June 2014, 12:48 GMT
Type Bug
Category Core
Status New
Assigned To No-one
Operating System Windows
Severity Medium
Priority Normal
Reported Version other
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I was trying to open my old savegame and got this strange error. In stable 1.4.0 I got "just" disconnecting train error, but in lates 1.4.1-RC2 error is different.

Crash at: Sun Jun 01 12:39:03 2014
In game date: 2318-03-01 (46)

Crash reason:
Exception: E1212012
Location: 000007FEFD90940D
Message: Assertion failed at line 225 of c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\ground_vehicle.hpp: this->z_pos == GetSlopePixelZ(this->x_pos, this->y_pos)

OpenTTD version:
Version: 1.4.1-RC2 (0)
NewGRF ver: 141067e8
Bits: 64
Endian: little
Dedicated: no
Build date: May 18 2014 18:52:56

This task depends upon

Comment by Remko Bijker (Rubidium) - Sunday, 27 July 2014, 14:56 GMT
In stable releases we disable the assertion checks, so it's probably the same issue for both.

When I open the savegame in 0.6.3, let it run for a bit, save it and then open it in 1.4 it seems to work just fine. As a result I'm wondering how/why this particular savegame is deemed to be broken by 1.4.
Comment by Peter Nelson (peter1138) - Monday, 13 March 2017, 21:13 GMT
A maglev on a bridge head at 300x485 is apparently in the wrong place vertically.