Author Topic: Random crashes on Windows 8 64-bit  (Read 1420 times)

biel

  • Battlemage
  • **
  • Posts: 40
    • View Profile
Random crashes on Windows 8 64-bit
« 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.
« Last Edit: 3 December 2013, 19:41:27 by tomreyn »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #1 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.
« Last Edit: 25 August 2013, 12:36:03 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

biel

  • Battlemage
  • **
  • Posts: 40
    • View Profile
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #2 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):
  • Create custom game
  • Play vs AI with tech faction
  • Select a worker
  • Attempt to build a farm (the game should crash when you click the farm icon)

Later i'll post the information that you requested.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #3 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.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #4 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:
  • A Windows 8 specific issue
  • An issue which is specific to your system (possible reasons: corrupt installation, corrupt file system or physical disk, bad graphics driver, broken/unreliable hardware)

Which map and tileset were you using?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

biel

  • Battlemage
  • **
  • Posts: 40
    • View Profile
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #5 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?

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #6 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: .
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

biel

  • Battlemage
  • **
  • Posts: 40
    • View Profile
Re: [Crash] Mg crashes in Windows 8 64-bit randomly
« Reply #7 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
« Last Edit: 26 August 2013, 12:41:16 by biel »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Random crashes on Windows 8 64-bit
« Reply #8 on: 3 December 2013, 19:41:46 »
Is this still a problem with 3.9.0?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

biel

  • Battlemage
  • **
  • Posts: 40
    • View Profile
Re: Random crashes on Windows 8 64-bit
« Reply #9 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)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Random crashes on Windows 8 64-bit
« Reply #10 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.
« Last Edit: 15 December 2013, 04:46:08 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

dokydom

  • Guest
Re: Random crashes on Windows 8 64-bit
« Reply #11 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)

 

anything