| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0004775 | Spring engine | General | public | 2015-05-08 01:55 | 2015-05-08 05:50 | ||||
| Reporter | abma | ||||||||
| Assigned To | jK | ||||||||
| Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | 98.0.1+git | ||||||||
| Target Version | 99.0 | Fixed in Version | |||||||
| Summary | 0004775: spring: rts/System/Object.cpp:128: virtual void CObject::AddDeathDependence(CObject*, DependenceType): Assertion `obj != this' f | ||||||||
| Description | spring: rts/System/Object.cpp:128: virtual void CObject::AddDeathDependence(CObject*, DependenceType): Assertion `obj != this' failed. [f=0053584] [CrashHandler] Error: Aborted (SIGABRT) in spring 98.0.1-643-g41c0b11 develop (Debug) [f=0053584] [CrashHandler] Error: Halted Stacktrace for Spring 98.0.1-643-g41c0b11 develop (Debug) using libunwind: [f=0053584] [CrashHandler] Error: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:833 CrashHandler::HaltedStacktrace(std::string const&, siginfo_t*, ucontext*) [f=0053584] [CrashHandler] Error: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:939 CrashHandler::HandleSignal(int, siginfo_t*, void*) [f=0053584] [CrashHandler] Error: [02] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fb25f537d10] __restore_rt [f=0053584] [CrashHandler] Error: [03] /build/buildd/glibc-2.21/signal/../sysdeps/unix/sysv/linux/raise.c:55 __GI_raise [f=0053584] [CrashHandler] Error: [04] /build/buildd/glibc-2.21/stdlib/abort.c:91 __GI_abort [f=0053584] [CrashHandler] Error: [05] /build/buildd/glibc-2.21/assert/assert.c:92 __assert_fail_base [f=0053584] [CrashHandler] Error: [06] /lib/x86_64-linux-gnu/libc.so.6(+0x2e0f2) [0x7fb25b9b00f2] __assert_fail [f=0053584] [CrashHandler] Error: [07] /home/abma/dev/spring/develop/rts/System/Object.cpp:131 CObject::AddDeathDependence(CObject*, DependenceType) [f=0053584] [CrashHandler] Error: [08] /home/abma/dev/spring/develop/rts/Sim/Units/Unit.cpp:1652 CUnit::AttackUnit(CUnit*, bool, bool, bool) [f=0053584] [CrashHandler] Error: [09] /home/abma/dev/spring/develop/rts/Lua/LuaSyncedCtrl.cpp:2006 (discriminator 6) LuaSyncedCtrl::SetUnitTarget(lua_State*) [f=0053584] [CrashHandler] Error: [10] /home/abma/dev/spring/develop/rts/lib/lua/src/ldo.cpp:320 luaD_precall(lua_State*, lua_TValue*, int) [f=0053584] [CrashHandler] Error: [11] /home/abma/dev/spring/develop/rts/lib/lua/src/lvm.cpp:613 luaV_execute(lua_State*, int) [f=0053584] [CrashHandler] Error: [12] /home/abma/dev/spring/develop/rts/lib/lua/src/ldo.cpp:379 luaD_call(lua_State*, lua_TValue*, int) [f=0053584] [CrashHandler] Error: [13] /home/abma/dev/spring/develop/rts/lib/lua/src/lapi.cpp:813 f_call(lua_State*, void*) [f=0053584] [CrashHandler] Error: [14] /home/abma/dev/spring/develop/rts/lib/lua/src/ldo.cpp:119 luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) [f=0053584] [CrashHandler] Error: [15] /home/abma/dev/spring/develop/rts/lib/lua/src/ldo.cpp:464 luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) [f=0053584] [CrashHandler] Error: [16] /home/abma/dev/spring/develop/rts/lib/lua/src/lapi.cpp:833 lua_pcall(lua_State*, int, int, int) [f=0053584] [CrashHandler] Error: [17] /home/abma/dev/spring/develop/rts/Lua/LuaHandle.cpp:294 (discriminator 1) CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const*, int, int, int, std::string&, [...] [f=0053584] [CrashHandler] Error: [18] /home/abma/dev/spring/develop/rts/Lua/LuaHandle.cpp:364 CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const*, int, int, int, std::string&, bool) [f=0053584] [CrashHandler] Error: [19] /home/abma/dev/spring/develop/rts/Lua/LuaHandle.cpp:374 CLuaHandle::RunCallInTraceback(lua_State*, LuaHashString const&, int, int, int, bool) [f=0053584] [CrashHandler] Error: [20] /home/abma/dev/spring/develop/rts/Lua/LuaHandle.cpp:838 CLuaHandle::UnitDestroyed(CUnit const*, CUnit const*) [f=0053584] [CrashHandler] Error: [21] /home/abma/dev/spring/develop/rts/System/EventHandler.h:367 (discriminator 4) CEventHandler::UnitDestroyed(CUnit const*, CUnit const*) [f=0053584] [CrashHandler] Error: [22] /home/abma/dev/spring/develop/rts/Sim/Units/Unit.cpp:599 CUnit::KillUnit(CUnit*, bool, bool, bool) [f=0053584] [CrashHandler] Error: [23] /home/abma/dev/spring/develop/rts/Sim/Units/Unit.cpp:1309 CUnit::DoDamage(DamageArray const&, float3 const&, CUnit*, int, int) [f=0053584] [CrashHandler] Error: [24] /home/abma/dev/spring/develop/rts/Game/GameHelper.cpp:148 CGameHelper::DoExplosionDamage(CUnit*, CUnit*, float3 const&, float, float, float, bool, Damag [...] [f=0053584] [CrashHandler] Error: [25] /home/abma/dev/spring/develop/rts/Game/GameHelper.cpp:218 (discriminator 3) CGameHelper::DamageObjectsInExplosionRadius(CGameHelper::ExplosionParams const&, float, int) [f=0053584] [CrashHandler] Error: [26] /home/abma/dev/spring/develop/rts/Game/GameHelper.cpp:288 CGameHelper::Explosion(CGameHelper::ExplosionParams const&) [f=0053584] [CrashHandler] Error: [27] /home/abma/dev/spring/develop/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.cpp:174 CWeaponProjectile::Explode(CUnit*, CFeature*, float3, float3) [f=0053584] [CrashHandler] Error: [28] /home/abma/dev/spring/develop/rts/Sim/Projectiles/WeaponProjectiles/WeaponProjectile.cpp:225 CWeaponProjectile::Collision(CUnit*) [f=0053584] [CrashHandler] Error: [29] /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:403 CProjectileHandler::CheckUnitCollisions(CProjectile*, std::vector<CUnit*, std::allocator<CUnit [...] [f=0053584] [CrashHandler] Error: [30] /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:467 CProjectileHandler::CheckUnitFeatureCollisions(ThreadListSim<std::list<CProjectile*, std::allo [...] [f=0053584] [CrashHandler] Error: [31] /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:508 CProjectileHandler::CheckCollisions() [f=0053584] [CrashHandler] Error: [32] /home/abma/dev/spring/develop/rts/Sim/Projectiles/ProjectileHandler.cpp:239 CProjectileHandler::Update() [f=0053584] [CrashHandler] Error: [33] /home/abma/dev/spring/develop/rts/Game/Game.cpp:1579 CGame::SimFrame() [f=0053584] [CrashHandler] Error: [34] /home/abma/dev/spring/develop/rts/Net/NetCommands.cpp:513 CGame::ClientReadNet() [f=0053584] [CrashHandler] Error: [35] /home/abma/dev/spring/develop/rts/Game/Game.cpp:1024 CGame::Update() [f=0053584] [CrashHandler] Error: [36] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:939 SpringApp::Update() [f=0053584] [CrashHandler] Error: [37] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:975 SpringApp::Run() [f=0053584] [CrashHandler] Error: [38] /home/abma/dev/spring/develop/rts/System/Main.cpp:48 Run(int, char**) [f=0053584] [CrashHandler] Error: [39] /home/abma/dev/spring/develop/rts/System/Main.cpp:108 main [f=0053584] [CrashHandler] Error: [40] /build/buildd/glibc-2.21/csu/libc-start.c:323 __libc_start_main [f=0053584] [CrashHandler] Error: [41] ./spring(_start+0x29) [0x5a8d19] ??  | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files | 
  | ||||||||
 Notes	 | 
