Author Topic: Various errors while playing amazon scenario on 3.8 beta 1 (windows 64bit)  (Read 1722 times)

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
Hi all, today after having updated to the latest beta i tried playing "amazons" scenario various times and this is what happened:

First time: the game didnt go further than the loading screen because i got an error about some norsemen models not found (no screenshot sorry)


Second time:
the scenario loaded perfectly (i quit it to try to reproduce the bug again)


Third time:
got another error different and longer. This is what i got in my terminal:

Code: [Select]
megaglest.exe v3.8.0-beta1
Compiled using: VC++: 1600 on: Jul 17 2013 12:45:25 platform: Windows endianness
: little
SVN: [Rev: 4519] - using STREFLOP [SSE] - [no-denormals]
[2013-07-17 12:57:25] *ERROR* In [model.cpp::Shared::Graphics::Model::loadG3d Li
ne: 1309] Error [fread returned wrong size = 0 on line: 1193.
Stack Trace:
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
]
[2013-07-17 12:57:25] *ERROR* In [unit_type.cpp::Glest::Game::UnitType::loaddd L
ine: 657] Error [Exception caught loading 3d file: C:\Users\Marco\megaglest\data
\glest_game\\techs/megapack/factions/norsemen/units/battleaxe/models/axeman_dyin
g.g3d
fread returned wrong size = 0 on line: 1193.
Stack Trace:
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18
]
[2013-07-17 12:57:26] *ERROR* In [faction_type.cpp::Glest::Game::FactionType::lo
ad Line: 173] Error [Error loading UnitType: C:\Users\Marco\megaglest\data\glest
_game\\techs/megapack/factions/norsemen/units/battleaxe/battleaxe.xml
Exception caught loading 3d file: C:\Users\Marco\megaglest\data\glest_game\\tech
s/megapack/factions/norsemen/units/battleaxe/models/axeman_dying.g3d
fread returned wrong size = 0 on line: 1193.
Stack Trace:
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18
]
[2013-07-17 12:57:27] *ERROR* In [tech_tree.cpp::Glest::Game::TechTree::load Lin
e: 285] Error [Error loading units: C:\Users\Marco\megaglest\data\glest_game\\te
chs/megapack/factions/norsemen/
Error loading UnitType: C:\Users\Marco\megaglest\data\glest_game\\techs/megapack
/factions/norsemen/units/battleaxe/battleaxe.xml
Exception caught loading 3d file: C:\Users\Marco\megaglest\data\glest_game\\tech
s/megapack/factions/norsemen/units/battleaxe/models/axeman_dying.g3d
fread returned wrong size = 0 on line: 1193.
Stack Trace:
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de9110f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de9110f ZwGetContextThread!ntdll (null)(0) +18
]
[2013-07-17 12:57:27] *ERROR* In [program.cpp::Glest::Game::Program::setState Li
ne: 653]
Error [Error loading Faction Types: C:\Users\Marco\megaglest\data\glest_game\\te
chs/megapack/
Error loading units: C:\Users\Marco\megaglest\data\glest_game\\techs/megapack/fa
ctions/norsemen/
Error loading UnitType: C:\Users\Marco\megaglest\data\glest_game\\techs/megapack
/factions/norsemen/units/battleaxe/battleaxe.xml
Exception caught loading 3d file: C:\Users\Marco\megaglest\data\glest_game\\tech
s/megapack/factions/norsemen/units/battleaxe/models/axeman_dying.g3d
fread returned wrong size = 0 on line: 1193.
Stack Trace:
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8deae45f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91def ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de91b7f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de9110f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de9110f ZwGetContextThread!ntdll (null)(0) +18

Stack Trace:
00000000 00000000 00000000 8de90e9f ZwGetContextThread!ntdll (null)(0) +18
00000000 00000000 00000000 8de90e9f ZwGetContextThread!ntdll (null)(0) +18
]

======= In MinidumpCallback...

