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

Loading savegame causes crash in object code #4174

Closed
DorpsGek opened this issue Oct 19, 2010 · 2 comments
Closed

Loading savegame causes crash in object code #4174

DorpsGek opened this issue Oct 19, 2010 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Yexo opened the ticket and wrote:

Savegame here: http://www.tt-forums.net/download/file.php?id=136162
From forum topic: http://www.tt-forums.net/viewtopic.php?f=65&t=50552

Tested with r20978

Backtrace:
openttd.exe!_wassert(const wchar_t * expr=0x0104e25c, const wchar_t * filename=0x0104e298, unsigned int lineno=0x0000001a) Line 335 C

openttd.exe!GetObjectType(unsigned int t=0x000dbfd7) Line 26 + 0x2d bytes C++
openttd.exe!Ptrs_OBJS() Line 59 + 0xb bytes C++
openttd.exe!SlFixPointers() Line 1681 + 0xa bytes C++
openttd.exe!SaveOrLoad(const char * filename=0x0119c560, int mode=0x00000000, Subdirectory sb=NO_DIRECTORY, bool threaded=true) Line 2381 C++
openttd.exe!SafeSaveOrLoad(const char * filename=0x0119c560, int mode=0x00000000, GameMode newgm=GM_NORMAL, Subdirectory subdir=NO_DIRECTORY) Line 876 + 0x11 bytes C++
openttd.exe!SwitchToMode(SwitchMode new_mode=SM_LOAD) Line 1021 + 0x14 bytes C++
openttd.exe!GameLoop() Line 1328 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 887 C++
openttd.exe!ttd_main(int argc=0x00000001, char * * argv=0x0013fe00) Line 758 + 0x14 bytes C++
openttd.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00161f1d, int nCmdShow=0x00000001) Line 432 C++
openttd.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
openttd.exe!WinMainCRTStartup() Line 182 C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes

Reported version: trunk
Operating system: All


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

Brumi wrote:

Here are my crash files when trying to open the same savegame using r20992.

EDIT: I added a screenshot of the error message which pops up before OpenTTD shuts down.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4174#comment8950

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Duplicate

Of #4101, so already fixed 1 revision after the revision the savegame has been made with. Triggered upon company bankruptcy which has definitely happened.


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 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