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 during run AI manually #7606

Closed
fanioz opened this issue May 24, 2019 · 1 comment
Closed

Crash during run AI manually #7606

fanioz opened this issue May 24, 2019 · 1 comment

Comments

@fanioz
Copy link

fanioz commented May 24, 2019

Version of OpenTTD

1.9.1

Expected result

Run AI manually

Actual result

OpenTTD crash instead

Steps to reproduce

run OpenTTD 1.9.1 with preset AI
start new game
Debug window show MogulAI crash
open command line
type start_ai mogulai

OpenTTD-crash.zip

@glx22
Copy link
Contributor

glx22 commented May 24, 2019

 	openttd.exe!RefTable::Get(tagSQObject & obj, unsigned __int64 & mainpos, RefTable::RefNode * * prev, bool add) Ligne 443	C++
 	openttd.exe!RefTable::Release(tagSQObject & obj) Ligne 380	C++
 	[Cadre en ligne] openttd.exe!sq_release(SQVM * v, tagSQObject *)	C++
 	[Cadre en ligne] openttd.exe!Squirrel::ReleaseObject(tagSQObject * ptr)	C++
 	openttd.exe!ScriptInstance::Died() Ligne 157	C++
 	openttd.exe!AIInstance::Died() Ligne 216	C++
 	openttd.exe!ScriptInstance::Initialize(const char * main_script, const char * instance_name, Owner company) Ligne 94	C++
 	[Cadre en ligne] openttd.exe!AIInstance::Initialize(AIInfo *)	C++
 	openttd.exe!AI::StartNew(Owner company, bool rerandomise_ai) Ligne 63	C++
 	openttd.exe!DoStartupNewCompany(bool is_ai, Owner company) Ligne 585	C++
 	openttd.exe!CmdCompanyCtrl(unsigned int tile, DoCommandFlag flags, unsigned int p1, unsigned int p2, const char * text) Ligne 878	C++
 	openttd.exe!DoCommandPInternal(unsigned int tile, unsigned int p1, unsigned int p2, unsigned int cmd, void(*)(const CommandCost &, unsigned int, unsigned int, unsigned int) callback, const char * text, bool estimate_only, bool) Ligne 721	C++
 	openttd.exe!DoCommandP(unsigned int tile, unsigned int p1, unsigned int p2, unsigned int cmd, void(*)(const CommandCost &, unsigned int, unsigned int, unsigned int) callback, const char * text, bool my_cmd) Ligne 582	C++
 	openttd.exe!ConStartAI(unsigned char argc, char * * argv) Ligne 1183	C++
 	openttd.exe!IConsoleCmdExec(const char * cmdstr) Ligne 502	C++
 	openttd.exe!IConsoleWindow::OnKeyPress(unsigned int key, unsigned short keycode) Ligne 314	C++
 	openttd.exe!HandleKeypress(unsigned int keycode, unsigned int key) Ligne 2679	C++
 	openttd.exe!HandleCharMsg(unsigned int keycode, unsigned int charcode) Ligne 493	C++
 	openttd.exe!WndProcGdi(HWND__ * hwnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Ligne 1007	C++
 	[Code externe]	
 	openttd.exe!VideoDriver_Win32::MainLoop() Ligne 1224	C++
 	openttd.exe!openttd_main(int argc, char * * argv) Ligne 868	C++
 	openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Ligne 443	C++
 	[Code externe]	

LordAro added a commit to LordAro/OpenTTD that referenced this issue Nov 2, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this issue Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants