Thanks that's an amazing tool, always wondered if there was a lightweight app like this.
So i've commented every functions with CPlayer and includes to it, commented CPlayer from AMBuilder. And more information about the previous and actual segfaults.
And i still segfault at connection with this error (without CPlayer) :
Code:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
What i have with bt in gdb :
Code:
#1 0xd8f2c5fa in CEntity::entindex_non_network (this=0xdd52e88)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:1108
#2 0xd8f29acc in CEntity::InternalGetServerClass (this=0xdd52e88)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:422
#3 0xd8f382c8 in fastdelegate::FastDelegate0<ServerClass*>::operator() (
this=0xdd54214)
at /home/blacklagoon/extension/mmsource-1.10/core/sourcehook/FastDelegate.h:909
#4 0xd8f33d91 in __SourceHook_MFHCls_GetServerClass::CMyDelegateImpl::Call (
this=0xdd54210)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:58
#5 0xd8f33e5d in __SourceHook_MFHCls_GetServerClass::Func (this=0xee24cf8)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:58
#6 0xdf870d35 in CServerNetworkProperty::CacheServerClass() ()
from .../csgo/bin/server.so
#7 0xdf5cbe6a in CBaseEntity::PostConstructor(char const*) ()
from .../csgo/bin/server.so
#8 0xd8f3b8ce in PostConstructorClass::PostConstructor (this=0xee24cf8,
---Type <return> to continue, or q <return> to quit---(gdb) bt
#0 0x00000000 in ?? ()
#1 0xd8f2c5fa in CEntity::entindex_non_network (this=0xdd52e88)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:1108
#2 0xd8f29acc in CEntity::InternalGetServerClass (this=0xdd52e88)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:422
#3 0xd8f382c8 in fastdelegate::FastDelegate0<ServerClass*>::operator() (
this=0xdd54214)
at /home/blacklagoon/extension/mmsource-1.10/core/sourcehook/FastDelegate.h:909
#4 0xd8f33d91 in __SourceHook_MFHCls_GetServerClass::CMyDelegateImpl::Call (
this=0xdd54210)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:58
#5 0xd8f33e5d in __SourceHook_MFHCls_GetServerClass::Func (this=0xee24cf8)
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:58
#6 0xdf870d35 in CServerNetworkProperty::CacheServerClass() ()
from .../csgo/bin/server.so
#7 0xdf5cbe6a in CBaseEntity::PostConstructor(char const*) ()
from .../csgo/bin/server.so
#8 0xd8f3b8ce in PostConstructorClass::PostConstructor (this=0xee24cf8,
---Type <return> to continue, or q <return> to quit---
szClassname=0xfb334974 "worldspawn")
at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntityManager.cpp:71
#9 0xdf8e889c in CEntityFactory<CWorld>::Create(char const*) ()
from .../csgo/bin/server.so
#10 0xdf777859 in CreateEntityByName(char const*, int, bool) ()
from .../csgo/bin/server.so
#11 0xdf74ee82 in CMapLoadEntityFilter::CreateNextEntity(char const*) ()
from .../csgo/bin/server.so
#12 0xdf778988 in MapEntity_ParseEntity(CBaseEntity*&, char const*, IMapEntityFilter*) () from .../csgo/bin/server.so
#13 0xdf778f5f in MapEntity_ParseAllEntities(char const*, IMapEntityFilter*, bool) () from ../csgo/bin/server.so
#14 0xdf74dc83 in CServerGameDLL::LevelInit(char const*, char const*, char const*, char const*, bool, bool) ()
from /home/users/dayz/csgo-dayz-1/csgo/bin/server.so
#15 0xdedb6d2b in __SourceHook_MFHCls_SGD_LevelInit::Func(char const*, char const*, char const*, char const*, bool, bool) ()
from /home/users/something/srcds dir/csgo/../csgo/addons/metamod/bin/metamod.2.csgo.so
And here's more info about the player entity segfault at server loading with the m_iArmorValue (With CPlayer) :
Code:
Program received signal SIGSEGV, Segmentation fault.
0xdba23d08 in CBaseEdict::GetNetworkable (this=0x0) at /home/blacklagoon/extension/hl2sdk-csgo/public/edict.h:366
366 /home/blacklagoon/extension/hl2sdk-csgo/public/edict.h: No such file or directory.
(gdb) bt
#0 0xdba23d08 in CBaseEdict::GetNetworkable (this=0x0) at /home/blacklagoon/extension/hl2sdk-csgo/public/edict.h:366
#1 0xdba420b4 in CPlayer::m_ArmorValuePropTracker::InitProp (this=0xdba898a0 <CPlayer::m_ArmorValuePropTrackerObj>, pEnt=0xdbeab38) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CPlayer.h:139
#2 0xdba2bf12 in CEntity::InitProps (this=0xdbeab38) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:1180
#3 0xdba3b68d in CEntityManager::CBaseEntityPostConstructor (this=0xd7c67c8, pEntity=0xdcf2118, szClassname=0xe27f0418 "player") at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntityManager.cpp:277
#4 0xdba3ae65 in PostConstructorClass::PostConstructor (this=0xdcf2118, szClassname=0xe27f0418 "player") at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntityManager.cpp:72
#5 0xe212c6b9 in CBaseMultiplayerPlayer::PostConstructor(char const*) () from .../csgo/bin/server.so
#6 0xe21e137c in CEntityFactory<CCSPlayer>::Create(char const*) () from .../csgo/bin/server.so
#7 0xe22b0859 in CreateEntityByName(char const*, int, bool) () from .../csgo/bin/server.so
#8 0xe2404808 in UTIL_PrecacheOther(char const*, char const*) () from .../csgo/bin/server.so
#9 0xe21a8587 in playerPrecache::CResourcePrecacher::Cache(IPrecacheHandler*, bool, ResourceList_t__*, bool) () from .../csgo/bin/server.so
#10 0xe4cfe00f in CPrecacheSystem::Cache(IPrecacheHandler*, PrecacheSystem_t, char const*, bool, ResourceList_t__*, bool) () from .../srcds_run dir/bin/datacache.so
#11 0xe1f9a9f1 in CPrecacheRegister::LevelInitPreEntity() () from /home/users/dayz/csgo-dayz-1/csgo/bin/server.so
#12 0xe1f7caf0 in IGameSystem::LevelInitPreEntityAllSystems(char const*) () from .../csgo/bin/server.so
#13 0xe241f6cd in CWorld::Precache() () from ../csgo/bin/server.so
#14 0xdba33c8a in __SourceHook_MFHCls_Precache::Func (this=0xda6a380) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:63
#15 0xdba291dc in CEntity::Precache (this=0xda6a788) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:427
#16 0xdba44728 in CE_CWorld::Precache (this=0xda6a788) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CWorld.cpp:16
#17 0xdba2929c in CEntity::InternalPrecache (this=0xda6a788) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:427
#18 0xdba36fac in fastdelegate::FastDelegate0<void>::operator() (this=0xda6b794) at /home/blacklagoon/extension/mmsource-1.10/core/sourcehook/FastDelegate.h:909
#19 0xdba33b0d in __SourceHook_MFHCls_Precache::CMyDelegateImpl::Call (this=0xda6b790) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:63
#20 0xdba33bd5 in __SourceHook_MFHCls_Precache::Func (this=0xda6a380) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:63
#21 0xe241f1bc in CWorld::Spawn() () from .../csgo/bin/server.so
#22 0xdba307f0 in __SourceHook_MFHCls_Spawn::Func (this=0xda6a380) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:47
#23 0xdba28480 in CEntity::Spawn (this=0xda6a788) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:417
#24 0xdba28540 in CEntity::InternalSpawn (this=0xda6a788) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:417
#25 0xdba36fac in fastdelegate::FastDelegate0<void>::operator() (this=0xcd3c5dc) at /home/blacklagoon/extension/mmsource-1.10/core/sourcehook/FastDelegate.h:909
#26 0xdba30673 in __SourceHook_MFHCls_Spawn::CMyDelegateImpl::Call (this=0xcd3c5d8) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:47
#27 0xdba3073b in __SourceHook_MFHCls_Spawn::Func (this=0xda6a380) at /home/blacklagoon/extension/sourcemod/extensions/hl2ents/Extension/CEntity/CEntity.cpp:47
#28 0xe2404c48 in DispatchSpawn(CBaseEntity*, bool) () from ....csgo/bin/server.so
#29 0xe22b1b02 in CMapEntitySpawner::AddEntity(CBaseEntity*, char const*, int) () from ....csgo/bin/server.so
#30 0xe22b1f8e in MapEntity_ParseAllEntities(char const*, IMapEntityFilter*, bool) () from /csgo/bin/server.so
#31 0xe2286c83 in CServerGameDLL::LevelInit(char const*, char const*, char const*, char const*, bool, bool) () from .../csgo/bin/server.so
#32 0xe17b6d2b in __SourceHook_MFHCls_SGD_LevelInit::Func(char const*, char const*, char const*, char const*, bool, bool) () from .../csgo/../csgo/addons/metamod/bin/metamod.2.csgo.so
#33 0x00000000 in ?? ()