Author Topic: Crash at during combat  (Read 1018 times)

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Crash at during combat
« on: 26 April 2011, 06:23:54 »
Sorry I'm so late trying to use the snapshot of 0.4 provided earlier (the download was a lot bigger than expected), so this may have already been fixed, though I can't tell as I don't have a more recent snapshot. Happens to tech whenever they enter combat with the opposing tech. Almost instantly on a 2v2 map when the foe is placed next to you (thus starting combat instantly).

Code: [Select]
Crash
Version: Advanced Engine git-master_dev_edition
Time: Tue Apr 26 00:14:20 2011
Description: Breakpoint

Call Stack:
  Frame       Code address
  0x0151D294  0x00696955 _NMSG_WRITE+0x75 at crt0msg.c(198)
  0x0151D5D0  0x0068B58D abort+0x2d at abort.c(59)
  0x0151E088  0x00672F07 _wassert+0xb77 at assert.c(346)
  0x0151E180  0x001A3443 Glest::Entities::Unit::decHp+0x83 at unit.cpp(1815)
  0x0151E264  0x00573832 Glest::Sim::World::damage+0x1e2 at world.cpp(389)
  0x0151E448  0x005732E9 Glest::Sim::World::hit+0x5c9 at world.cpp(366)
  0x0151E4CC  0x0057C942 Glest::Sim::ParticleDamager::execute+0xc2 at world.cpp(1235)
  0x0151EA84  0x00184DA0 Glest::Entities::Projectile::update+0x1780 at game_particle.cpp(287)
  0x0151EB28  0x005C122E Shared::Graphics::ParticleManager::update+0x15e at particle.cpp(357)
  0x0151EB3C  0x002541D4 Glest::Graphics::Renderer::updateParticleManager+0x34 at renderer.cpp(451)
  0x0151EC08  0x001F32AD Glest::Gui::GameState::update+0x24d at game.cpp(294)
  0x0151EC88  0x002DC855 Glest::Main::Program::loop+0x315 at program.cpp(292)
  0x0151F734  0x002D7EDA Glest::Main::glestMain+0x69a at main.cpp(205)
  0x0151F744  0x002D8AA0 main+0x10 at main.cpp(225)
  0x0151F790  0x00683467 __tmainCRTStartup+0x117 at crt0.c(266)
  0x0151F798  0x0068333F mainCRTStartup+0xf at crt0.c(182)
  0x0151F7A4  0x76CB33CA BaseThreadInitThunk+0x12
  0x0151F7E4  0x77D39ED2 RtlInitializeExceptionChain+0x63
  0x0151F7FC  0x77D39EA5 RtlInitializeExceptionChain+0x36

=======================
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash at during combat
« Reply #1 on: 26 April 2011, 07:56:44 »
What map are you using?
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Crash at during combat
« Reply #2 on: 26 April 2011, 18:26:38 »
Well, it occured on other maps that I tested, though the ones where you team up with an ally is where it's most apparent, such as 4hills8kings (the first map in the list if you just immediately start the game).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash at during combat
« Reply #3 on: 26 April 2011, 22:04:47 »
I can't get the crash to occur. I vaguely remember something to do with an assert in the function was fixed before, so it might have been this. If someone else can confirm I'll have another look.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

 

anything