{"action":"created","issue":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/697","labels_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/697/comments","events_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/697/events","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/697","id":25056882,"number":697,"title":"player_disconnect called from CParallelProcessor crashes on CLuaGamemode::CallWithArgs with !ThreadInMainThread","user":{"login":"Python1320","id":207340,"avatar_url":"https://avatars.githubusercontent.com/u/207340?v=3","gravatar_id":"","url":"https://api.github.com/users/Python1320","html_url":"https://github.com/Python1320","followers_url":"https://api.github.com/users/Python1320/followers","following_url":"https://api.github.com/users/Python1320/following{/other_user}","gists_url":"https://api.github.com/users/Python1320/gists{/gist_id}","starred_url":"https://api.github.com/users/Python1320/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Python1320/subscriptions","organizations_url":"https://api.github.com/users/Python1320/orgs","repos_url":"https://api.github.com/users/Python1320/repos","events_url":"https://api.github.com/users/Python1320/events{/privacy}","received_events_url":"https://api.github.com/users/Python1320/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/labels/crash","name":"crash","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"UnderscoreKilburn","id":5514779,"avatar_url":"https://avatars.githubusercontent.com/u/5514779?v=3","gravatar_id":"","url":"https://api.github.com/users/UnderscoreKilburn","html_url":"https://github.com/UnderscoreKilburn","followers_url":"https://api.github.com/users/UnderscoreKilburn/followers","following_url":"https://api.github.com/users/UnderscoreKilburn/following{/other_user}","gists_url":"https://api.github.com/users/UnderscoreKilburn/gists{/gist_id}","starred_url":"https://api.github.com/users/UnderscoreKilburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnderscoreKilburn/subscriptions","organizations_url":"https://api.github.com/users/UnderscoreKilburn/orgs","repos_url":"https://api.github.com/users/UnderscoreKilburn/repos","events_url":"https://api.github.com/users/UnderscoreKilburn/events{/privacy}","received_events_url":"https://api.github.com/users/UnderscoreKilburn/received_events","type":"User","site_admin":false},"milestone":null,"comments":36,"created_at":"2014-01-04T17:27:09Z","updated_at":"2015-06-21T23:27:44Z","closed_at":null,"body":"```\r\nBillyboy17: lag\r\nGiving Охотниk a weapon_archerbow\r\nBad SetLocalOrigin(-15047.433594,-3763.225586,-27608.164062) on gmod_hands (334)\r\nGiving Охотниk a weapon_archerbow\r\nERROR! SendData reliabe data too big (538718)[Disconnect] 4 Player [3][Pewdiepie]        (STEAM_0:0:1691126101): ERROR! Couldn't send snapshot\r\nERROR! SendData reliabe data too big (539567)[GM:CallWithArgs - !ThreadInMainThread] player_disconnect\r\n[GM:CallWithArgs - !ThreadInMainThread] player_disconnect\r\n\r\n[GM:CallWithArgs - !ThreadInMainThread] player_disconnect\r\n\r\n\r\n\r\n[CRASH] Not on main thread! \r\nSignal 11 at fault (nil), caller = 0xf618acd0 with sicode 1 (Address not mapped)\r\n\r\nRegs> gs 63 fs: 0 es: 2b ds: 2b edi: edd9f64c esi: 1 ebp: edd9f5e8 esp: edd9f1c0 ebx: edd9f1dc edx: 67 ecx: 0\r\n    > eax: e trap: 6 err: f618acd0 eip: 23 cs: 10246 flag: edd9f1c0 sp: 2b ss: 0 cr2: edd9f1dc\r\n\r\nStack trace:\r\n> 1     [0xda92acc4,0xedd9e880] ERROR_SIGNAL_HANDLER_FUNC(int, siginfo*, void*) +0x794                  @ gmsv_segfault_linux.dll+0x4cc4.\r\n> 2     [0xf775e410,0xedd9ee40] ? +0x794                @ linux-gate.so.1+0x410.\r\n> 3     [0xf618acd0,0xedd9f1c0] Sys_Error_Internal(bool, char const*, char*) +0x160             @ engine_srv.so+0x1b8cd0.\r\n> 4     [0xf618ad90,0xedd9f5f0] Sys_Error(char const*, ...) +0x20               @ engine_srv.so+0x1b8d90.\r\n> 5     [0xf618c0f8,0xedd9f610] Sys_SpewFunc(SpewType_t, char const*) +0x2d8            @ engine_srv.so+0x1ba0f8.\r\nDropped Pewdiepie from server (ERROR! Couldn't send snapshot.)\r\n> 6  [0xe985c74d,0xedda1670] newspew(SpewType_t, char const*) +0x27d                 @ gmsv_xterm_linux.dll+0x774d.\r\n> 7     [0xf741cddf,0xedda16d0] _SpewMessage(SpewType_t, char const*, int, Color const*, char const*, char*) +0xbf              @ libtier0_srv.so+0xeddf.\r\n> 8     [0xf741d82c,0xedda2ae0] Error +0x2c             @ libtier0_srv.so+0xf82c.\r\n> 9     [0xee5d2fe8,0xedda2b00] CLuaGamemode::CallWithArgs(char const*) +0x78           @ server_srv.so+0x5d2fe8.\r\n> 10    [0xee5f6fce,0xedda2b20] CLuaGameEventListener::FireGameEvent(IGameEvent*) +0x13e                @ server_srv.so+0x5f6fce.\r\n> 11    [0xf60dcad6,0xedda2b90] CGameEventManager::FireEventIntern(IGameEvent*, bool, bool) +0xd6               @ engine_srv.so+0x10aad6.\r\n> 12    [0xf60dce48,0xedda2be0] CGameEventManager::FireEvent(IGameEvent*, bool) +0x28           @ engine_srv.so+0x10ae48.\r\n> 13    [0xf616387a,0xedda2c00] CGameClient::Disconnect(char const*, ...) +0x15a                @ engine_srv.so+0x19187a.\r\n> 14    [0xf608cf18,0xedda3050] CBaseClient::SendSnapshot(CClientFrame*) +0x578                 @ engine_srv.so+0xbaf18.\r\n> 15    [0xf6165214,0xedda30e0] CGameClient::SendSnapshot(CClientFrame*) +0x1c4                 @ engine_srv.so+0x193214.\r\n> 16    [0xf6175c4f,0xedda3180] SV_ParallelSendSnapshot(CGameClient*&) +0x3f            @ engine_srv.so+0x1a3c4f.\r\n> 17    [0xf617956a,0xedda31a0] CParallelProcessor<CGameClient*, CFuncJobItemProcessor<CGameClient*> >::DoExecute() +0x3a               @ engine_srv.so+0x1a756a.\r\n> 18    [0xf732c307,0xedda31d0] CFunctorJob::DoExecute() +0x17                  @ libvstdlib_srv.so+0x12307.\r\n> 19    [0xf732ce6f,0xedda31f0] CJob::Execute() +0x7f           @ libvstdlib_srv.so+0x12e6f.\r\n> 20    [0xf732db08,0xedda3220] CJobThread::Run() +0x358                @ libvstdlib_srv.so+0x13b08.\r\n> 21    [0xf741f578,0xedda3300] CThread::ThreadProc(void*) +0x88                @ libtier0_srv.so+0x11578.\r\n> 22    [0xf760e00b,0xedda3330] start_thread +0xdb              @ libpthread.so.0+0x700b.\r\n> 23    [0xf754899e,0xedda3430] clone +0x5e             @ libc.so.6+0xf399e.\r\nEND: Unspecified (general) error\r\n\r\nLua Trace:\r\n\r\nSTACK (0): .\r\nUnloading crashhandlers... calling previous crash handler\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/comments/113968504","html_url":"https://github.com/Facepunch/garrysmod-issues/issues/697#issuecomment-113968504","issue_url":"https://api.github.com/repos/Facepunch/garrysmod-issues/issues/697","id":113968504,"user":{"login":"Lumixz","id":9441780,"avatar_url":"https://avatars.githubusercontent.com/u/9441780?v=3","gravatar_id":"","url":"https://api.github.com/users/Lumixz","html_url":"https://github.com/Lumixz","followers_url":"https://api.github.com/users/Lumixz/followers","following_url":"https://api.github.com/users/Lumixz/following{/other_user}","gists_url":"https://api.github.com/users/Lumixz/gists{/gist_id}","starred_url":"https://api.github.com/users/Lumixz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lumixz/subscriptions","organizations_url":"https://api.github.com/users/Lumixz/orgs","repos_url":"https://api.github.com/users/Lumixz/repos","events_url":"https://api.github.com/users/Lumixz/events{/privacy}","received_events_url":"https://api.github.com/users/Lumixz/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T23:27:44Z","updated_at":"2015-06-21T23:27:44Z","body":"His server might crash before it fully prints the error. That's what happens to mine, too. The full error I usually get is: \r\n\r\n>ERROR! SendData reliabe data too big (41816)>\"xxxxxxxxx<230><xxxxxxxxxxx><>\" disconnected (reason >\"ERROR! Couldn't send snapshot.\")\r\n>Dropped xxxxxxxxxxxxxx from server (ERROR! Couldn't send snapshot.)\r\n>Engine error: [GM:CallWithArgs - >!ThreadInMainThread] player_disconnect\r\n\r\nWhere the x's are player name or steam ID. Sometimes more than one person can get kicked, with all of those lines repeating for each kick. Then the server dies.  Sometimes it dies before it even prints the player getting kicked.\r\n"}}