MegaGlest Forum

MegaGlest => Bug reports => Topic started by: biel on 25 August 2013, 11:34:46

Title: Random crashes on Windows 8 64-bit
Post by: biel on 25 August 2013, 11:34:46
I've tested the both 3.7.9 and 3.8.0 beta. The game crashes only in 64-bit windows (as i could see).
The crash sucess when destroying a building or when selecting a farm / blacksmith to build in tech faction. In magic it don't happen that often. The bug is veery random sometimes happen sometimes no.

Can anyone confirm that? Does anyone know why this happen?

If more info is needed i will try to provide it.
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: tomreyn on 25 August 2013, 12:28:21
Hi Biel,

thanks for your report. I assume when you say "3.7.9" you mean "3.7.1"?
Do you have all the updates available for Windows 8 installed?

What exactly do you mean by "crash"? Do network games fail with an error message produced by the game, or do you only get a Windows message box saying something along the lines of "this application has run into an error and has been closed"?
Is a DMP file created in %ApplicationData%\megaglest\ (and is it current - if not, delete the one you have and reproduce the problem)?
Is an error.log files created in the same directory (and is it current - if not, delete the one you have and reproduce the problem)?

Does this happen in single player, too, or only in network games?

You say it happens quite randomly. The developers will need either a meaningful (often a problem is that the ones the application generates are not pointing to the actual problem - since this is not really always possible to get right) backtrace or a way to reliably (and as quickly as possible) reproduce a problem. If you can work towards providing either this would be quite helpful.

The error.log file may already contain a backtrace. The DMP file, if you have one, may allow for creating a backtrace. If you run the game from a cmd.exe command line you may receive more output which may help getting a better idea of what is going wrong (see the advanced section on the FAQ for details).

Finally, it would be good if you could also test the latest windows test / development build (no need to download the game data, it should be the same as that of 3.8.0 beta1), since those are actually built on the Windows 8.1 preview, which should not, but might make a difference.
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: biel on 25 August 2013, 13:18:47
I'm not in home now, so i can't post the dump / backtrace files. Yes I think i have all the updates for windows 8 (if you mean the Windows Update ones). The bug happens in single and multi-player.

To reproduce the bug (It can happen in different ways but here's easiest):

Later i'll post the information that you requested.
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: tomreyn on 25 August 2013, 13:44:41
Thanks. If someone else who runs Windows 8 could try to reproduce this it would be pretty helpful.
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: tomreyn on 25 August 2013, 14:14:52
Nig just tried to reproduce this a couple (>3) times on Windows 7 (64-bit) and was unable to.

So assumely this is on of the following:

Which map and tileset were you using?
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: biel on 25 August 2013, 22:20:22
I can't find that dump file in the %appdata%/megaglest folder. Yes, it's a windows 8 specific issue as my brother has a computer with Windows 7 and it works fine.

Console output:
Code: [Select]
C:\Users\Biel>"C:\Program Files (x86)\MegaGlest\megaglest.exe"
megaglest.exe v3.7.1
Compiled using: VC++: 1600 on: Nov 23 2012 00:38:33 platform: Windows endianness
: little
SVN: [Rev: 3948] - using STREFLOP [SSE] - [no-denormals]
Error saved to logfile [C:\Users\Biel\AppData\Roaming\megaglest\error.log]
[2013-08-26 00:12:46] *ERROR* In [..\..\source\glest_game\main\main.cpp::Glest::
Game::ExceptionHandler::handleRuntimeError Line: 390] [Unknown error!] gameIniti
alized = 1, program = 02C27900
[2013-08-26 00:12:46] *ERROR* In [..\..\source\glest_game\main\main.cpp::Glest::
Game::ExceptionHandler::handleRuntimeError Line: 409] [Unknown error!
Stack Trace:
00000000 00000000 00000000 27e3ff2b NtGetContextThread!ntdll (null)(0) +12
00000000 00000000 00000000 27e3ff2b NtGetContextThread!ntdll (null)(0) +12
]

error.log:
Code: [Select]
[2013-08-26 00:12:46] Runtime Error information:
======================================================
Unknown error!
Stack Trace:
00000000 00000000 00000000 27e3ff2b NtGetContextThread!ntdll (null)(0) +12
00000000 00000000 00000000 27e3ff2b NtGetContextThread!ntdll (null)(0) +12

Is this useful?
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: titi on 26 August 2013, 00:15:26
This looks like the bug we had in 3.7.1 on windows 64bit  systems. This should be fixed in 3.8.0-beta.
 
PLease use 3.8.0-beta from now, as its more useful to find bugs. ANother thing you can do is to ensure you really have up to date drivers for your graphics card. Get the drivers  from the chipset producer like Intel/Ati/Nvidia and  NOT from Microsoft, as Microsoft somehow doesn't like OpenGL too much, as its too compatible   :angel: .
Title: Re: [Crash] Mg crashes in Windows 8 64-bit randomly
Post by: biel on 26 August 2013, 12:28:57
Yes, i used to use 3.8.0beta but since i had this problem i went back to 3.7.1 for checking if the bug was only for the latest beta. As my Windows 8 computer is a laptop the system was pre-installed with all the drivers. Also, Nvidia, Intel and Ati gives the drivers to Microsoft, isn't it?

Also, keep in mind that this only happens in windows 8. So maybe this isn't the same issue as the crashes in Windows 64-bit.

Edit: I missed it, the bug isn't solved on 3.8.0beta
Title: Re: Random crashes on Windows 8 64-bit
Post by: tomreyn on 3 December 2013, 19:41:46
Is this still a problem with 3.9.0?
Title: Re: Random crashes on Windows 8 64-bit
Post by: biel on 8 December 2013, 11:03:26
Yes, the problem is here for now in 3.9.0. I'm on win 8 64 bit, intel core i5 1.70GHz, 4GB ram, Solid state disk (SSD)
Title: Re: Random crashes on Windows 8 64-bit
Post by: tomreyn on 8 December 2013, 11:56:02
What's the output now (running from a command line prompt), do you get a DMP file?
Are you using Intel graphics or do you have and use a separate graphics card?

When did you last update your graphics drivers? Nvidia, AMD/ATI and Intel will often provide newer drivers than the WHQL ones they and Microsoft provide.

It would also be interesting to learn whether the same happens in Windows 8.1 (which is a free upgrade from Windows 8(.0)).

Edit: Fix typo.
Title: Re: Random crashes on Windows 8 64-bit
Post by: dokydom on 14 December 2013, 15:25:28
I had this problem too, on win 8. Now on win 8.1 it works fine.
(sorry for bad english)