Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with oldloader #121

Closed
DorpsGek opened this issue Apr 16, 2006 · 3 comments
Closed

Crash with oldloader #121

DorpsGek opened this issue Apr 16, 2006 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

pitt2 opened the ticket and wrote:

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.

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/121
@DorpsGek
Copy link
Member Author

pitt2 wrote:

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.


This comment was imported from FlySpray: https://bugs.openttd.org/task/121#comment202

@DorpsGek
Copy link
Member Author

Darkvater wrote:

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.


This comment was imported from FlySpray: https://bugs.openttd.org/task/121#comment229

@DorpsGek
Copy link
Member Author

Darkvater closed the ticket.

Reason for closing: Won't fix

Closing bug as savegame is broken, please reopen if you experience this with a valid savegame.


This comment was imported from FlySpray: https://bugs.openttd.org/task/121

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant