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

Server crashes randomly


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 12-29-2015 , 16:38   Server crashes randomly
Reply With Quote #1

Here is the crash report: https://crash.limetech.org/tuz722g65ndu
The server will crash randomly throughout the day.

With my limited knowledge this is all I can get from it:

sdktools.ext.2.csgo.dll!__SourceHook_MFHCls_PlayerRunCmdHook::Func(CUserCmd *,IMoveHelper *) [hooks.cpp:47 + 0xab]

The only plugin that uses that forward is the latest version of SMAC, unedited.
It looks like there was also no players at that time:

Code:
L 12/29/2015 - 16:04:20: [umc-endvote.smx] Starting an end of map vote.
L 12/29/2015 - 16:04:20: [umc-core.smx] Initiating Vote Type: Map
L 12/29/2015 - 16:04:20: [umc-core.smx] Could not start core vote, no players to display vote to!
L 12/29/2015 - 16:04:20: [umc-endvote.smx] Could not start UMC vote.
meta version
Metamod:Source version 1.10.6
Built from: https://github.com/alliedmodders/met...commit/9fed12f
Build ID: 946:9fed12f
Loaded As: Valve Server Plugin
Compiled on: Sep 10 2015
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

sm version
SourceMod Version Information:
SourceMod Version: 1.7.3-dev+5283
SourcePawn Engine: SourcePawn 1.7, jit-x86 (build 1.7.3-dev+5283)
SourcePawn API: v1 = 4, v2 = 6
Compiled on: Dec 17 2015 12:18:42
Built from: https://github.com/alliedmodders/sou...commit/07ef209
Build ID: 5283:07ef209
http://www.sourcemod.net/
dilalmon is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 12-29-2015 , 16:47   Re: Server crashes randomly
Reply With Quote #2

So this is not a scripting question? If that is the case, please report this topic and kindly ask moderators to move it to the proper forum section.
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 12-29-2015 , 16:54   Re: Server crashes randomly
Reply With Quote #3

It still has to be scripting because I don't think I would have a stack race with PlayerRunCmdHook otherwise.
I can't figure out where it's coming from because the only plugins that use that forward is SMAC and they usually only involve adding counters.
dilalmon is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-29-2015 , 17:05   Re: Server crashes randomly
Reply With Quote #4

You are only seeing the hook in the backtrace because the PlayerRunCmd function happens every frame and there is a hook on it. The actual crash is happening many server functions deeper than PlayerRunCmd and is not being caused by a plugin, at least not directly.
psychonic is offline
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 12-29-2015 , 18:34   Re: Server crashes randomly
Reply With Quote #5

Is there anything I can do to help fix this problem?

I don't know where to start...
dilalmon is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-29-2015 , 20:39   Re: Server crashes randomly
Reply With Quote #6

You can try removing plugins bit by bit to see if the problem goes away, but since it happens seemingly randomly, that could take a while and still not give concrete results.

Alternatively, it's possible to find out what game function that it's crashing within, and other functions up the stack, but that can take much knowledge and effort to look up the rebased addresses in the matching Windows binary and translate them back to named functions by comparing to the Linux binary (or just run with the same configuration on a Linux server pointed at Accelerator and hope for the same crash).
psychonic is offline
dilalmon
AlliedModders Donor
Join Date: Apr 2013
Old 12-30-2015 , 02:25   Re: Server crashes randomly
Reply With Quote #7

Sounds like something I can't do at the moment.
I'd love to learn to do it, though. Crashes are server killers and would love to have these things resolved.
Is there any guide where I can do this?
dilalmon is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 01-01-2016 , 20:21   Re: Server crashes randomly
Reply With Quote #8

I'm getting the same crash reports as you (several times a day), but I assume they may not be related based on psychonic's reply. I've sent you a PM to add you on Steam so we can perhaps compare logs, plugins list ..etc to see if there's anything similiar.

https://crash.limetech.org/j5u6vajoik2b
https://crash.limetech.org/nfspohgkd5pe
https://crash.limetech.org/eilbk5eq7lu4
__________________
4bdul is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-01-2016 , 20:40   Re: Server crashes randomly
Reply With Quote #9

You guys have the same crash - see that the functions at the top are the same.

EDIT: And the crash is in CCSGOPlayerAnimState::DoAnimationEvent.
EDIT 2: Which, if I'm understanding this correctly, the exact location is when handling animation event '4' (haven't figured that one out yet, but it transitions into the ACT_CSGO_FIRE_PRIMARY activity).
EDIT 3: It is probably a dodgy player model - are you running anything like skinchooser? Also you owe me kthx.
EDIT 4: Yeah, anim event 4 is triggered from FX_FireBullets.
EDIT 5: And here you can see that it is a common occurrence across many servers: https://crash.limetech.org/stats/ser...AnimationEvent
__________________

Last edited by asherkin; 01-02-2016 at 15:40.
asherkin is offline
wlsrhkd41
Member
Join Date: Oct 2015
Old 01-02-2016 , 06:16   Re: Server crashes randomly
Reply With Quote #10

i am same problem with 4bdul ...
wlsrhkd41 is offline
Reply



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 08:12.


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