***ERROR details captured:
Crash minidump folder: C:\Users\Marco\AppData\Roaming\megaglest\
file: a52f23cf-8ba3-45fa-b1ca-760417c1aa5b.dmp
Succeeded: 1
[2013-07-17 12:58:02] *ERROR* Access violation. Illegal read by 5916896 at 47165
916896|Unknown module|Unknown function
8380755|Unknown module|Unknown function
5221504|Unknown module|Unknown function
6216805|Unknown module|Unknown function
6205088|Unknown module|Unknown function
6206854|Un []

this is the screenshot of the error message:
http://postimg.org/image/yx1huvezl/

and this is the dump summary:
http://pastebin.com/JP7s30VV

and this should be the full dump file:
http://pastebin.com/P80Pur9c

Forth time: the scenario looked correctly.

By the way in all 4 cases i wasn't able to click the button "next hint" on the page while the game was loading.

My specs:
Processor: AMD Athlon X2 Dual-Core QL-64 2.10 GHz
Video Card: ATI 3200
Installed memory (RAM): 4gb (3,75gb usable)
Operative system: Windows 7 professional N, 64bit Service Pack 1


Gretings.
I translated Megaglest in italian and i keep the translation updated.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
The first error seems to be that the file C:\Users\Marco\megaglest\data\glest_game\techs\megapack\factions\norsemen\units\battleaxe\models\axeman_dying.g3d was 0 bytes long (contained no data when it should contain data) when it was read.

Please check the files' filesize. If it's indeed 0 bytes then your game data is corrupt.

I suggest you also schedule a full checkdisk of the filesystem mounted at C: (the "C: disk") to run during the next system boot.

To do so, run/search and click on cmd.exe to start a command prompt then type chkdsk c: /r and press enter.

Reply Y when asked if you want this to happen on the next boot. This should take you through 5 stages of the chkdsk scan and will unset that dirty bit. This can take an hour or more depending on the size of your hard drive, be patient and let it complete. Once booted back to Windows, open another command prompt and query the dirty bit by entering fsutil dirty query c: and Windows should report that the dirty bit is not set on that drive.

Also make sure that your disk has not run full and run a short HDD S.M.A.R.T. self-test (hddguardian - which I have never used - can be a good utility, solely based on its websites' feature list and documentation, and because it relies on the well tested smartctl which is primarily used for this purpose on Linux) then query it's S.M.A.R.T status (which should provide an indication as to whether the physical hard disks' reliability has degraded to a degree where it should be replaced to prevent (further?) data loss.
« Last Edit: 17 July 2013, 13:44:23 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 · · ·

Pizza90

  • Draco Rider
  • *****
  • Posts: 282
    • View Profile
I checked the model and it's not 0kb so the data is not corrupted, the check disk gave no errors and this is the result of the hd test (no error logs reported):

http://postimg.org/image/mydlprkn1/

Anyone on the same platform (windows 7 64bit) who experienced the same problems?

I am willing to test more on this platform but the more we are the better is!
I translated Megaglest in italian and i keep the translation updated.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I checked the model and it's not 0kb so the data is not corrupted.

This alone is just a minimal check really.  Here (beta1) the file is 326911 bytes and here are some checksums:
SHA256: 99be9eab7b8c72180816c97a976e055a7dcf52ae278e0a95e6e65332a920b9bb
SHA1:
f3d60aa091187f8b466baff7b517e4b5ef1d6dc2
MD5: 7baacbc1eb3b3a0f486386f48f465990
CRC32: 24efe8e2

The check disk gave no errors and this is the result of the hd test (no error logs reported):

http://postimg.org/image/mydlprkn1/

This looks like your hard disk may die soon. Be prepared to replace it ( probably by a SSD or larger HDD).

Anyone on the same platform (windows 7 64bit) who experienced the same problems?

I am willing to test more on this platform but the more we are the better is!

This would be good indeed. Since without more indication towards a generic issue, it would continue to look like an error which is specific to your system (only).
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 · · ·

 

anything