14.10.2016, 19:45
I've load crashdetect and show me this on serverlog:
Line 998 ->
Line 995 ->
Anyone know and could help me please?
Код:
[15:24:38] [debug] Server crashed while executing GW.amx [15:24:38] [debug] AMX backtrace: [15:24:38] [debug] #0 native mysql_connect () from mysql.so [15:24:38] [debug] #1 0010d2b0 in public InitServer () at GW.pwn:998 [15:24:38] [debug] #2 0010d230 in public Iter_OnGameModeInit () at GW.pwn:995 [15:24:38] [debug] #3 native CallLocalFunction () from samp03svr [15:24:38] [debug] #4 0000de30 in public zcmd_OnGameModeInit () at /lib/include/foreach.inc:737 [15:24:38] [debug] #5 native CallLocalFunction () from samp03svr [15:24:38] [debug] #6 00007414 in public SSCANF_OnGameModeInit () at /lib/include/zcmd.inc:68 [15:24:38] [debug] #7 00000ab8 in public OnGameModeInit () at /lib/include/sscanf2.inc:205 [15:24:38] [debug] Native backtrace: [15:24:38] [debug] #0 e0c2d9f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so [15:24:38] [debug] #1 e0c26a62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [15:24:38] [debug] #2 e0c27764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [15:24:38] [debug] #3 e0c296b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [15:24:38] [debug] #4 e0c2d31d in ?? () from plugins/crashdetect.so [15:24:38] [debug] #5 e17c4410 in ?? () [15:24:38] [debug] #6 e17c4430 in ?? () [15:24:38] [debug] #7 e14ce607 in gsignal () from /lib/i386-linux-gnu/libc.so.6 [15:24:38] [debug] #8 e14d1a33 in abort () from /lib/i386-linux-gnu/libc.so.6 [15:24:38] [debug] #9 e16fd405 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [15:24:38] [debug] #10 e16fb063 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [15:24:38] [debug] #11 e16fb09f in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [15:24:38] [debug] #12 e16fb306 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6 [15:24:38] [debug] #13 e145bfeb in _ZN5boost15throw_exceptionINS_21thread_resource_errorEEEvRKT_ () from plugins/mysql.so [15:24:38] [debug] #14 e145d835 in _ZN16CMySQLConnectionC2ERSsS0_S0_S0_jbb () from plugins/mysql.so [15:24:38] [debug] #15 e145db6a in _ZN16CMySQLConnection6CreateERSsS0_S0_S0_jbb () from plugins/mysql.so [15:24:38] [debug] #16 e14647e9 in _ZN12CMySQLHandle6CreateESsSsSsSsjjb () from plugins/mysql.so [15:24:38] [debug] #17 e14756a3 in _ZN6Native13mysql_connectEP6tagAMXPi () from plugins/mysql.so [15:24:38] [debug] #18 080950e4 in ?? () from ./samp03svr [15:24:38] [debug] #19 e0c284d3 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [15:24:38] [debug] #20 00000000 in nil ()
Код:
ConnectMYSQL = mysql_connect(MYSQL_HOST,MYSQL_USER,MYSQL_DB,MYSQL_PASS);
Код:
return 1;
Код:
public OnGameModeInit() { InitServer(); return 1; }