server crashing
#1

Код:
[15:14:26] [debug] Server crashed while executing Stunt.amx
[15:14:26] [debug] AMX backtrace:
[15:14:26] [debug] #0 native fwrite () from samp03svr
[15:14:26] [debug] #1 00099818 in public OnPlayerCommandPerformed (playerid=0, cmdtext[]=@078e6d38 "/bc", success=1) at ./assets/callbacks.pwn:1198
[15:14:26] [debug] #2 native CallLocalFunction () from samp03svr
[15:14:26] [debug] #3 00002f0c in public OnPlayerCommandText (playerid=0, cmdtext[]=@078e6d24 "/bc") at D:\Current Stuffs\Desktop\raven\pawno\include\zcmd.inc:102
[15:14:26] [debug] Native backtrace:
[15:14:26] [debug] #0 f738e9f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[15:14:26] [debug] #1 f7387a62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[15:14:26] [debug] #2 f7388764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[15:14:26] [debug] #3 f738a6b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[15:14:26] [debug] #4 f738e31d in ?? () from plugins/crashdetect.so
[15:14:26] [debug] #5 f76ea420 in ?? ()
[15:14:26] [debug] #6 f76ea440 in ?? ()
[15:14:26] [debug] #7 f73e5687 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[15:14:26] [debug] #8 f73e8ab3 in abort () from /lib/i386-linux-gnu/libc.so.6
[15:14:26] [debug] #9 f73de7c7 in ?? () from /lib/i386-linux-gnu/libc.so.6
[15:14:26] [debug] #10 f73de877 in ?? () from /lib/i386-linux-gnu/libc.so.6
[15:14:26] [debug] #11 0809b99c in ?? () from ./samp03svr
[15:14:26] [debug] #12 0809bdff in ?? () from ./samp03svr
[15:14:26] [debug] #13 080950e4 in ?? () from ./samp03svr
[15:14:26] [debug] #14 f73894d3 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[15:14:26] [debug] #15 00000003 in ?? () from �yj�Hwj���������������k�
can someone explain me what's wrong with it?

EDIT: it crash, at every cmd
Reply
#2

Read the warning box and see the example provided: https://sampwiki.blast.hk/wiki/Fwrite

If you try to write to a closed file or a file without permissions (writable), this will happen.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)