OpenTTD

Tasklist

FS#121 - Crash with oldloader

Attached to Project: OpenTTD
Opened by pitt2 (pitt2) - Sunday, 16 April 2006, 14:50 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When attempting to load the attatched savegame from the original TTD, I get a segfault with the following backtrace, from a debug build of 4448 on cygwin:

(gdb) bt
#0 0x0044ea61 in LoadOldStation (ls=0x22ec10, num=0) at pool.h:51
#1 0x0044daa7 in LoadChunk (ls=0x22ec10, base=0x0, chunks=0x5124c0)
at oldloader.c:183
#2 0x0044f702 in LoadOldMain (ls=0x22ec10) at oldloader.c:1544
#3 0x0044f93c in LoadOldSaveGame (
file=0x5abe14 "C:Documents and SettingspatrickDesktoptrt00.sv1")
at oldloader.c:1609
#4 0x00479cdf in SaveOrLoad (
filename=0x5abe14 "C:Documents and SettingspatrickDesktoptrt00.sv1", mode=2) at saveload.c:1480
#5 0x004507aa in SafeSaveOrLoad (
filename=0x5abe14 "C:Documents and SettingspatrickDesktoptrt00.sv1", mode=2, newgm=1) at openttd.c:677
#6 0x004508ff in SwitchMode (new_mode=3) at openttd.c:749
#7 0x00450e99 in GameLoop () at openttd.c:947
#8 0x004e1b7e in Win32GdiMainLoop () at video/win32_v.c:813
#9 0x0045036a in ttd_main (argc=1, argv=0x22fdf0) at openttd.c:484
#10 0x004df8c1 in WinMain (hInstance=0x400000, hPrevInstance=0x0,
lpCmdLine=0x241f0e "", nCmdShow=10) at win32.c:1148
#11 0x004e98da in main ()



The savegame loads fine in TTD, so it's not corrupt or anything.
This task depends upon

Closed by  Darkvater (Darkvater)
Tuesday, 25 April 2006, 20:36 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Closing bug as savegame is broken, please reopen if you experience this with a valid savegame.
Comment by pitt2 (pitt2) - Sunday, 16 April 2006, 14:51 GMT
Yes, I realise that the backtrace is actually useless, since anyone wanting to investigate this would need to redo it anyway. I just felt like the post needed more text in it.
Comment by Darkvater (Darkvater) - Saturday, 22 April 2006, 10:38 GMT
Is it just me but the savegame doesn't show up in the list when I want to load it from TTDPatch.

I also tried the savegame examiner tool, and that crashes when trying to preview the map (http://www.jiifurusu.dk/ttdsge/), so I conclude that the savegame is broken and OpenTTD is not buggy in that area.

Loading...