|
| 
				
		 abma (administrator) 2015-05-08 01:57  | 
	sorry, quiet long demo... happened when testing for 0004769 | 
| 
				
		 abma (administrator) 2015-05-08 02:03  | 
	second demo is shorter | 
| 
				
		 abma (administrator) 2015-05-08 02:15  | 
	very difficult to reproduce! | 
| 
				
		 jK (developer) 2015-05-08 04:46  | 
	the unit is attacking itself o_O | 
| 
				
		 jK (developer) 2015-05-08 05:50  | 
	Fix c6314d2f0e00e20ca514a9a7feb912cbfda1641a committed to develop branch: fix 0004775: units trying to attack themselves, repo: spring changeset id: 4957 | 
 Issue History			 | 
		|||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2015-05-08 01:55 | abma | New Issue | |
| 2015-05-08 01:56 | abma | File Added: 20150508_013020_DeltaSiegeDry_98.0.1-643-g41c0b11 develop.sdf | |
| 2015-05-08 01:57 | abma | Note Added: 0014441 | |
| 2015-05-08 02:03 | abma | File Added: 20150508_015335_DeltaSiegeDry_98.0.1-643-g41c0b11 develop.sdf | |
| 2015-05-08 02:03 | abma | Note Added: 0014442 | |
| 2015-05-08 02:15 | abma | Note Added: 0014443 | |
| 2015-05-08 04:46 | jK | Note Added: 0014446 | |
| 2015-05-08 05:50 | jK | Changeset attached | => spring develop c6314d2f | 
| 2015-05-08 05:50 | jK | Note Added: 0014447 | |
| 2015-05-08 05:50 | jK | Assigned To | => jK | 
| 2015-05-08 05:50 | jK | Status | new => resolved | 
| 2015-05-08 05:50 | jK | Resolution | open => fixed | 

	
