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 to desktop #3249

Closed
DorpsGek opened this issue Oct 2, 2009 · 15 comments
Closed

Crash to desktop #3249

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 2, 2009

Sitethief opened the ticket and wrote:

Windows XP {PROF SP2
Open ttd Release version: 0.7.2

Game Crashed to desktop when I was looking at a big city (Fefingway) with NewGRF Town and Industry - UK Houses Beta 2.0. I was looking at how the buildings look while invisible, game was running at max speed.
I'll include the cash.dmp, crash.sav. crash.log, a screenshot of my active NewGRFs, a screenshot of the location where the crash happened and an earlier savegame.

For other questions please contact me at sitethief@gmail.com

Attachments

Reported version: 0.7.2
Operating system: Windows


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

DorpsGek commented Oct 2, 2009

glx wrote:

openttd.exe!std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::_Eqrange(const int & _Keyval=44158) Ligne 1151 C++
openttd.exe!std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::erase(const int & _Keyval=44158) Ligne 952 C++
openttd.exe!AIAbstractList::SetValue(int item=44158, int value=1536) Ligne 466 C++
openttd.exe!SQConvert::HelperT<bool (thiscall AIAbstractList::)(int,int),0>::SQCall(AIAbstractList * instance=0x036eb9c8, bool (int, int) func=0x004e2762, SQVM * vm=0x00000000) Ligne 310 C++
openttd.exe!SQConvert::DefSQNonStaticCallback<AIAbstractList,bool (thiscall AIAbstractList::*)(int,int)>(SQVM * vm=0x00000000) Ligne 765 + 0xf octets C++
openttd.exe!SQVM::CallNative(SQNativeClosure * nclosure=0x02df6d20, int nargs=1, int stackbase=57, SQObjectPtr & retval={...}, bool & suspend=false) Ligne 1143 C++
openttd.exe!SQVM::Execute(SQObjectPtr & closure={...}, int target=16777287, int nargs=57, int stackbase=8, SQObjectPtr & outres={...}, unsigned int raiseerror=1, SQVM::ExecutionType et=ET_RESUME_OPENTTD) Ligne 753 + 0x22 octets C++
openttd.exe!Squirrel::Resume(int suspend=0) Ligne 179 + 0x3e octets C++
openttd.exe!AIInstance::GameLoop() Ligne 337 + 0xe octets C++
openttd.exe!AI::GameLoop() Ligne 68 + 0xb octets C++
openttd.exe!StateGameLoop() Ligne 1117 C++
openttd.exe!GameLoop() Ligne 1199 C++
openttd.exe!VideoDriver_Win32::MainLoop() Ligne 877 C++
openttd.exe!ttd_main(int argc=, char * * argv=) Ligne 697 C++
openttd.exe!WinMain(HINSTANCE * hInstance=0x00400000, HINSTANCE
* hPrevInstance=0x00000000, char * lpCmdLine=0x00152337, int nCmdShow=1) Ligne 1012 + 0xd octets C++
openttd.exe!__tmainCRTStartup() Ligne 263 + 0x1b octets C
kernel32.dll!7c7e7077()
[Les frames ci-dessous sont peut-être incorrects et/ou manquants, aucun symbole chargé pour kernel32.dll]


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6786

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 7, 2009

Petert wrote:

I am sorry if I'm not helping, but would you mind me asking what all that is that glx wrote?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6793

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Sitethief, has this crash happened more often?

I can't find a reason why it would crash at the location it did crash; it crashed while removing something from a list that it had just checked to be there, so it's impossible for it to be not there.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6803

@DorpsGek
Copy link
Member Author

Sitethief wrote:

The game did crash a few times after that. I'm not sure if its related though. I'm going to include the log anyway.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6804

@DorpsGek
Copy link
Member Author

glx wrote:

openttd.exe!std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::erase(std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::const_iterator _Where=...) Ligne 863 + 0xb octets C++
openttd.exe!std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::erase(std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::const_iterator _First=..., std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::const_iterator _Last=...) Ligne 943 + 0x21 octets C++
openttd.exe!std::_Tree<std::_Tset_traits<int,std::less,std::allocator,0> >::erase(const int & _Keyval=0x00009f50) Ligne 954 C++
openttd.exe!AIAbstractList::SetValue(int item=0x00009f50, int value=0x00000004) Ligne 466 C++
openttd.exe!SQConvert::HelperT<bool (thiscall AIAbstractList::)(int,int),0>::SQCall(AIAbstractList * instance=0x0294c0b0, bool (int, int) func=0x004e2762, SQVM * vm=0x00000000) Ligne 310 C++
openttd.exe!SQConvert::DefSQNonStaticCallback<AIAbstractList,bool (thiscall AIAbstractList::*)(int,int)>(SQVM * vm=0x00000000) Ligne 765 + 0xf octets C++
openttd.exe!SQVM::CallNative(SQNativeClosure * nclosure=0x01feb638, int nargs=0x00000001, int stackbase=0x0000002f, SQObjectPtr & retval={...}, bool & suspend=false) Ligne 1143 C++
openttd.exe!SQVM::Execute(SQObjectPtr & closure={...}, int target=0x00000034, int nargs=0x0000002f, int stackbase=0x00000009, SQObjectPtr & outres={...}, unsigned int raiseerror=0x00000001, SQVM::ExecutionType et=ET_RESUME_OPENTTD) Ligne 753 + 0x22 octets C++
openttd.exe!Squirrel::Resume(int suspend=0x00000000) Ligne 179 + 0x3e octets C++
openttd.exe!AIInstance::GameLoop() Ligne 337 + 0xe octets C++
openttd.exe!AI::GameLoop() Ligne 68 + 0xb octets C++
openttd.exe!StateGameLoop() Ligne 1117 C++
openttd.exe!GameLoop() Ligne 1199 C++
openttd.exe!VideoDriver_Win32::MainLoop() Ligne 877 C++
openttd.exe!ttd_main(int argc=, char * * argv=) Ligne 697 C++
openttd.exe!WinMain(HINSTANCE * hInstance=0x00400000, HINSTANCE
* hPrevInstance=0x00000000, char * lpCmdLine=0x00152337, int nCmdShow=0x00000001) Ligne 1012 + 0xd octets C++
openttd.exe!__tmainCRTStartup() Ligne 263 + 0x1b octets C
kernel32.dll!7c7e7077()
[Les frames ci-dessous sont peut-être incorrects et/ou manquants, aucun symbole chargé pour kernel32.dll]


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6812

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Can you pinpoint the crash to a single AI? If so, which AI?

Does the crash still happen in 0.7.3?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6826

@DorpsGek
Copy link
Member Author

Sitethief wrote:

I reinstalled my PC. I will reinstall OpenTDD to see if its still there.

Is there a way to copy the old OpenTDD to my new OS install? I fear I won't be able to reproduce this crash with a fresh install :P . Although that might be the whole point :D.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6827

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Yes; technically OpenTTD doesn't need installing, so copying the installation directory (usually c:\program files\OpenTTD) and the data directory ('my documents'\OpenTTD) to the new install should be enough. You might need to make a shortcut for the start menu though, if you want to use that.

Note that when you have done this the next 'installation' can't upgrade OpenTTD, but you can order it to install over the copied 'installation' which does nothing more than the upgrade would do.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6828

@DorpsGek
Copy link
Member Author

Sitethief wrote:

I will try that out then when I get home later today.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6829

@DorpsGek
Copy link
Member Author

Sitethief wrote:

Last crash before I'm updating OpenTTD. Lets see how that goes.

Edit: crash.sav is not this crash but a different one. Apparently once you've loaded a crash.sav you can't get a second crash.sav when the game crashes again.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6847

@DorpsGek
Copy link
Member Author

Sitethief wrote:

This AI keeps crashing, not sure if this is related though.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6848

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Crashing AIs don't matter.

Disabling generating crash.sav/crash.dmp has been done because people generally first try to load the crash.sav, which then crashes and overwrites the possibly useful crash.sav/crash.dmp leaving us with no useful information at all.

Anyhow, does 0.7.3 solve the issue?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6880

@DorpsGek
Copy link
Member Author

Sitethief wrote:

So far nothing :). Which is good I guess?


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6883

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Yes, it would mean that some of the (other) AI bug fixes in 0.7.3 fixed this bug too.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3249#comment6888

@DorpsGek
Copy link
Member Author

DorpsGek commented Nov 6, 2009

Rubidium closed the ticket.

Reason for closing: Fixed

In 0.7.3


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

@DorpsGek DorpsGek closed this as completed Nov 6, 2009
@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