Hoping someone can give me some insight as to how to fix this problem. I'm running on a linux box
(Linux doipvp4 2.6.32-042stab108.5 #1 SMP Wed Jun 17 20:20:17 MSK 2015 x86_64 x86_64 x86_64 GNU/Linux, 1 cpu, 2gb ram) with the following command:
Code:
LD_LIBRARY_PATH=/opt/doiserver:/opt/doiserver/bin:{$LD_LIBRARY_PATH} sudo -u doi /opt/doiserver/srcds_run -debug +maxplayers 40 -game doi +map crete invasion
If I remove the sourcemod.vmx file from addons the server works, with it I get a segfault and a core dump. This happens even without any plugins enabled or even present in the sourcemod path. I compiled the latest sourcemod myself on the server to see if it addressed the issue but ended up with the same error albeit with a complete backtrace available from gdb as follows:
Code:
#0 0xad13f83d in Curl_setup_transfer (conn=0xb2782b24, sockindex=0, size=-1, getheader=true, bytecountp=0x21, writesockindex=0,
writecountp=0xad156340 <Curl_http+7402>) at /root/alliedmodders/sourcemod/extensions/curl/curl-src/lib/transfer.c:2629
#1 0xad1562ff in Curl_http (conn=0xb2782b24, done=0xb239897b <_V_strlower(char*)+11>)
at /root/alliedmodders/sourcemod/extensions/curl/curl-src/lib/http.c:2735
#2 0xad5ef137 in PlayerManager::OnServerActivate (this=0xad6a68a0 <g_Players>, pEdictList=0xad93c020, edictCount=1073,
clientMax=40) at /root/alliedmodders/sourcemod/core/PlayerManager.cpp:302
#3 0xad5f8203 in fastdelegate::FastDelegate3<edict_t*, int, int, void>::operator() (this=0xabe758c, p1=0xad93c020, p2=1073,
p3=40) at /root/alliedmodders/mmsource-1.10/core/sourcehook/FastDelegate.h:1164
#4 0xad5f735d in __SourceHook_FHCls_IServerGameDLLServerActivate0::CMyDelegateImpl::Call (this=0xabe7588, p1=0xad93c020,
p2=1073, p3=40) at /root/alliedmodders/sourcemod/core/PlayerManager.cpp:83
#5 0xad5f754a in __SourceHook_FHCls_IServerGameDLLServerActivate0::Func (this=0xb288b5d8 <g_ServerGameDLL>, p1=0xad93c020,
p2=1073, p3=40) at /root/alliedmodders/sourcemod/core/PlayerManager.cpp:83
#6 0xb6119769 in CServerPlugin::ServerActivate(edict_t*, int, int) () from /opt/doiserver/bin/engine_srv.so
#7 0xb610eda9 in SV_ActivateServer() () from /opt/doiserver/bin/engine_srv.so
#8 0xb607bd73 in Host_NewGame(char*, char*, bool, bool, bool, char const*, char const*) () from /opt/doiserver/bin/engine_srv.so
#9 0xb608463d in CHostState::State_NewGame() () from /opt/doiserver/bin/engine_srv.so
#10 0xb6084d76 in CHostState::FrameUpdate(float) () from /opt/doiserver/bin/engine_srv.so
#11 0xb6084dc7 in HostState_Frame(float) () from /opt/doiserver/bin/engine_srv.so
#12 0xb612c7da in CEngine::Frame() () from /opt/doiserver/bin/engine_srv.so
#13 0xb6128eb7 in CDedicatedServerAPI::RunFrame() () from /opt/doiserver/bin/engine_srv.so
#14 0xb6de96ee in RunServer(bool) () from /opt/doiserver/bin/dedicated_srv.so
#15 0xb6de8adc in CDedicatedExports::RunServer() () from /opt/doiserver/bin/dedicated_srv.so
#16 0xb6128ffe in CModAppSystemGroup::Main() () from /opt/doiserver/bin/engine_srv.so
#17 0xb6175660 in CAppSystemGroup::Run() () from /opt/doiserver/bin/engine_srv.so
#18 0xb61299b8 in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /opt/doiserver/bin/engine_srv.so
#19 0xb6de983f in CDedicatedAppSystemGroup::Main() () from /opt/doiserver/bin/dedicated_srv.so
#20 0xb6e0ebb0 in CAppSystemGroup::Run() () from /opt/doiserver/bin/dedicated_srv.so
#21 0xb6e10edb in CSteamApplication::Main() () from /opt/doiserver/bin/dedicated_srv.so
#22 0xb6e0ebb0 in CAppSystemGroup::Run() () from /opt/doiserver/bin/dedicated_srv.so
#23 0xb6da2cd8 in main () from /opt/doiserver/bin/dedicated_srv.so
#24 0xb6deacf4 in DedicatedMain () from /opt/doiserver/bin/dedicated_srv.so
#25 0x080487fc in main ()
The relevant line in the referenced source is here:
https://github.com/alliedmodders/sou...ansfer.c#L2629
I'd appreciate any insight at all at this point. If you need any more information from my server to help diagnose I'd be happy to provide it.