Open Rudy2323 opened 4 years ago
Please follow this guide and re-compile your script with debug info enabled:
https://github.com/Zeex/samp-plugin-crashdetect/wiki/Compiling-scripts-with-debug-info
After that when this issue happens again you will see more details in the crash report (function names, source files, arguments, etc).
The script is already compiled with the -d3 flag and as you can see, it doesn't give me much details.
I suspect it is an exploit they are using to crash the server.
Oh right, sorry, I missed that part.
Please provide the following info:
Also, you can try to find a function that has the same number of parameters as the top function in the stack trace and that is called directly from OnPlayerTakeDamage
. Then after you find it, you can match the arguments with its parameters (easy for integers, not so easy for strings). This might give you an idea about what causes this crash.
If you are not using the latest version of crashdetect, I'd suggest you upgrade the plugin first. Latest release can be found here.
I'm using the latest CrashDetect plugin:
[30/03/2020] [11:08:19] Server Plugins [30/03/2020] [11:08:19] -------------- [30/03/2020] [11:08:19] Loading plugin: crashdetect.so [30/03/2020] [11:08:19] CrashDetect plugin 4.19.4 [30/03/2020] [11:08:19] Loaded. [30/03/2020] [11:08:19] Loading plugin: sscanf.so [30/03/2020] [11:08:19] [30/03/2020] [11:08:19] =============================== [30/03/2020] [11:08:19] sscanf plugin loaded. [30/03/2020] [11:08:19] Version: 2.8.1 [30/03/2020] [11:08:19] (c) 2012 Alex "Y_Less" Cole [30/03/2020] [11:08:19] =============================== [30/03/2020] [11:08:19] Loaded. [30/03/2020] [11:08:19] Loaded 2 plugins.
As for the compiler, I'm using the SA:MP default compiler. I'll replace it with the one you developed.
I couldn't find any callback with 8 parameters but I suspect it could be OnPlayerGiveDamage which is left unused in my script.
I'm looking for someone who can help me decipher these debug messages; the OS is CentOS 7, the script is compiled with -d3 parameter: