Server Crashing
#1

Server Crashing On Executing some commands only in linux server

Код:
[13:50:49] [debug] Server crashed while executing GM.amx
[13:50:49] [debug] AMX backtrace:
[13:50:49] [debug] #0 native fwrite () from samp03svr
[13:50:49] [debug] #1 00110d28 in WriteToLog (string[]=@01447970 "Admin 'codeshadow' has given you $100", Logname[]=@020829f8 "AdminChat") at C:\Users\Folder\GM.pwn:14779
[13:50:49] [debug] #2 000d57c8 in public cmd_givemoney (playerid=0, params[]=@020dc458 "2 100") at C:\Users\Folder\GM.pwn:10649
[13:50:49] [debug] #3 native CallLocalFunction () from samp03svr
[13:50:49] [debug] #4 0001cf0c in ?? (... <2 arguments>) at C:\Users\Folder\0.3.7 windows\pawno\include\zcmd.inc:111
[13:50:49] [debug] #5 00007788 in public OnPlayerCommandText (playerid=0, cmdtext[]=@020dc414 "/givemoney 2 100") at C:\Users\Folder1\0.3.7 windows\pawno\include\YSI\y_hooks/impl.inc:929
[13:50:49] [debug] Native backtrace:
[13:50:49] [debug] #0 f745fe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[13:50:49] [debug] #1 f7458bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[13:50:49] [debug] #2 f7459dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[13:50:49] [debug] #3 f745a226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[13:50:49] [debug] #4 f745fadc in ?? () from plugins/crashdetect.so
[13:50:49] [debug] #5 f7744420 in ?? ()
[13:50:49] [debug] #6 f7744440 in ?? ()
[13:50:49] [debug] #7 f74ae6c1 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:50:49] [debug] #8 f74b1af2 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:50:49] [debug] #9 f74a7878 in __assert_fail () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:50:49] [debug] #10 0809b99c in ?? () from ./samp03svr
[13:50:49] [debug] #11 0809bdff in ?? () from ./samp03svr
[13:50:49] [debug] #12 080950e4 in ?? () from ./samp03svr
[13:50:49] [debug] #13 f745b94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:50:49] [debug] #14 f745e8f8 in ?? () from plugins/crashdetect.so
[13:50:49] [debug] #15 f7462916 in amx_Exec () from plugins/crashdetect.so
[13:50:49] [debug] #16 f745abe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:50:49] [debug] #17 f745e659 in ?? () from plugins/crashdetect.so
[13:50:49] [debug] #18 f5caff4a in ?? () from plugins/streamer.so
[13:50:49] [debug] #19 080dfd62 in ?? () from ./samp03svr
[13:50:49] [debug] #20 080950e4 in ?? () from ./samp03svr
[13:50:49] [debug] #21 f745b94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[13:50:49] [debug] #22 f745e8f8 in ?? () from plugins/crashdetect.so
[13:50:49] [debug] #23 f7462916 in amx_Exec () from plugins/crashdetect.so
[13:50:49] [debug] #24 f745abe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[13:50:49] [debug] #25 f745e659 in ?? () from plugins/crashdetect.so
[13:50:49] [debug] #26 f5caff4a in ?? () from plugins/streamer.so
[13:50:49] [debug] #27 080a5632 in ?? () from ./samp03svr
[13:50:49] [debug] #28 080b1751 in ?? () from ./samp03svr
[13:50:49] [debug] #29 08071d38 in ?? () from ./samp03svr
[13:50:49] [debug] #30 08071e32 in ?? () from ./samp03svr
[13:50:49] [debug] #31 0807bc50 in ?? () from ./samp03svr
[13:50:49] [debug] #32 080aed3d in ?? () from ./samp03svr
[13:50:49] [debug] #33 080aef02 in ?? () from ./samp03svr
[13:50:49] [debug] #34 080aa13a in ?? () from ./samp03svr
[13:50:49] [debug] #35 f749ae46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:50:49] [debug] #36 0804b4e1 in ?? () from ./samp03svr
Reply
#2

You're having x64 linux hosting, and you must install x86 (32 bit) libraries on it.
OR
in public OnPlayerCommandText (playerid=0, cmdtext[]=@020dc414 "/givemoney 2 100")

Regards
Reply
#3

still same problem
Reply
#4

Код:
native fwrite
in WriteToLog
It could hardly be any more clear. Do not write to a file before ensuring that you have a valid handle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)