SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 11/08/2017, 05:44 AM   #1
guguuu
Little Clucker
 
Join Date: Oct 2016
Posts: 3
Reputation: 0
Unhappy server crashing

whenever i use any cmd the server crash can u help me please.

here are the server logs

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

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

[07:10:38] password = "" (string)
[07:10:38]
[07:10:38] Server Plugins
[07:10:38] --------------
[07:10:38] Loading plugin: crashdetect.so
[07:10:38] CrashDetect v4.15.1 is OK.
[07:10:38] Loaded.
[07:10:38] Loading plugin: streamer.so
[07:10:38] Loaded.
[07:10:38] Loading plugin: audio.so
[07:10:38]

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[07:10:38] Loaded.
[07:10:38] Loading plugin: mysql_static.so
[07:10:38] SA:MP MySQL Plugin v2.1.1 Loaded.
[07:10:38] Loaded.
[07:10:38] Loading plugin: libRegEx.so
[07:10:38] [MySQL] Thread running. Threadsafe: Yes.
[07:10:38]
[07:10:38] ------------------------------
[07:10:38] |
[07:10:38] | -> Regular Expression Plugin v0.2
[07:10:38] | -> Using Oniguruma v5.9.1
[07:10:38] |
[07:10:38] ------ (c) 2014, Koala -------
[07:10:38]
[07:10:38] Loaded.
[07:10:38] Loading plugin: libRegEx_static.so
[07:10:38]
[07:10:38] ------------------------------
[07:10:38] |
[07:10:38] | -> Regular Expression Plugin v0.2
[07:10:38] | -> Using Oniguruma v5.9.5
[07:10:38] |
[07:10:38] ------ (c) 2014, Koala -------
[07:10:38]
[07:10:38] Loaded.
[07:10:38] Loading plugin: sscanf.so
[07:10:38]

[07:10:38] ===============================

[07:10:38] sscanf plugin loaded.

[07:10:38] Version: 2.8.1

[07:10:38] (c) 2012 Alex "Y_Less" Cole

[07:10:38] ===============================

[07:10:38] Loaded.
[07:10:38] Loading plugin: mysqlR39.so
[07:10:38] >> plugin.mysql: R39-6 successfully loaded.
[07:10:38] Loaded.
[07:10:38] Loaded 8 plugins.

[07:10:38]
[07:10:38] Filterscripts
[07:10:38] ---------------
[07:10:38] Loading filterscript 'UltraHost.amx'...
[07:10:38] Loading filterscript 'shouryamaps.amx'...
[07:10:38] Loading filterscript 'antirapidfire.amx'...
[07:10:38] Loaded 3 filterscripts.

[07:10:38]
[07:10:38]
[07:10:38]
[07:10:38] =======================================
[07:10:38] | |
[07:10:38] | YSI version 3.09.0684 |
[07:10:38] | By Alex "Y_Less" Cole |
[07:10:38] | |
[07:10:38] =======================================
[07:10:38]
[07:10:38] [MySQL] Connected (0) to 'server_537'@'127.0.0.1 via TCP/IP'.
[07:10:38] [MySQL] Server Version 5.5.50-0+deb8u1.
[07:10:38] HOUSE SYSTEM :: No houses were found in "Houses.db" :: 0 Loaded
[07:10:38] GATES SYSTEM :: No gates were found in "Gates.db" :: 0 Loaded
[07:10:38] Loading Vehicles
[07:10:38] VEHICLE SYSTEM :: No vehicles were found in "newvehicles" :: 0 Loaded
[07:10:38]
-----------------------------------
[07:10:38] Cops and Robbers, by shourya
[07:10:38] ------------------------------------

