Segmentation Fault (Core Dumped)
#1

Hello,

I usually have no problems getting my server up and running whenever I have to switch VPS servers. But, this time is different. I am getting this each time I try to start the server:

"Segmentation fault (core dumped)"

I have searched for about an hour now and have not figured out the issue. I've installed all the necessary libs, tried uploading the executables in binary mode and just cannot get it. I am running CentOS 6.6 64 bit. Any help is appreciated!
Reply
#2

did you try grabbing the files via wget and extracting from the VPS itself instead of uploading the SAMP files via FTP. And also try a blank server no plugins etc.
Reply
#3

Yep, tried both of those.

EDIT: Running a blank server worked. Whenever I add any plugins to it, I get the Segmentation Fault again.
Reply
#4

Okay so it's one of the plugins, this has happened to me a few times and here is the possible reasons that I've dealt with.

The .so file was uploaded incorrectly.

The next issue is SELinux something that I love to have enabled but some SAMP plugins do memory hacking which means SELinux needs to be disabled. A good way to test this is type in as root setenforce 0 this will temporarily disable SELinux.
Reply
#5

Quote:
Originally Posted by SeaKing
Посмотреть сообщение
EDIT: Running a blank server worked. Whenever I add any plugins to it, I get the Segmentation Fault again.
Running a blank server, as in running a blank SA:MP game server or running the server on a blank/reinstalled server?
Reply
#6

Quote:
Originally Posted by Jake187
Посмотреть сообщение
Okay so it's one of the plugins, this has happened to me a few times and here is the possible reasons that I've dealt with.

The .so file was uploaded incorrectly.

The next issue is SELinux something that I love to have enabled but some SAMP plugins do memory hacking which means SELinux needs to be disabled. A good way to test this is type in as root setenforce 0 this will temporarily disable SELinux.
Tried doing that, now I get no output at all.


Quote:
Originally Posted by Sublime
Посмотреть сообщение
Running a blank server, as in running a blank SA:MP game server or running the server on a blank/reinstalled server?
Blank SA-MP server.
Reply
#7

check your server_log.txt might tell you why it's not starting.
Reply
#8

Obviously, segmentation fault is kind of problem which raises when you try to reach/free the memory does not belong to you. Plugins you use, have a bad memory management I think. Add crashdetect plugin to understand which plugin causes this issue.
Reply
#9

Thanks for all of your help, it for some reason decided to work this morning.
Reply
#10

Are you running an redhat based operating system?(Centos, Fedora, RedHat?)
If so, make sure selinux is disabled.

Always keep in mind that some plugins use sampgdk, and sampgdk installs memory hooks into the sa-mp server.
So, after all, it's modifying the server memory.
Selinux is a software made to secure the linux OS.
You will need to disable selinux, or every program you run which does "reverse engineering" will *crash*/terminate when it tries to install the memory hooks/"patch the memory".
Reply
#11

Quote:
Originally Posted by GWMPT
Посмотреть сообщение
Are you running an redhat based operating system?(Centos, Fedora, RedHat?)
If so, make sure selinux is disabled.

Always keep in mind that some plugins use sampgdk, and sampgdk installs memory hooks into the sa-mp server.
So, after all, it's modifying the server memory.
Selinux is a software made to secure the linux OS.
You will need to disable selinux, or every program you run which does "reverse engineering" will *crash*/terminate when it tries to install the memory hooks/"patch the memory".
This was already suggested and he has said the problem solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)