My server random crash
#1

Sometimes, my server crash.. i don't know what is the problem...

Код:
[15:14:12] [debug] Server crashed while executing mygamemoders.amx
[15:14:12] [debug] AMX backtrace:
[15:14:12] [debug] #0 native format () from samp03svr
[15:14:12] [debug] #1 000ecbbc in public cmd_c () from mygamemoders.amx
[15:14:12] [debug] #2 native CallLocalFunction () from samp03svr
[15:14:12] [debug] #3 00034c3c in public OnPlayerCommandText (6, 49472868) from mygamemoders.amx
[15:14:12] [debug] Native backtrace:
[15:14:12] [debug] #0 b60dfe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[15:14:12] [debug] #1 b60d8bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[15:14:12] [debug] #2 b60d9dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[15:14:12] [debug] #3 b60da226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[15:14:12] [debug] #4 b60dfadc in ?? () from plugins/crashdetect.so
[15:14:12] [debug] #5 b76f8600 in ?? ()
[15:14:12] [debug] #6 080965d7 in ?? () from ./samp03svr
[15:14:12] [debug] #7 080dce72 in ?? () from ./samp03svr
[15:14:12] [debug] #8 080950e4 in ?? () from ./samp03svr
[15:14:12] [debug] #9 b60db94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:14:12] [debug] #10 b60de8f8 in ?? () from plugins/crashdetect.so
[15:14:12] [debug] #11 b60e2916 in amx_Exec () from plugins/crashdetect.so
[15:14:12] [debug] #12 b60dabe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:14:12] [debug] #13 b60de659 in ?? () from plugins/crashdetect.so
[15:14:12] [debug] #14 b604dbc6 in ?? () from plugins/streamer.so
[15:14:12] [debug] #15 080dfd62 in ?? () from ./samp03svr
[15:14:12] [debug] #16 080950e4 in ?? () from ./samp03svr
[15:14:12] [debug] #17 b60db94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:14:12] [debug] #18 b60de8f8 in ?? () from plugins/crashdetect.so
[15:14:12] [debug] #19 b60e2916 in amx_Exec () from plugins/crashdetect.so
[15:14:12] [debug] #20 b60dabe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[15:14:12] [debug] #21 b60de659 in ?? () from plugins/crashdetect.so
[15:14:12] [debug] #22 b604dbc6 in ?? () from plugins/streamer.so
[15:14:12] [debug] #23 080a5632 in ?? () from ./samp03svr
[15:14:12] [debug] #24 080b1751 in ?? () from ./samp03svr
[15:14:12] [debug] #25 08071d38 in ?? () from ./samp03svr
[15:14:12] [debug] #26 08071e32 in ?? () from ./samp03svr
[15:14:12] [debug] #27 0807bc50 in ?? () from ./samp03svr
[15:14:12] [debug] #28 080aed3d in ?? () from ./samp03svr
[15:14:12] [debug] #29 080aef02 in ?? () from ./samp03svr
[15:14:12] [debug] #30 080aa13a in ?? () from ./samp03svr
[15:14:12] [debug] #31 b741cd26 in __libc_start_main () from /lib/libc.so.6
[15:14:12] [debug] #32 0804b4e1 in ?? () from ./samp03svr
Reply
#2

Give your server.cfg!
Reply
#3

here is server.cfg
Код:
echo Executing Server Config...
lanmode 1
rcon_password 3dz42dddH94828d492
maxplayers 50
port 7777
hostname rp server
gamemode0 mygamemoders 1 
filterscripts  
plugins wp.so mysql_static.so sscanf.so crashdetect.so streamer.so nativechecker.so
announce 0 
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language RO/EN
Reply
#4

bump
Reply
#5

Only, 24 Hours Bump.

Is this code working locally?

Also, show your OnGameModeInit
Reply
#6

Why you add .so on plugins section in server.cfg
Reply
#7

Quote:
Originally Posted by TheBeastKhan
Посмотреть сообщение
Give your server.cfg!
format function crashed the server, this specific file is irrelevant.
@None1337: Change your rcon password.

Quote:
Originally Posted by Elise
Посмотреть сообщение
Why you add .so on plugins section in server.cfg
Because it is a Linux based server and it is required to.

Now about the crash itself, post /c command. The function can only crash if destination length is way higher than the initial string size but not always.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)