AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SM_Hosties (https://forums.alliedmods.net/forumdisplay.php?f=155)
-   -   Server crash when LR (https://forums.alliedmods.net/showthread.php?t=301048)

toxiic5760 09-06-2017 12:25

Server crash when LR
 
Hi guys,

I got few problems on my JB server since a little time now.

So when i make a LR, and when the LR slay the player who lose, the server crash.

I tested all the LR so there is a list of crashing LR with Accelerator log :

- Hot potatoes : https://crash.limetech.org/enytufdrk7ij

- Chicken Fight : https://crash.limetech.org/hkx35fr26xho

- Rock Paper Cissors : https://crash.limetech.org/ujjx5uapf5bb

- Race : https://crash.limetech.org/p2lcrqjwk7xx

Here this some info on the server :

SM Version :

Spoiler


MM:S Version :

Spoiler


Meta List :

Spoiler


Plugins list :

Spoiler


Ext list :

Spoiler


SM_Hosties infos :

Spoiler


So if someone can maybe help me ! :)
Thanks!

Hallucinogenic Troll 09-07-2017 04:41

Re: Server crash when LR
 
Somehow my server is also crashing with "Hot Potato" 's LR.

Same Sourcemod and Metamod versions as OP.

toxiic5760 09-07-2017 15:04

Re: Server crash when LR
 
You got accelerator log maybe ?

databomb 09-07-2017 16:03

Re: Server crash when LR
 
All the crashes are coming from a plugin doing something in OnGameFrame. Hosties does not have *any* code in OnGameFrame. So it looks to be a confirmed case of a plugin conflict. To find the plugin conflict, download *all* the SP files for all plugins and then grep for OnGameFrame and remove each plugin that has OnGameFrame code one by one until you find the conflict.

I would recommend starting with these:
19 "Disable Radar" (1.2) by Internet Bully
32 "wmenu.smx"
45 "Thirdperson Mode" (1.0) by Zephyrus
46 "gloves_hotfix (1).smx"
50 "SimpleCSGOAntiAFK" (0.0.8) by Puppetmaster
56 "HUD Write" (1.2) by Mithat Guner

toxiic5760 09-07-2017 16:56

Re: Server crash when LR
 
Hey, i disable the plugin which are in the list and its crash again, so i'll check all the .sp tomorrow, thanks !

Papero 09-08-2017 08:15

Re: Server crash when LR
 
Quote:

Originally Posted by Hallucinogenic Troll (Post 2547247)
Somehow my server is also crashing with "Hot Potato" 's LR.

Same Sourcemod and Metamod versions as OP.

It's fixed, use the latest beta: https://github.com/dataviruset/sm-hosties/tree/beta

Quote:

Originally Posted by toxiic5760
[...]

I was having problems only with the "Hot Potato" LR

toxiic5760 09-17-2017 12:42

Re: Server crash when LR
 
Hi again!

So i tested all plugins by removing one by one until the last and the server always crash

databomb 09-17-2017 16:54

Re: Server crash when LR
 
Did you search all of the other plugin SP files for OnGameFrame? Or did you run the server with *only* Hosties running and it still crashes? If so, is the crash trace the exact same or different than the ones you posted above?

toxiic5760 09-22-2017 11:31

Re: Server crash when LR
 
I search others SP with OnGameFrame and the only one was the Store by Zephyrus, i gonna try with only Hosties and drop you the crash report.

toxiic5760 09-22-2017 11:49

Re: Server crash when LR
 
So there is the crash report with only SM_Hosties on the server : https://crash.limetech.org/ps6beagbi7uv

databomb 09-23-2017 07:28

Re: Server crash when LR
 
toxiic5760, good work and thanks for the patience. I should have asked you to test just Hosties on its own before going through the others. It looked like OnGameFrame code but I guess taking another look it could be any timer we have in Hosties. So I have not completely isolated the issue yet based on the stack trace. Try this fix:
https://github.com/dataviruset/sm-ho...40d633511fd218

Also, does this happen *every* time during these LRs or only some of the time?

toxiic5760 09-24-2017 07:01

Re: Server crash when LR
 
So i tested with the fix and it crash : https://crash.limetech.org/d2axn3zts22n

And yes, its seems like crash *every* time

databomb 09-24-2017 10:39

Re: Server crash when LR
 
Still not sure why this would happen all of the sudden. CS:GO devs seem to make a lot of breaking changes...

Try setting:
sm_hosties_lr_beacon 0
sm_hosties_lr_beams 0

Then try:
sm_hosties_lr_cf_slay 0
And see if Chicken Fight still causes the crash.

toxiic5760 09-24-2017 11:32

Re: Server crash when LR
 
There is no crash with Chicken Fight, the looser turn yellow and that all.

Others LR make crash : https://crash.limetech.org/qfjzfrbsbkdr

databomb 09-24-2017 17:42

Re: Server crash when LR
 
Okay, try this fix for the Rock Paper Scissors crash:

https://github.com/dataviruset/sm-ho...6967ab355ba398

The test is to have Rock Paper Scissors Last Request and one player needs to Cancel the menu. This will cause them to be slayed. The server should not crash when this happens..

Really puzzled on this. I mean, at one point the ForcePlayerSuicide signature was broken and we temporarily replaced it with an entity that just caused damage instead. This is an option in this case as well.

toxiic5760 09-25-2017 11:46

Re: Server crash when LR
 
So i tested the fix and the Rock Paper Scissors LR don't make crash and the player is slay, well played ^^

databomb 09-25-2017 19:29

Re: Server crash when LR
 
Okay! Still not exactly sure why but the problem seems to be caused by slaying players at certain times. It is documented that player_hurt slays cause crashes and we tried delaying one game-frame without help. With RPS we delayed 0.1 seconds and it fixed the crash. So the next step is to go back and change the other calls to have a 0.1 second delay for slays, add in some additional safety checks, and we will need to test again. I should have time in a few hours to work on this commit.

databomb 09-25-2017 22:39

Re: Server crash when LR
 
https://github.com/dataviruset/sm-ho...74397e4ea21189

This commit changes the delay time to 0.1 seconds, which was what worked for RPS and it does it for every slay in CS:GO. If the problem is related to calling a slay during certain callbacks then this should fix that.

toxiic5760 09-26-2017 11:26

Re: Server crash when LR
 
Hey,
I tested the last version, and RPS works with no problem but race and hot potato are still make crash
( https://crash.limetech.org/5w3nup2dfht3 )

databomb 09-27-2017 01:52

Re: Server crash when LR
 
And Race and Hot Potato both crash as soon as someone wins?

Post your hosties config file so I can see your race and hot potato convars.

toxiic5760 09-27-2017 02:27

Re: Server crash when LR
 
Yep they crashing just after someone win, no time to slay the looser.

There is my .cfg https://pastebin.com/d01UDMz1

databomb 09-27-2017 22:26

Re: Server crash when LR
 
Is the crash occurring BEFORE the chat message is printed? There is a 0.1 second delay between slaying and the chat messages now so that should be enough time to print the chat message and have it in the console to review. If there is no chat message then maybe it is not only the slaying but something else causing the crash. Also, this only seems to be affecting you and I'm not sure why that is -- that or others have just disabled these 2 LRs. Is anyone else having this crash with the latest beta with Race or Hot Potato?

toxiic5760 09-29-2017 15:02

Re: Server crash when LR
 
The crash seems to be before the chat message I see nothing in the console to.
Spoiler


And I discover when i make /slay @all with minimum two players the server crash : https://crash.limetech.org/gcjhqh4x4hub

Weird :/

databomb 09-29-2017 19:53

Re: Server crash when LR
 
Ok, then the best thing to do is try and make the !slay @all crash not happen and then come back to SM Hosties to see if there are any SM Hosties crashes left. Have you updated your SM and gamedata?

toxiic5760 10-01-2017 04:40

Re: Server crash when LR
 
Yep SM is update to 6027 and gamedata are update to.

And I tried !slay @all in warmup and it doesn't crash

databomb 10-01-2017 10:49

Re: Server crash when LR
 
!slay @all still crashes when not in warmup? Have you tried removing DHooks and any DHooks plugins?

toxiic5760 10-01-2017 13:03

Re: Server crash when LR
 
!slay @all don't make crash in warmup and crash when not in warmup yep, with ou without DHooks

databomb 10-01-2017 18:54

Re: Server crash when LR
 
I think these two problems are related, but I'm out of ideas on what to try except running a Steam verify command on the CS:GO server. Maybe post in SourceMod general forum to try and get more ideas on why !slay @all is crashing the server outside of warmup. This looks like an isolated incident based on the number of servers having the issue from the logs.

toxiic5760 10-02-2017 04:17

Re: Server crash when LR
 
What do you mean by a Steam verify command ?

databomb 10-02-2017 11:29

Re: Server crash when LR
 
https://developer.valvesoftware.com/...amCMD#Validate

toxiic5760 10-02-2017 15:28

Re: Server crash when LR
 
Oh yeah, i already try that lol.

Thank's for your help and your work, i will try on SM general forum :)

toxiic5760 12-22-2017 14:27

Re: Server crash when LR
 
Hey ! After long search and many try i found something, THE plugins who makes me crash but i dont understand why and how.
That's the warden plugin ( i firstly use this : https://forums.alliedmods.net/showthread.php?p=2467126 )
And try this after : https://forums.alliedmods.net/showthread.php?p=2541919

But the two plugins makes same crash.
When i try to remove this plugins, the crash remains.

I dont know if you can help me but i try everything lol.


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

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