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

[CSGO] plugin reload random crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 12-18-2020 , 11:23   [CSGO] plugin reload random crash
Reply With Quote #1

I have a problem on my server.
Reloading a random plugin via "sm reload" is likely to crash the server.
I investigated the problem a little. Both destructor and then constructor are executed without any problems, and then the server crashes. If I do "sm unload" the server may also crash after the destructor is executed. It happens with any plugin even with simple ones without hooks (the tracestacks are attached)

SourceMod Version: 1.10.0.6499
SourcePawn Engine: 1.10.0.6499, jit-x86 (build 1.10.0.6499)
SourcePawn API: v1 = 5, v2 = 12
Metamod:Source version 1.12.0-dev+1145
CentOS Linux 3.10.0-1062.18.1.el7.x86_64
Attached Files
File Type: txt 1.txt (5.8 KB, 36 views)
File Type: txt 2.txt (6.4 KB, 25 views)

Last edited by kadet.89; 12-19-2020 at 07:41.
kadet.89 is offline
Send a message via Skype™ to kadet.89
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 12-19-2020 , 07:39   Re: [CSGO] plugin reload random crash
Reply With Quote #2

I had another test with a simple plugin. When I unload and load it, the server freezes for about 10 seconds. The hosting administrator says that sometimes in these situations their watchdog kills the server.
The plugin has empty initialisation / destruction functions and that makes me confused why loading/unloading may freez the thread for such a long time.
Is there a way to understand what is happening?
The SIGABRT signal seems to be generated by the server watchdog... not sure though.

Last edited by kadet.89; 12-19-2020 at 07:43.
kadet.89 is offline
Send a message via Skype™ to kadet.89
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:38.


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