[07:10:38] Number of vehicle models: 98
[07:26:07] [connection] 61.3.85.56:15001 requests connection cookie.
[07:26:08] [connection] incoming connection: 61.3.85.56:15001 id: 0
[07:26:08] [join] striker has joined the server (0:61.3.85.56)
[07:26:28] [debug] Server crashed while executing CnR1.amx
[07:26:28] [debug] AMX backtrace:
[07:26:28] [debug] #0 native fclose () from sampsvr-port_2561
[07:26:28] [debug] #1 0009a480 in ?? (19668744, 19878072) from CnR1.amx
[07:26:28] [debug] #2 0016c6c0 in public OnPlayerCommandReceived (0, 1969918 from CnR1.amx
[07:26:28] [debug] #3 native CallLocalFunction () from sampsvr-port_2561
[07:26:28] [debug] #4 000041a8 in public OnPlayerCommandText (0, 19699160) from CnR1.amx
[07:26:28] [debug] Native backtrace:
[07:26:28] [debug] #0 ed5efe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07:26:28] [debug] #1 ed5e8bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07:26:28] [debug] #2 ed5e9dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07:26:28] [debug] #3 ed5ea226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07:26:28] [debug] #4 ed5efadc in ?? () from plugins/crashdetect.so
[07:26:28] [debug] #5 ed943410 in __kernel_rt_sigreturn () from linux-gate.so.1
[07:26:28] [debug] #6 ed676b36 in fclose () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[07:26:28] [debug] #7 0809bd64 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #8 080950e4 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #9 ed5eb94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:26:28] [debug] #10 ed5ee8f8 in ?? () from plugins/crashdetect.so
[07:26:28] [debug] #11 ed5f2916 in amx_Exec () from plugins/crashdetect.so
[07:26:28] [debug] #12 ed5eabe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:26:28] [debug] #13 ed5ee659 in ?? () from plugins/crashdetect.so
[07:26:28] [debug] #14 080dfd62 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #15 080950e4 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #16 ed5eb94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:26:28] [debug] #17 ed5ee8f8 in ?? () from plugins/crashdetect.so
[07:26:28] [debug] #18 ed5f2916 in amx_Exec () from plugins/crashdetect.so
[07:26:28] [debug] #19 ed5eabe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:26:28] [debug] #20 ed5ee659 in ?? () from plugins/crashdetect.so
[07:26:28] [debug] #21 080a5632 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #22 080b1751 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #23 08071d38 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #24 08071e32 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #25 0807bc50 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #26 080aed3d in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #27 080aef02 in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #28 080aa13a in ?? () from ./sampsvr-port_2561
[07:26:28] [debug] #29 ed62da63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

can u tell me how can i fix this. i can make u sub user if u need
guguuu is offline   Reply With Quote
Old 11/08/2017, 09:15 AM   #2
Fratello
Big Clucker
 
Fratello's Avatar
 
Join Date: May 2016
Location: Serbia
Posts: 113
Reputation: 20
Default Re: server crashing

Well,

You can try updating plugins.

I also believe that this is caused by script's poor optimization.

EDIT: Did you change anything in script or it is default (not counting db connection)?
__________________
Quote:
Originally Posted by Misiur View Post
Well, maybe simply you don't have any friends (in database)
Fratello is offline   Reply With Quote
Old 11/08/2017, 09:49 AM   #3
XeonMaster
Big Clucker
 
XeonMaster's Avatar
 
Join Date: Jul 2017
Location: Earth
Posts: 186
Reputation: 13
Default Re: server crashing

PHP Code:
[07:26:28] [debug#2 0016c6c0 in public OnPlayerCommandReceived (0, 1969918 from CnR1.amx
[07:26:28] [debug#3 native CallLocalFunction () from sampsvr-port_2561
[07:26:28] [debug#4 000041a8 in public OnPlayerCommandText (0, 19699160) from CnR1.amx 
can you post the command you used before server get crashed?
XeonMaster is offline   Reply With Quote
Old 11/08/2017, 02:06 PM   #4
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,968
Reputation: 1356
Default Re: server crashing

fclose function crashes the server if the file handle is invalid (file doesn't exist or cannot be opened due to permissions). Seems like you log commands to files with a function in OnPlayerCommandReceived callback.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System



www.SF-SE.net
play.sf-se.net:7777
Play now!
Konstantinos 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 Crashing every hour, please help[Provided Server Log with crashdetect] Guest4390857394857 Server Support 5 09/06/2014 10:46 AM
Someone is crashing my server! TheBosss Scripting Help 9 31/01/2014 09:44 AM
Somebody crashing my server ZeroCools Server Support 11 13/03/2013 01:16 PM
Server Crashing. seanny Scripting Help 2 02/11/2012 09:55 AM
need help with server its crashing WardenCS Help Archive 3 20/07/2009 06:38 AM


All times are GMT. The time now is 11:50 AM.


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