Author Topic: Crash with latest snapshot (+ strange crash shot.)  (Read 1080 times)

Psychedelic_hands

  • Guest
Crash with latest snapshot (+ strange crash shot.)
« on: 3 April 2011, 14:20:57 »
I got this when I attempted to morph a bunch of cloaked dudes from Air to Ground:
Quote
Crash
Version: Advanced Engine git-master
Time: Mon Apr 04 00:12:15 2011
Description: Access violation (Reading address: 0x00000070)

Call Stack:
  Frame       Code address
  0x00B9F534  0x00F4402C Glest::Entities::Unit::deCloak+0x3c at unit.cpp(1193)
  0x00B9F5A4  0x00F48793 Glest::Entities::Unit::morph+0x153 at unit.cpp(2182)
  0x00B9F70C  0x010155F4 Glest::ProtoTypes::MorphCommandType::update+0x244 at cmd_types_general.cpp(882)
  0x00B9F758  0x00F44808 Glest::Entities::Unit::doUpdateCommand+0x118 at unit.cpp(1350)
  0x00B9F768  0x00F44F02 Glest::Entities::Unit::doUpdate+0x72 at unit.cpp(1489)
  0x00B9F784  0x010AC07B Glest::Sim::World::processFrame+0xdb at world.cpp(301)
  0x00B9F7A8  0x01091028 Glest::Sim::SimulationInterface::updateWorld+0x118 at sim_interface.cpp(248)
  0x00B9F808  0x00F66F66 Glest::Gui::GameState::update+0x126 at game.cpp(283)
  0x00B9F860  0x00FAF5B6 Glest::Main::Program::loop+0x426 at program.cpp(287)
  0x00B9FDE8  0x00FAD05C Glest::Main::glestMain+0x39c at main.cpp(16707566)
  0x00B9FDF0  0x00FAD23D main+0x1d at main.cpp(225)
  0x00B9FE38  0x011381F3 __tmainCRTStartup+0xfb at crt0.c(266)
  0x00B9FE44  0x762F4911 BaseThreadInitThunk+0x12
  0x00B9FE84  0x7733E1C6 RtlInitializeExceptionChain+0x63
  0x00B9FE9C  0x7733E199 RtlInitializeExceptionChain+0x36

=======================
Here's the picture:
(click to show/hide)
Which you should notice looks really strange... I checked and all my screen shots look like that... Whats up there?


Zoythrus

  • Guest
Re: Crash with latest snapshot (+ strange crash shot.)
« Reply #1 on: 3 April 2011, 14:57:33 »
ive had the exact same problems! but for some reason the whole odd picture thing cleared itself up a while ago. but if i try to morph an air to ground, it crashes....

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash with latest snapshot (+ strange crash shot.)
« Reply #2 on: 4 April 2011, 08:34:33 »
Good find Psychedelic_hands, I've made a fix (see ticket 326). It was trying to access the cloak type of the "morph to" unit when it doesn't exist. I don't think the number of units or that it is air to ground matters.

Not sure what's with the screenshot. All it does is call the OpenGL function glReadPixels to get the pixels from the frame buffer. Maybe there's a problem with your graphics card drivers.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything