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

[Windows] Game freezes when aborting map generation #3707

Closed
DorpsGek opened this issue Mar 19, 2010 · 5 comments
Closed

[Windows] Game freezes when aborting map generation #3707

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

Comments

@DorpsGek
Copy link
Member

Brumi opened the ticket and wrote:

If I try to generate a 2048x2048 map, and then abort the generation, the game becomes irresponsive. The issue is present in trunk as well.
I'm using Windows XP-SP3.

Reported version: 1.0.0-RC3
Operating system: Windows


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

Rubidium wrote:

Does it reliably hang on Windows, i.e. every time? Does it hang with all game settings (especially NewGRFs and AIs)?

I can't reproduce it on my Linux installation.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3707#comment7754

@DorpsGek
Copy link
Member Author

Brumi wrote:

I tried changing a few settings, and it always hung for me. I tried with and without NewGRFs, without AIs, original and TerraGenesis mapgenerator, all 4 climates, etc. Sometimes it didn't freeze when I managed to stop it in the 'landscape generation' phase, but it froze when I tried to start a new game after that, even before aborting the generation.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3707#comment7755

@DorpsGek
Copy link
Member Author

Yexo wrote:

Main thread:
ntdll.dll!_KiFastSystemCallRet@0()
ntdll.dll!_ZwWaitForSingleObject@12() + 0xc bytes
ntdll.dll!_RtlpWaitForCriticalSection@4() + 0x8c bytes
ntdll.dll!_RtlEnterCriticalSection@4() + 0x46 bytes

openttd.exe!ThreadMutex_Win32::BeginCritical() Line 127 + 0xf bytes C++
openttd.exe!DrawDirtyBlocks() Line 1457 + 0x14 bytes C++
openttd.exe!UpdateWindows() Line 2293 C++
openttd.exe!VideoDriver_Win32::MainLoop() Line 896 C++
openttd.exe!ttd_main(int argc=2, char * * argv=0x0013fe00) Line 755 + 0x14 bytes C++
openttd.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x00161f1d, int nCmdShow=1) Line 430 C++
openttd.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
openttd.exe!WinMainCRTStartup() Line 182 C
kernel32.dll!_BaseProcessStart@4() + 0x23 bytes


This comment was imported from FlySpray: https://bugs.openttd.org/task/3707#comment7761

@DorpsGek
Copy link
Member Author

Smoovious wrote:

I have it freeze also. See closed #4034 for the details.

-- Smoovious


This comment was imported from FlySpray: https://bugs.openttd.org/task/3707#comment8525

@DorpsGek
Copy link
Member Author

Yexo closed the ticket.

Reason for closing: Fixed

In r20822


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

@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