OpenTTD

Tasklist

FS#6197 - Crash: loading savegame

Attached to Project: OpenTTD
Opened by KTG (KTG) - Tuesday, 30 December 2014, 01:17 GMT
Last edited by andythenorth (andythenorth) - Tuesday, 22 August 2017, 06:32 GMT
Type Bug
Category Vehicles → Cargodist
Status Confirmed
Assigned To andythenorth (andythenorth)
Operating System All
Severity Low
Priority High
Reported Version 1.5.0-beta1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hello,
Tried to load this old save game made with either 1.4.3 or 1.4.4. I've played this particular map since 2 years now (ever since I found it in very advanced state on the forums).
I would upload it, but its size is over the allowed limit. Any pointers as to how to do it differently would be welcome.
(application/octet-stream)    crash.dmp (7.23 MiB)
   crash.log (37.7 KiB)
   crash.png (662.9 KiB)
This task depends upon

Comment by KTG (KTG) - Tuesday, 30 December 2014, 01:28 GMT
Forgot to select: Version is 1.5.0-beta1. Computer is Win7 on x64.
Comment by Hans (hackalittlebit) - Tuesday, 30 December 2014, 10:06 GMT
KTG Please send savegame.
That makes it more easy to debug.

@Frosch: See FS 6196
I suspect that something with waterclass is not reset correctly when loading old savegames.
Comment by KTG (KTG) - Tuesday, 30 December 2014, 10:49 GMT
As written: "I would upload it, but its size is over the allowed limit. Any pointers as to how to do it differently would be welcome."

So, where should I send it?
Comment by Hans (hackalittlebit) - Tuesday, 30 December 2014, 13:34 GMT
Send email to Rubidium and explain for a second why.
e.g. that it belongs to 'FS#6197 - Crash upon loading save game'
From there on it will find its way.
rubidium@openttd.org
Comment by Alberth (Alberth) - Wednesday, 31 December 2014, 07:19 GMT
The general info@openttd.org address is much better than addressing an individual developer
Comment by Remko Bijker (Rubidium) - Wednesday, 31 December 2014, 18:53 GMT
  • Field changed: Category (Core → Cargodist)
  • Field changed: Reported Version (Version? → 1.5.0-beta1)
FAULTING_IP:
openttd!AfterLoadLinkGraphs+aa [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\linkgraph_sl.cpp @ 236]
00000001`3fc36b76 8b410c mov eax,dword ptr [rcx+0Ch]

EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff)
.exr 0xffffffffffffffff
ExceptionAddress: 000000013fc36b76 (openttd!AfterLoadLinkGraphs+0x00000000000000aa)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 000000000000000c
Attempt to read from address 000000000000000c

PROCESS_NAME: openttd.exe

ADDITIONAL_DEBUG_TEXT:
Use '!findthebuild' command to search for the target build information.
If the build information is available, run '!findthebuild -s ; .reload' to set symbol path and load symbols.

MODULE_NAME: openttd

FAULTING_MODULE: 0000000076e50000 ntdll

DEBUG_FLR_IMAGE_TIMESTAMP: 549b1bbe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 000000000000000c

READ_ADDRESS: 000000000000000c

FOLLOWUP_IP:
openttd!AfterLoadLinkGraphs+aa [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\linkgraph_sl.cpp @ 236]
00000001`3fc36b76 8b410c mov eax,dword ptr [rcx+0Ch]

MOD_LIST: <ANALYSIS/>

FAULTING_THREAD: 0000000000002724

BUGCHECK_STR: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_NULL_POINTER_READ_INVALID_POINTER_READ_WRONG_SYMBOLS

PRIMARY_PROBLEM_CLASS: NULL_CLASS_PTR_DEREFERENCE

DEFAULT_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE

LAST_CONTROL_TRANSFER: from 000000013fc3078c to 000000013fc36b76

STACK_TEXT:
00000000`001eca20 00000001`3fc3078c : 00000000`00000071 00000000`001ecab9 00000000`000000a1 00000000`00000000 : openttd!AfterLoadLinkGraphs+0xaa [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\linkgraph_sl.cpp @ 236]
00000000`001eca50 00000001`3fc4180f : 00000000`00000000 00000000`00400000 00000000`00000000 00000001`407829e0 : openttd!AfterLoadGame+0xbcc4 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\afterload.cpp @ 2988]
00000000`001ecb20 00000001`3fc4254d : 0000bc00`5854544f 00000001`4075d680 00000000`001ee4d0 00000000`00000000 : openttd!DoLoad+0x2d7 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\saveload.cpp @ 2741]
00000000`001ecba0 00000001`3fab413b : 00000000`00000001 00000004`00000000 00000000`00000000 00000001`3facfa01 : openttd!SaveOrLoad+0xce9 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\saveload\saveload.cpp @ 2838]
00000000`001ee3a0 00000001`3fab4657 : 00000000`00000004 00000000`00000000 00000000`00000000 00000000`000000c5 : openttd!SafeLoad+0x5f [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 1007]
00000000`001ee3d0 00000001`3fab5d9a : 00000000`1d025c00 00000000`002b0904 00000000`1d025c1c 00000000`001eee88 : openttd!SwitchToMode+0x4ab [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 1096]
00000000`001eee00 00000001`3fd50099 : 00000000`1d025c1c 00000000`001ef000 00000000`1d025c0c 00000000`1d025c0c : openttd!GameLoop+0x6a [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 1455]
00000000`001eef10 00000001`3fab3b1a : 00000000`00000000 00000000`001ef0a0 00000000`00000000 00000000`00000000 : openttd!VideoDriver_Win32::MainLoop+0x3c5 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\video\win32_v.cpp @ 1292]
00000000`001eefa0 00000001`3fd52751 : 00000000`00000000 00000000`001ef2d0 00000000`00000001 00000000`00000000 : openttd!openttd_main+0xeea [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\openttd.cpp @ 865]
00000000`001ef2b0 00000001`3fe3e8b4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!WinMain+0x141 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\os\windows\win32.cpp @ 457]
00000000`001ef9b0 00000000`76d459ed : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!__tmainCRTStartup+0x154 [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c @ 275]
00000000`001efa60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32+0x159ed



lg is valid pointer
node_id is 0
station_id is 982 (which resolves to an invalid pointer, i.e. station 982 does not exist).
Comment by Ingo von Borstel (planetmaker) - Monday, 05 January 2015, 00:34 GMT
Savegame: https://devs.openttd.org/~planetmaker/patches/fs6196.sav (yes, wrong savegame name due to wrong desgination in e-mail)
Comment by andythenorth (andythenorth) - Tuesday, 15 August 2017, 05:56 GMT
Reproduced - crashes for me in 1.7.1 with the savegame provided in planetmaker's comment.

Task is only assigned to me so I could mark it 'confirmed'. FS has no way for me to unassign myself. It's great eh? :)

Loading...