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 crash after joining a new existing game #3819

Closed
DorpsGek opened this issue May 7, 2010 · 5 comments
Closed

Game crash after joining a new existing game #3819

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented May 7, 2010

Samu opened the ticket and wrote:

My game crashed. I joined a new existing game, the computer started to slow down greatly until it crashed.

Attachments

Reported version: 1.0.1
Operating system: Windows


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

DorpsGek commented May 8, 2010

smurfix wrote:

Same here (Linux).

To reproduce, watch the "AI Bakeoff" game (on netz.smurf.noris.de).


This comment was imported from FlySpray: https://bugs.openttd.org/task/3819#comment8001

@DorpsGek
Copy link
Member Author

DorpsGek commented May 8, 2010

smurfix wrote:

OK, one cause is a bad AI test (if you connect to a network game, the companies' is_ai flag may be set, but of course there's no local AI instance).

Patch attached. Please add to 1.0 branch.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3819#comment8003

@DorpsGek
Copy link
Member Author

DorpsGek commented May 8, 2010

smurfix wrote:

Another way to crash a network client: if the server disconnects, the network loop is entered anyway.
As _networking is now false, this will have interesting side effects.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3819#comment8004

@DorpsGek
Copy link
Member Author

glx wrote:

openttd.exe!AIInstance::GameLoop() Ligne 311 C++
openttd.exe!AI::GameLoop() Ligne 75 + 0xb octets C++
openttd.exe!StateGameLoop() Ligne 1234 C++
openttd.exe!NetworkDoClientLoop() Ligne 1022 C++
openttd.exe!NetworkGameLoop() Ligne 1210 + 0x5 octets C++
openttd.exe!GameLoop() Ligne 1301 C++
openttd.exe!VideoDriver_Win32::MainLoop() Ligne 889 C++
openttd.exe!ttd_main(int argc=, char * * argv=) Ligne 761 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00152333, int nCmdShow=0x00000001) Ligne 429 + 0x9 octets C++
openttd.exe!__tmainCRTStartup() Ligne 263 + 0x1b octets C
kernel32.dll!_BaseProcessStart@4() + 0x23 octets


This comment was imported from FlySpray: https://bugs.openttd.org/task/3819#comment8064

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r19869; the first patch isn't needed when the second is applied.


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

@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