SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 10/01/2017, 08:22 AM   #1
bluur
Little Clucker
 
Join Date: Nov 2016
Posts: 6
Reputation: 1
Angry Segmentation fault in screening samp server

Hi,
sometimes when im going to restart samp server with rcon gmx, after players got OnPlayerConnect there is no connection with sql and in VM in server 'screen' command console appearing 'Segmentation fault' (just once).

This is happening very often but not always. Im on debian x86, server libs are x86 at too.
Like im saying, this is not happening everytime after restarting samp server. This isn't a mysql server problem because on this side everything is okay and data transfer on webserver etc. is perfect.

Solution at bottom


.

Last edited by bluur; 11/01/2017 at 10:11 PM.
bluur is offline   Reply With Quote
Old 10/01/2017, 08:25 AM   #2
iLearner
Guest
 
Posts: n/a
Default Re: Segmentation fault in screening samp server

Happens when you restart the server, rcon exit it & turn it off(or somehow auto closes, eg: with error couldnt load any gamemodes).
  Reply With Quote
Old 10/01/2017, 08:28 AM   #3
bluur
Little Clucker
 
Join Date: Nov 2016
Posts: 6
Reputation: 1
Default Re: Segmentation fault in screening samp server

And is a way to check what causes this? In server logs there is nothing about it..
bluur is offline   Reply With Quote
Old 10/01/2017, 08:34 AM   #4
iLearner
Guest
 
Posts: n/a
Default Re: Segmentation fault in screening samp server

Server probably cant start reload after gmx somehow & server crashes & this error occurs... try to gmx on localhost & see if the console closes...

make sure you destroy every neccesary stuff on OnGameModeExit()
  Reply With Quote
Old 10/01/2017, 10:44 AM   #5
bluur
Little Clucker
 
Join Date: Nov 2016
Posts: 6
Reputation: 1
Default Re: Segmentation fault in screening samp server

The problem was multiplying processes of samp server after reboot.
(using screen in bad way)
Solved!


Nope.. I still have this issue.



.

Last edited by bluur; 11/01/2017 at 10:06 PM.
bluur is offline   Reply With Quote
Old 11/01/2017, 10:06 PM   #6
bluur
Little Clucker
 
Join Date: Nov 2016
Posts: 6
Reputation: 1
Default Re: Segmentation fault in screening samp server

SOLUTION:
sql can't keep up with queries so after ~100 queries on server, samp mysql db crashes.
reason was badly implemented sql plugin in server soft (strickenkid 2011 in my case) so it needed to change plugin to more "modern" - BlueG MySQL.

I hope this help someone

Last edited by bluur; 20/01/2017 at 09:30 AM.
bluur is offline   Reply With Quote
Old 17/01/2017, 11:49 AM   #7
Nezcafe
Little Clucker
 
Nezcafe's Avatar
 
Join Date: Dec 2016
Location: Earth
Posts: 24
Reputation: 9
Default Re: Segmentation fault in screening samp server

Hey! Try using mysql_static.so, Also make sure that you have no warnings in the script and also make sure that you have uploaded the .amx file properly..
__________________
Nezcafe is offline   Reply With Quote
Old 18/01/2017, 01:43 PM   #8
MikeBN
Little Clucker
 
Join Date: Nov 2014
Posts: 16
Reputation: 0
Default Re: Segmentation fault in screening samp server

You probobly don't use comand in right "folder"
__________________
Zara Gaming RPG Since 2014 ~ Balkanian!

MikeBN is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problema server - Segmentation Fault bLooDQZ Romānă/Romanian 9 27/09/2015 12:04 AM
How to Fix Segmentation fault for SA-MP Server Linux Abanob Bug Reports 4 15/09/2014 07:28 PM
Server won't start and "Segmentation fault" error kadaradam Scripting Help 9 17/11/2013 06:58 PM
Segmentation Fault - SAMP +iMortal Server Support 5 18/08/2011 11:22 AM
this code crashes server ( segmentation fault) armyoftwo Help Archive 2 06/01/2011 12:48 PM


All times are GMT. The time now is 08:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.