crash
#1

Здравствуйте писал хостеру почему сервер перезапускается сам он мне скинул лог
Код:
./samp_run: line 69:**7143 Segmentation fault******${BASEDIR}/samp03svr 2>&1 > /dev/null
[09/13/13 19:39:20] Crash server
[09/13/13 19:39:30] Run server
*** glibc detected *** ./samp03svr: free(): corrupted unsorted chunks: 0xf6950f80 ***
======= Backtrace: =========
/lib32/libc.so.6(+0x74991)[0xf74bf991]
/usr/lib32/libstdc++.so.6(_ZdlPv+0x21)[0xf76c64a1]
/usr/lib32/libstdc++.so.6(_ZdaPv+0x1d)[0xf76c64fd]
./samp03svr[0x8082bca]
./samp03svr[0x808091c]
./samp03svr[0x80811da]
./samp03svr[0x8073459]
./samp03svr[0x808e7ad]
./samp03svr[0x8074596]
./samp03svr[0x80761ae]
/lib32/libpthread.so.0(+0x6f07)[0xf770cf07]
/lib32/libc.so.6(clone+0x5e)[0xf753a8fe]
======= Memory map: ========
08048000-08168000 r-xp 00000000 09:02 376902*****************************/gh_distr/samp03-001/samp03svr
08168000-0818a000 rw-p 0011f000 09:02 376902*****************************/gh_distr/samp03-001/samp03svr
0818a000-08195000 rw-p 00000000 00:00 0**
094c5000-09d0e000 rw-p 00000000 00:00 0********************[heap]
f5ef5000-f6900000 rw-p 00000000 00:00 0**
f6900000-f6978000 rw-p 00000000 00:00 0**
f6978000-f6a00000 ---p 00000000 00:00 0**
f6ae8000-f6ae9000 ---p 00000000 00:00 0**
f6ae9000-f72e9000 rw-p 00000000 00:00 0********************[stack:7156]
f72e9000-f72f3000 r-xp 00000000 09:01 3263218****************************/lib32/libnss_files-2.15.so
f72f3000-f72f4000 r--p 00009000 09:01 3263218****************************/lib32/libnss_files-2.15.so
f72f4000-f72f5000 rw-p 0000a000 09:01 3263218****************************/lib32/libnss_files-2.15.so
f7300000-f744b000 rw-p 00000000 00:00 0**
f744b000-f75ce000 r-xp 00000000 09:01 3263179****************************/lib32/libc-2.15.so
f75ce000-f75cf000 ---p 00183000 09:01 3263179****************************/lib32/libc-2.15.so
f75cf000-f75d1000 r--p 00183000 09:01 3263179****************************/lib32/libc-2.15.so
f75d1000-f75d2000 rw-p 00185000 09:01 3263179****************************/lib32/libc-2.15.so
f75d2000-f75d5000 rw-p 00000000 00:00 0**
f75d5000-f75ee000 r-xp 00000000 09:01 3247698****************************/usr/lib32/libgcc_s.so.1
f75ee000-f75ef000 r--p 00018000 09:01 3247698****************************/usr/lib32/libgcc_s.so.1
f75ef000-f75f0000 rw-p 00019000 09:01 3247698****************************/usr/lib32/libgcc_s.so.1
f75f0000-f75f1000 rw-p 00000000 00:00 0**
f75f1000-f7616000 r-xp 00000000 09:01 3263201****************************/lib32/libm-2.15.so
f7616000-f7617000 r--p 00024000 09:01 3263201****************************/lib32/libm-2.15.so
f7617000-f7618000 rw-p 00025000 09:01 3263201****************************/lib32/libm-2.15.so
f7618000-f76fa000 r-xp 00000000 09:01 3247694****************************/usr/lib32/libstdc++.so.6
f76fa000-f76fe000 r--p 000e2000 09:01 3247694****************************/usr/lib32/libstdc++.so.6
f76fe000-f76ff000 rw-p 000e6000 09:01 3247694****************************/usr/lib32/libstdc++.so.6
f76ff000-f7706000 rw-p 00000000 00:00 0**
f7706000-f771c000 r-xp 00000000 09:01 3263240****************************/lib32/libpthread-2.15.so
f771c000-f771d000 r--p 00015000 09:01 3263240****************************/lib32/libpthread-2.15.so
f771d000-f771e000 rw-p 00016000 09:01 3263240****************************/lib32/libpthread-2.15.so
f771e000-f7720000 rw-p 00000000 00:00 0**
f7720000-f7722000 r-xp 00000000 09:01 3263189****************************/lib32/libdl-2.15.so
f7722000-f7723000 r--p 00001000 09:01 3263189****************************/lib32/libdl-2.15.so
f7723000-f7724000 rw-p 00002000 09:01 3263189****************************/lib32/libdl-2.15.so
f772c000-f7730000 rw-p 00000000 00:00 0**
f7730000-f7731000 r-xp 00000000 00:00 0********************[vdso]
f7731000-f774f000 r-xp 00000000 09:01 3263161****************************/lib32/ld-2.15.so
f774f000-f7750000 r--p 0001d000 09:01 3263161****************************/lib32/ld-2.15.so
f7750000-f7751000 rw-p 0001e000 09:01 3263161****************************/lib32/ld-2.15.so
ffd4a000-ffd6b000 rw-p 00000000 00:00 0********************[stack]
./samp_run: line 69:**7155 Aborted*****************${BASEDIR}/samp03svr 2>&1 > /dev/null
[09/13/13 19:42:31] Crash server
[09/13/13 19:42:41] Run server
и сказал что это краш происходит. Вот такой вот вопрос как защитится от этого крашера?1 стоит анти-крашер этот
Код:
#include <a_samp>

new AOFCT[MAX_PLAYERS];
new AOFCW[MAX_PLAYERS char];
public OnPlayerUpdate(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerCameraFrontVector(playerid,x,y,z);
if(floatcmp(1.0, floatabs(x))==-1 || floatcmp(1.0, floatabs(y))==-1 || floatcmp(1.0, floatabs(z))==-1)
{
if(AOFCT[playerid] < GetTickCount())AOFCW{playerid}=0; else AOFCW{playerid}++;
if(AOFCW{playerid} < 2) AOFCT[playerid]=GetTickCount()+1000; else
{
Kick(playerid);
}
return 0;
}
return 1;
}
Reply


Messages In This Thread
crash - by 26_RUSSS - 13.09.2013, 16:08
Re: crash - by White_116 - 13.09.2013, 16:15
Re: crash - by 26_RUSSS - 13.09.2013, 16:52
Re: crash - by DartfoL - 13.09.2013, 16:53
Re: crash - by Evansive - 13.09.2013, 16:54
Re: crash - by 26_RUSSS - 13.09.2013, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)