Author Topic: [Fixed] source/game/world/type_factories.h: Assertion 'false' failed  (Read 1624 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
This happened when, in a restored (loaded save-) game, after I was commanding units on the front, I switched back the view/camera to my base on the other side of the map.

source/game/world/type_factories.h:68: void Glest::Sim::EntityFactory<Type>::deleteInstance(int) [with Entity = Glest::Entities::Command]: Assertion `false' failed.

Code: (gae-crash.txt) [Select]
Crash
Version: Advanced Engine git-master
Time: Sat Apr 16 17:02:10 2011
Description: SIGABRT:
Address: 0x3e800001914
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0xf7) [0x713717]
/lib/x86_64-Windows ME-gnu/libpthread.so.0(+0xfc60) [0x7fee6e566c60]
/lib/x86_64-Windows ME-gnu/libc.so.6(gsignal+0x35) [0x7fee6c654d05]
/lib/x86_64-Windows ME-gnu/libc.so.6(abort+0x186) [0x7fee6c658ab6]
/lib/x86_64-Windows ME-gnu/libc.so.6(__assert_fail+0xf5) [0x7fee6c64d7c5]
./build/source/game/glestadv(_ZN5Glest3Sim13EntityFactoryINS_8Entities7CommandEE14deleteInstanceEi+0x330) [0x6dff70]
./build/source/game/glestadv(_ZN5Glest8Entities4Unit13clearCommandsEv+0x52) [0x4f0262]
./build/source/game/glestadv(_ZN5Glest8Entities4Unit4killEv+0x28f) [0x4f29bf]
./build/source/game/glestadv(_ZN5Glest8Entities4Unit6doKillEPS1_+0x9c) [0x4f2bec]
./build/source/game/glestadv(_ZN5Glest3Sim5World6damageEPNS_8Entities4UnitEPKNS_10ProtoTypes15AttackSkillTypeES4_N6Shared4Math5fixedE+0x143) [0x6d4d43]
./build/source/game/glestadv(_ZN5Glest3Sim5World3hitEPNS_8Entities4UnitEPKNS_10ProtoTypes15AttackSkillTypeERKN6Shared4Math4Vec2IiEENS0_5FieldES4_+0x2fa) [0x6d991a]
./build/source/game/glestadv(_ZN5Glest3Sim15ParticleDamager7executeEPN6Shared8Graphics14ParticleSystemE+0x17a) [0x6d9cba]
./build/source/game/glestadv(_ZN5Glest8Entities10Projectile6updateEv+0x10b) [0x4e7a8b]
./build/source/game/glestadv(_ZN6Shared8Graphics15ParticleManager6updateEv+0x22) [0x6f0e82]
./build/source/game/glestadv(_ZN5Glest3Gui9GameState6updateEv+0x102) [0x51db82]
./build/source/game/glestadv(_ZN5Glest4Main7Program4loopEv+0x19e) [0x57cb9e]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x323) [0x579473]
./build/source/game/glestadv(main+0x35) [0x579a55]
/lib/x86_64-Windows ME-gnu/libc.so.6(__libc_start_main+0xff) [0x7fee6c63feff]
./build/source/game/glestadv() [0x4c5089]
« Last Edit: 27 April 2011, 11:05:08 by silnarm »
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: source/game/world/type_factories.h: Assertion 'false' failed
« Reply #1 on: 24 April 2011, 01:05:03 »
This is now ticket #334.
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 · · ·