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

Game crashes with a fatal error when choosing to 'ABANDON GAME' under the save menu #5898

Closed
DorpsGek opened this issue Feb 5, 2014 · 13 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 5, 2014

Norwalker opened the ticket and wrote:

*** OpenTTD Crash Report ***

Crash at: Wed Feb 05 20:12:21 2014
In game date: 1949-01-01 (0)

Crash reason:
Exception: E1212012
Location: 000007FB71A2811C
Message: Assertion failed at line 42 of ..\src\linkgraph\linkgraphjob.cpp: this->thread == NULL

Reported version: 1.4.0-beta3
Operating system: Windows


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

DorpsGek commented Feb 5, 2014

Norwalker wrote:

meant for above crash

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13015

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 6, 2014

fonsinchen wrote:

Do you happen to have the crash.dmp around, too? The stacktrace in the log is not very conclusive.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13017

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 8, 2014

Norwalker wrote:

Here is the crash.dmp file requested. Another thing I noticed was that the game doesn't crash unless you have built some things in the game. A new game won't crash.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13026

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 8, 2014

fonsinchen wrote:

Is there a deterministic way to reproduce it? Can you describe what you have built there and/or add a savegame, too?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13029

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 8, 2014

Norwalker wrote:

I can't say that it happens after x amount of rail lines have been built, but I do know that I have played the game for at least 2 or more hours. So, I would guess twenty or more years in 'game' time have happened. I don't know if that helps but that's about the closest I can pinpoint it. The game has to be somewhat along for it to crash (it has done so 3 times for me). However, it is ONLY when you abandon the game that it occurs ... not during a save game. So most players probably won't run into the problem.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13030

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 9, 2014

fonsinchen wrote:

It seems the crash.dmp is not from the same crash as the crash log. There is no stacktrace in the dump. Maybe you confused the files. Can you please check again if you maybe have the old dump around? Otherwise, if you can reproduce the crash, can you just upload a new set of crash.log and crash.dmp?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13031

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 9, 2014

Norwalker wrote:

Ok, I could not find any other crash.dmp file than the one I sent you. So to be sure that ALL the files are consistent, I deleted the files I already sent you, and made the game crash again. Now, I'm uploading the set(crash.dmp, crash.log and crash.png) plus a text file named fatal application failure.txt which is copy of the report shown by the dialogue box that popped up at the time of the crash I hope this helps.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13040

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 9, 2014

Rubidium wrote:

KERNELBASE.dll!RaiseException() + 0x68 bytes
openttd.exe!raise(int signum) Line 593 C
openttd.exe!abort() Line 81 C
openttd.exe!error(const char * s, ...) Line 122 C++
openttd.exe!LinkGraphJob::~LinkGraphJob() Line 42 + 0x28 bytes C++
openttd.exe!LinkGraphJob::`scalar deleting destructor'() + 0x12 bytes C++
openttd.exe!Pool<LinkGraphJob,unsigned short,32,16777215,1,0,1>::CleanPool() Line 199 C++
openttd.exe!PoolBase::Clean(PoolType pt) Line 34 C++
openttd.exe!InitializeGame(unsigned int size_x, unsigned int size_y, bool reset_date, bool reset_settings) Line 75 C++
openttd.exe!GenerateWorld(GenWorldMode mode, unsigned int size_x, unsigned int size_y, bool reset_settings) Line 309 C++
openttd.exe!LoadIntroGame(bool load_newgrfs) Line 331 C++
openttd.exe!SwitchToMode(SwitchMode new_mode) Line 1156 C++
openttd.exe!GameLoop() Line 1456 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 1302 C++
openttd.exe!openttd_main(int argc, char * * argv) Line 871 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 452 C++
openttd.exe!__tmainCRTStartup() Line 275 + 0x21 bytes C
kernel32.dll!BaseThreadInitThunk() + 0x1a bytes
ntdll.dll!RtlUserThreadStart() + 0x21 bytes


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13041

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 9, 2014

fonsinchen wrote:

Thanks, that's very nice. It seems we have a "lost" link graph job there. It would really be helpful to have a savegame from sometime before that happens. As you seem to be able to reproduce it consistently I might be able to do so, too, and find out where that job is created and why it's not in the schedule.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13043

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 9, 2014

Norwalker wrote:

unfortunately, I can't help there. I only hsve the last save I made.Otherwise it tends to get a bit crowded in the save box.Sorry


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13044

@DorpsGek
Copy link
Member Author

Norwalker wrote:

This is the 'sav.' file I used to recreate the last crash. just to be clear, the problem isn't the file, because I have had the game crash in other games I have played. As the fact of the matter goes, I never crashed in this game file until I used it to recreate the crash sequence. I hope it helps with the problem.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13045

@DorpsGek
Copy link
Member Author

fonsinchen wrote:

One very interesting thing here is that it fails to load the intro game and then goes on and Generates an empty game. That's quite an unusual code path.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5898#comment13073

@DorpsGek
Copy link
Member Author

fonsinchen closed the ticket.

Reason for closing: Fixed

in r26347


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

@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