OpenTTD

Tasklist

FS#3046 - Assertion failed at ..\src\economy.cpp:1540: front_v->cargo_payment == NULL

Attached to Project: OpenTTD
Opened by zzccx (zzccx) - Tuesday, 21 July 2009, 07:50 GMT
Last edited by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 18:56 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 0.7.2-RC1
Due in Version 0.7.2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Check the savegame, game will crash within about 20 seconds.
------------------------------------------------------------

Date: 2009-07-21 11:22:13
Build: 0.7.2-RC1 (0) built on Jul 15 2009 20:57:25
Reason: Assertion failed at ..\src\economy.cpp:1540: front_v->cargo_payment == NULL
Language: russian.lng
Exception C0000005 at 0040D65D
Registers:
EAX: 04A7DAE0 EBX: 00000000 ECX: 0012F8D8 EDX: 04A7DB2C
ESI: 048797DC EDI: 04686A08 EBP: 0066B314 ESP: 0012FAF0
EIP: 0040D65D EFLAGS: 00210206

Bytes at CS:EIP:
88 1D 00 00 00 00 B9 14 87 66 00 E8 46 0F 00 00 3B C3 74 22 C7 00 64 C0
This task depends upon

Closed by  Remko Bijker (Rubidium)
Tuesday, 21 July 2009, 18:56 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Of  FS#3032  and fixed in 0.7.2-RC2.
Comment by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 10:01 GMT
Do you have a savegame from two months earlier? I want to figure out how the road vehicle got in this 'corrupted' state.

Did you do anything special with a road vehicle about two months before this savegame?
Comment by zzccx (zzccx) - Tuesday, 21 July 2009, 12:34 GMT
@Rubidium
No, I didn't do anything very special, I just clone vehicles.

I've attach last savegame I found.
Comment by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 13:02 GMT
Too bad; that savegame doesn't contain any road vehicles of 'you' yet; it's almost 5.5 years from before your save. Guess that's going to be guessing what could be wrong.
Comment by zzccx (zzccx) - Tuesday, 21 July 2009, 16:16 GMT
Wait, I was wrong. autosave15 isn't the last.
Here are two closest saves.
Comment by zzccx (zzccx) - Tuesday, 21 July 2009, 16:23 GMT
"jul" also crashes. Don't know about "jan".

I also have earlier.
Comment by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 16:39 GMT
Hmm... this bug ( FS#3032 ) was already fixed in trunk, but the fix wasn't backported to 0.7(.2-RC1). So now it's in the queue for 0.7.2-RC2.

I can fix the savegame if you want to, but you'd have to wait till 0.7.2-RC2 before continueing with it otherwise you might end up with the same error.
Comment by zzccx (zzccx) - Tuesday, 21 July 2009, 17:44 GMT
It would be nice if you could fix the savegame.
IDK about trunk, I've played on r16889 that is last nightly build, and it crashes.
Comment by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 17:52 GMT
The savegame is 'corrupted', thus loading it in any version crashes.
Comment by Remko Bijker (Rubidium) - Tuesday, 21 July 2009, 18:55 GMT
Attached is the fixed savegame. Please use in 0.7.2-RC2 or later (0.7.2-RC2's binaries should be released in about 35 minutes)

Loading...