-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
Both server and client crash, AI related #7188
Comments
[00:00] for the client crash, I think the problem is here at network_client.cpp line 1176 and 1174 should be switched OpenTTD/src/network/network_client.cpp Lines 1171 to 1178 in bfdad9a
There are two emergency saves. Shouldn't 1 be enough? CloseConnection does an emergency save, then another is done after the error message. Is that the intention? Even the error message is repeated. |
4fb76db added the function, and the extra call it seems. |
And for the server crash, I think some test must be added to OpenTTD/src/ai/ai_instance.cpp Line 261 in bfdad9a
|
…d an AI save crash when doing an emergency network save.
…d an AI save crash when doing an emergency network save.
This issue has been automatically marked as stale because it has not had any activity in the last two months. |
Version of OpenTTD
2019-02-06-master-gbfdad9ad1b
Expected result
No crash
Actual result
Crash
Steps to reproduce
1 - on server, start multiplayer non-dedicated server game with 14 AIs set up, with 250000 #opcodes, build speed set to very fast, and a start_date of 0 on every AI.
2 - on client, join server as Spectator while not all companies have started yet.
3 - on server, open AI Debug Window, click Reload on one of the AIs. If it doesn't crash right away, try Reload on another AI, until one of them crashes.
4 - on client, a timeout of 20 seconds is displayed, then it crashes after that, I suppose when exiting to main menu, not sure.
crash.log
crash.log
Left = server, Right = client
The text was updated successfully, but these errors were encountered: