SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/02/2018, 10:41 PM   #1
GaByM
Big Clucker
 
GaByM's Avatar
 
Join Date: Jan 2014
Location: Romania
Posts: 112
Reputation: 10
Default Crash with no logs

Hello, my server crash randomly (when uploaded on host)

Quote:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[00:10:21] filterscripts = "" (string)
[00:10:21]
[00:10:21] Server Plugins
[00:10:21] --------------
[00:10:21] Loading plugin: crashdetect.so
[00:10:21] CrashDetect v4.18.1 is OK.
[00:10:21] Loaded.
[00:10:21] Loading plugin: mysql.so
[00:10:21] >> plugin.mysql: R41-4 successfully loaded.
[00:10:21] Loaded.
[00:10:21] Loading plugin: sscanf.so
[00:10:21]

[00:10:21] ===============================

[00:10:21] sscanf plugin loaded.

[00:10:21] Version: 2.8.2

[00:10:21] (c) 2012 Alex "Y_Less" Cole

[00:10:21] ===============================

[00:10:21] Loaded.
[00:10:21] Loading plugin: streamer.so
[00:10:21]

*** Streamer Plugin v2.9.2 by Incognito loaded ***

[00:10:21] Loaded.
[00:10:21] Loaded 4 plugins.

[00:10:21]
[00:10:21] Filterscripts
[00:10:21] ---------------
[00:10:21] Loaded 0 filterscripts.

[00:10:21]
[00:10:21]
[00:10:21]
[00:10:21] =======================================
[00:10:21] | |
[00:10:21] | YSI version 4.00.0001 |
[00:10:21] | By Alex "Y_Less" Cole |
[00:10:21] | |
[00:10:21] =======================================
[00:10:21]
[00:10:23] Setting server password to: "LUCdhyjZwk@Gy1Qd5@mxHcL8"
[00:10:23] [POINT] Loaded 136/150 points.
[00:10:23] [COP] Arrest pickup loaded (49)
[00:10:23] [PICKUP] Loaded 51/4096 pickups.
[00:10:23] [BUILDINGS] Loaded 46/150.
[00:10:23] Number of vehicle models: 10
[00:10:24] Server password has been removed.
[00:10:58] [connection] incoming connection: 79.113.180.8:26401 id: 0
- Yes, it crash... I mean it stops (lost connection for players, 0/0 players on SA:MP client, gamepanel says it's down) but there are no logs (crashdetect is on)
- Do I SendRconCommand("exit");? I guess it should print "exiting...".
- This happens only when the server is on host, on localhost I have never experienced such an issue.
- It does not always happen.
- Usually happens when I try to join: i connect, the dialog for login appears, i press spawn and boom.. Lost connection.


??
GaByM is offline   Reply With Quote
Old 10/02/2018, 10:45 PM   #2
PepsiCola23
Gangsta
 
Join Date: May 2015
Posts: 681
Reputation: 3
Default Re: Crash with no logs

plugins updated,recompiled with latest scripts,debugged,do you use any really big variables at onplayerspawn,onplayerconnect or something like that?
PepsiCola23 is offline   Reply With Quote
Old 11/02/2018, 05:06 PM   #3
GaByM
Big Clucker
 
GaByM's Avatar
 
Join Date: Jan 2014
Location: Romania
Posts: 112
Reputation: 10
Default Re: Crash with no logs

Plugins up to date, no big variable under onplayer connect spawn request spawn class etc..
GaByM is offline   Reply With Quote
Old 11/02/2018, 05:11 PM   #4
Mugala
Gangsta
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: behind u
Posts: 647
Reputation: 30
Default Re: Crash with no logs

use debugs, you can trace your problem faster.
__________________
here to help
Mugala is offline   Reply With Quote
Old 11/02/2018, 05:15 PM   #5
iKarim
Gangsta
 
iKarim's Avatar
 
Join Date: Oct 2015
Posts: 583
Reputation: 139
Default Re: Crash with no logs

Logging plugin (that's loaded with MySQL) usually have a log file that states why the server was shutdown, you can check that.
iKarim is offline   Reply With Quote
Old 12/02/2018, 08:02 PM   #6
GaByM
Big Clucker
 
GaByM's Avatar
 
Join Date: Jan 2014
Location: Romania
Posts: 112
Reputation: 10
Default Re: Crash with no logs

I changed my MySQL plugin from Ubuntu static to Ubuntu and I don't see any problems till now.

Also, I looked in log-core.log and saw this:

Code:
[11:05:25] [ERROR] signal 11 (SIGSEGV) catched; shutting log-core down (errno: 0, signal code: 1, exit status: 1)
Can this be related to my crash? I'm not sure if this was printed when the server crashed or it's caused by other problems..
GaByM is offline   Reply With Quote
Old 12/02/2018, 10:30 PM   #7
Mugala
Gangsta
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: behind u
Posts: 647
Reputation: 30
Default Re: Crash with no logs

use debugs in these callbacks:
OnPlayerConnect
OnPlayerRequestClass
OnPlayerRequestSpawn
OnPlayerSpawn
__________________
here to help
Mugala 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
Server crash.. [with crash detect logs] please help LordxTyrion Server Support 5 18/05/2015 05:56 AM
Some Crash Errors in Logs ReD_HunTeR Scripting Help 5 15/02/2015 08:34 AM
WEIRD Crash Detect Logs? Spamming the log DaTa[X] Server Support 3 14/09/2014 08:11 PM
Helpme crash detect plugin i got logs bigtigerbeee Scripting Help 2 27/11/2013 03:03 AM
All logs and crash server with /pay ToFFiK Scripting Help 8 04/09/2011 04:07 PM


All times are GMT. The time now is 11:41 PM.


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