Crash with no logs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Crash with no logs (
/showthread.php?tid=649556)
Crash with no logs -
GaByM - 10.02.2018
Hello, my server crash randomly (when uploaded on host)
Quote:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©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] © 2012 Alex "******" 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 "******" Cole |
[00:10:21] | |
[00:10:21] =======================================
[00:10:21]
[00:10:23] Setting server password to: "LUCdhyjZwk@Gy1Qd5@mxHcLґњьА8"
[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.
??
Re: Crash with no logs -
PepsiCola23 - 10.02.2018
plugins updated,recompiled with latest scripts,debugged,do you use any really big variables at onplayerspawn,onplayerconnect or something like that?
Re: Crash with no logs -
GaByM - 11.02.2018
Plugins up to date, no big variable under onplayer connect spawn request spawn class etc..
Re: Crash with no logs -
Mugala - 11.02.2018
use debugs, you can trace your problem faster.
Re: Crash with no logs -
iKarim - 11.02.2018
Logging plugin (that's loaded with MySQL) usually have a log file that states why the server was shutdown, you can check that.
Re: Crash with no logs -
GaByM - 12.02.2018
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:
Код:
[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..
Re: Crash with no logs -
Mugala - 12.02.2018
use debugs in these callbacks:
OnPlayerConnect
OnPlayerRequestClass
OnPlayerRequestSpawn
OnPlayerSpawn