Segmentation Fault? -
TonyII - 05.05.2017
Hello, I've recently tried my chances with a VPS linux based. So far not much result, the thing I'm stuck with is that I get a segmentation fault when I try and run samp03srv.
Код:
[root@141-138-136-239 samp03]# nohup: ignoring input and appending output to ‘nohup.out’
[1]+ Segmentation fault nohup ./samp03svr
The server doesn't run, here are the server logs:
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[17:46:38]
[17:46:38] Server Plugins
[17:46:38] --------------
[17:46:38] Loading plugin: sscanf.so
[17:46:38]
[17:46:38] ===============================
[17:46:38] sscanf plugin loaded.
[17:46:38] Version: 2.8.2
[17:46:38] © 2012 Alex "******" Cole
[17:46:38] ===============================
[17:46:38] Loaded.
[17:46:38] Loading plugin: streamer.so
[17:46:38]
*** Streamer Plugin v2.9.1 by Incognito loaded ***
[17:46:38] Loaded.
[17:46:38] Loaded 2 plugins.
[17:46:38]
[17:46:38] Filterscripts
[17:46:38] ---------------
[17:46:38] Loading filterscript 'mall.amx'...
It stops at 1 filterscript, there are 2 more but it doesn't log it for some reason.
Re: Segmentation Fault? -
iLearner - 05.05.2017
Load crashdetect plugin to get more details about the issue.
Re: Segmentation Fault? -
TonyII - 05.05.2017
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[18:03:21]
[18:03:21] Server Plugins
[18:03:21] --------------
[18:03:21] Loading plugin: crashdetect.so
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[18:04:41]
[18:04:41] Server Plugins
[18:04:41] --------------
[18:04:41] Loading plugin: crashdetect.so
This is all it does now :/
Re: Segmentation Fault? -
Kucin666 - 05.05.2017
maybe your file is corrupted, try to reupload again
Re: Segmentation Fault? -
TonyII - 05.05.2017
I think it's safe to say that my plugins are the cause of this error, the error dissappeared when I didn't have any plugins in the server.cfg file, I've reuploaded them all and got all the latest versions but it still gives me the error
Re: Segmentation Fault? -
Logic_ - 05.05.2017
Mind providing us more detail about your server hardware and software?
Re: Segmentation Fault? -
Dignity - 05.05.2017
Quote:
Originally Posted by TonyII
I think it's safe to say that my plugins are the cause of this error, the error dissappeared when I didn't have any plugins in the server.cfg file, I've reuploaded them all and got all the latest versions but it still gives me the error
|
What's that filterscript do? It seems a bit odd for a filterscript to halt the entire server but you never know.
Also, if you think plugins are causing it but don't know which one, add them 1 by 1 until the issue appears. You should be able to pinpoint the direct cause by debugging
Re: Segmentation Fault? -
TonyII - 05.05.2017
Quote:
Originally Posted by Dignity
What's that filterscript do? It seems a bit odd for a filterscript to halt the entire server but you never know.
Also, if you think plugins are causing it but don't know which one, add them 1 by 1 until the issue appears. You should be able to pinpoint the direct cause by debugging
|
The filterscript only loads objects, I didn't add any code in it, I tried what you said and the error comes with streamer.so only, sscanf doesn't give me the error
Edit: I had installed the latest version and compiled it with the gamemode, but the results were the same :/
Re: Segmentation Fault? -
Dignity - 05.05.2017
Quote:
Originally Posted by TonyII
The filterscript only loads objects, I didn't add any code in it, I tried what you said and the error comes with streamer.so only, sscanf doesn't give me the error
Edit: I had installed the latest version and compiled it, but the results were the same :/
|
Are you streaming the objects inside the filterscript?
What about the gamemode? Are you using the streamer plugin there?
Re: Segmentation Fault? -
TonyII - 05.05.2017
Quote:
Originally Posted by Dignity
Are you streaming the objects inside the filterscript?
What about the gamemode? Are you using the streamer plugin there?
|
Yea I'm using the streamer in all the filterscripts and also in the gamemode, I excluded the filterscripts because I didn't compile those yet with the new plugin. For now it's only the gamemode itself and the streamer plugin