Raised This Month: $12 Target: $400
 3% 

sourcemod.2.csgo.dll crashes server?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 12-07-2016 , 05:28   sourcemod.2.csgo.dll crashes server?
Reply With Quote #1


Since the last CS:GO update at Nov. 28 2016, my casual servers often crash suddenly. The faulting module is sourcemod.2.csgo.dll.
I had tried to find out what causes this problem, here is what I know:
Quote:
1.Not about online player count, what ever how many players are in the game, it may crash suddenly.
2.The crash event usually happens when round end or map end, but sometimes it happens when we are playing, without any omens.
3.Updating MetaMod:Source and SourceMod cannot help.
Would someone please help me to fix it? Thanks a lot!
apocalyptic is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 12-08-2016 , 00:39   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #2

What version of Sourcemod and Metamod are you using? Also a sm plugins list and sm exts list would help as well.
__________________
versatile_bfg is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 12-08-2016 , 00:49   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #3

Quote:
Originally Posted by versatile_bfg View Post
What version of Sourcemod and Metamod are you using? Also a sm plugins list and sm exts list would help as well.
MetaMod:Source 1.10.6
SourceMod 1.9.0.6018
I was using 2 of my custom plugins, other plugins and exts are default.
I'm not sure about my custom plugins, but they have over 5800 lines, so I have to disable my functions one by one to find out what causes this crash problem.
apocalyptic is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 12-08-2016 , 05:05   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #4

If SM is at the top of the stack, which I guess is what your event log is saying, you can probably use Accelerator from the extensions section to get useful information about where SM is crashing.
Fyren is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 12-09-2016 , 09:27   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #5

Here comes an unbelievable thing: once I disable all "OnClientDisconnect" functions in my plugins (also include those default plugins which were come with SourceMod), that crash problem has never happen again.
(https://forums.alliedmods.net/showpo...91&postcount=5 , thank ambn!)
I think there maybe something wrong with this "Disconnect" function. If so, shall it be patched later?
apocalyptic is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-09-2016 , 10:18   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #6

Quote:
Originally Posted by apocalyptic View Post
If so, shall it be patched later?
Without providing a backtrace, such as from Accelerator, or withing providing some sort of test case to reproduce the issue, no, probably not.
psychonic is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 12-09-2016 , 23:29   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #7

Quote:
Originally Posted by psychonic View Post
Without providing a backtrace, such as from Accelerator, or withing providing some sort of test case to reproduce the issue, no, probably not.
So sorry about that, I cannot provide any more information, because I'm not an expert.
apocalyptic is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-09-2016 , 23:57   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #8

Quote:
Originally Posted by apocalyptic View Post
So sorry about that, I cannot provide any more information, because I'm not an expert.
Install Accelerator, and provide links to crash dumps so we can possibly help!
__________________

Last edited by sneaK; 12-09-2016 at 23:58.
sneaK is offline
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Old 12-17-2016 , 21:00   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #9

Thank blackhawk74, asherkin and his Accelerator. I have tested my server for 8 days and gather some debug message. Most of those message show me:
Quote:
sourcemod.2.csgo.dll!__SourceHook_FHCls_IServ erGameClientsClientDisconnect0::Func(edict_t *) [PlayerManager.cpp:71 + 0xa3]
and
Quote:
SH_DECL_HOOK1_void(IServerGameClients, ClientDisconnect, SH_NOATTRIB, 0, edict_t *);
I guess there may be one (or even more?) error about OnClientDisconnect in somewhere of sourcemod.2.csgo.dll, but I cannot do any thing more because I'm not an expert.
Would someone please to help me to fix it?
apocalyptic is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-18-2016 , 05:22   Re: sourcemod.2.csgo.dll crashes server?
Reply With Quote #10

You need to link the crash reports, not just cherry pick some information from it.
__________________
asherkin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode