Author Topic: Crash: git-master, when a loaded transport dies  (Read 887 times)

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Crash: git-master, when a loaded transport dies
« on: 25 May 2011, 08:47:49 »
or alternatively, "Crash: git-master, while kicking ass 8)"

Code: [Select]
Crash
Version: Advanced Engine git-master
Built: May 13 2011
Time: Wed May 25 04:34:57 2011
Description: SIGSEGV: address not mapped to object
Address: 0x204
Backtrace:
/home/john/glestae_git/build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x301) [0x852323f]
[0x8d640c]
/home/john/glestae_git/build/source/game/glestadv(_ZNKSt4listIPN5Glest8Entities7CommandESaIS3_EE5emptyEv+0x6) [0x8281a68]
/home/john/glestae_git/build/source/game/glestadv(_ZNK5Glest8Entities4Unit10anyCommandEv+0x16) [0x82812ae]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest8Entities4Unit4killEv+0xb2) [0x82acbe8]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest8Entities4Unit6doKillEPS1_+0xd9) [0x82aeeaf]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Sim5World6doKillEPNS_8Entities4UnitES4_+0x18) [0x84d1610]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Sim5World6damageEPNS_8Entities4UnitEPKNS_10ProtoTypes15AttackSkillTypeES4_N6Shared4Math5fixedE+0x200) [0x84d14e4]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Sim5World3hitEPNS_8Entities4UnitEPKNS_10ProtoTypes15AttackSkillTypeERKN6Shared4Math4Vec2IiEENS0_5FieldES4_+0x1ff) [0x84d1119]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Sim15ParticleDamager17projectileArrivedEPN6Shared8Graphics14ParticleSystemE+0xea) [0x84d5f02]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest8Entities10Projectile6updateEv+0xa70) [0x82c4306]
/home/john/glestae_git/build/source/game/glestadv(_ZN6Shared8Graphics15ParticleManager6updateEv+0x4a) [0x8504758]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest8Graphics8Renderer21updateParticleManagerENS0_13ResourceScopeE+0x2c) [0x831cef0]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest3Gui9GameState6updateEv+0x202) [0x82f5fa2]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest4Main7Program4loopEv+0x240) [0x8361504]
/home/john/glestae_git/build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x33f) [0x835adf1]
/home/john/glestae_git/build/source/game/glestadv(main+0x79) [0x835b12e]
/lib/libc.so.6(__libc_start_main+0xe7) [0xbd0ce7]
/home/john/glestae_git/build/source/game/glestadv() [0x8274891]

=======================


This was just as my Dwarven transport died with a load of Cannoneers on board.

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Crash: git-master, when a loaded transport dies
« Reply #1 on: 25 May 2011, 09:33:18 »
From a quick look it seems like a pointer to a unit that was planned to be carried is no longer valid at the time the carrier dies.
« Last Edit: 25 May 2011, 09:35:24 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/