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

[CS:S]Server crash on commiting suicide


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ReVide
Junior Member
Join Date: Sep 2011
Old 04-01-2012 , 14:39   [CS:S]Server crash on commiting suicide
Reply With Quote #1

As the title about already says, my server crashes whenever a player is commiting suicide with "world", but not every time, just randomly.

Code:
L 04/01/2012 - 19:52:46: "Redfox<3;D<3;D<65><STEAM_0:1:XXXXXXX><TERRORIST>" committed suicide with "world"
Game will not start until both teams have players.
PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20120401195246_1.dmp
success = yes
response:  CrashID=bp-2a2aab75-28f0-4b56-b6e0-677792120401

PreMinidumpCallback: updating dump comment
MM:Source + Sourcemod installed.

Plugins:
Code:
admin-flatfile.smx  basevotes.smx    nominations.smx     RoundEndSound.smx
adminhelp.smx       bhops.smx        playercommands.smx  saysounds.smx
adminmenu.smx       clientprefs.smx  playersvotes.smx    showdamage.smx
antiflood.smx       disabled         randomcycle.smx     sm_super_cmds.smx
basebans.smx        funcommands.smx  rand.smx(Selfmade)            sounds.smx
basechat.smx        funvotes.smx     rBHop.smx(Selfmade)           stamm.smx
basecommands.smx    mapchooser.smx   reservedslots.smx   usb_store.smx(Selfmade)
basecomm.smx        nextmap.smx      Resetscore.smx      vip.smx(Selfmade)
basetriggers.smx    noblock.smx      rockthevote.smx     weapon_restrict.smx
OnPlayerDeath Code:

usb_store:
Code:
public Action:OnPlayerDeath(Handle:event,const String:name[],bool:dontBroadcast){
    new client = GetClientOfUserId(GetEventInt(event, "userid"));
    new pid = FindID(client);
    if(pid == -1)return;
    if (IsValidEntity(player[pid][g_SpriteModel]))
    {
        RemoveEdict(player[pid][g_SpriteModel]);
        player[pid][g_SpriteModel] = -1;
    }
    RemoveHat(client); //Removes Hat entity as same as above
}


Anyone?
ReVide is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-01-2012 , 16:33   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #2

What do you have for the FindID function and RemoveHat:
new pid = FindID(client);
removeHat(client)

might be something in those two that could be causing the crash - just thinking out loud.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 04-01-2012 at 16:34.
TnTSCS is offline
ReVide
Junior Member
Join Date: Sep 2011
Old 04-01-2012 , 17:10   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #3

Code:
stock any:FindID(any:client){
        new String:auth[25];
        if(client <= 0)return -1;
        if(IsClientInGame(client)){
            GetClientAuthString(client, auth, 25);
            for(new i = 0; i <= 48; i++){
                if(StrEqual(auth, player[i][steamid])){return i;}
            }
        }
        return -1;
}
ReVide is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-01-2012 , 17:34   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #4

and if you don't have usb_store running, the crash doesn't happen anymore?
__________________
View my Plugins | Donate
TnTSCS is offline
ReVide
Junior Member
Join Date: Sep 2011
Old 04-01-2012 , 17:34   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #5

It did before i developed it.
ReVide is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-01-2012 , 17:40   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #6

so the store plugin might not be the culprit. I don't know how to read minidumps (very well), but perhaps someone here does.

Plus I think there's a plugin that can deal with crashes and dump files... having trouble finding it though
__________________
View my Plugins | Donate
TnTSCS is offline
ReVide
Junior Member
Join Date: Sep 2011
Old 04-01-2012 , 17:43   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #7

Thanks so far, i will go on research and post results for other ppl..
ReVide is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-01-2012 , 19:10   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #8

Quote:
Originally Posted by TnTSCS View Post
Plus I think there's a plugin that can deal with crashes and dump files... having trouble finding it though
https://forums.alliedmods.net/showthread.php?t=146644
__________________
asherkin is offline
ReVide
Junior Member
Join Date: Sep 2011
Old 04-01-2012 , 19:21   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #9

http://crash.limetech.org/stack.php?pubid=28536

This is it, but what should i do with this?

Okey, so theres sth. wrong with server.so, sourcemod.2.ep2v.so and engine.so, so what should i do now, the installation is up to date..
What should i do with the Stack Traces...
I think its sth. with
Code:
server.so!RadiusDamage(CTakeDamageInfo const&, Vector const&, float, int, CBaseEntity*) + 0x54
What now?

Last edited by ReVide; 04-01-2012 at 19:37. Reason: Is reading the warning about not posting the id's SO HARD TO READ.
ReVide is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-01-2012 , 22:22   Re: [CS:S]Server crash on commiting suicide
Reply With Quote #10

have you run the hldsupdater with the -verify_all flag?
__________________
View my Plugins | Donate
TnTSCS 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 16:53.


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