socket crash
#1

PHP Code:
public OnFilterScriptInit()
{
    
SocketID socket_create(TCP);
    if(
is_socket_valid(SocketID))
    {
        
printf("Successfully initilized!");
        
socket_set_max_connections(SocketIDMAX_PLAYERS);
        
socket_bind(SocketIDServer_IP);
        
socket_listen(SocketIDSever_Port);
    }
    
SetTimer("ActiveCheck"15000true);
    return 
1;

PHP Code:
[20:05:42] [debugServer crashed while executing lbac.amx
[20:05:42] [debugAMX backtrace:
[
20:05:42] [debug#0 native socket_bind () from socket.so
[20:05:42] [debug#1 00000868 in public OnFilterScriptInit () from lbac.amx
[20:05:42] [debugNative backtrace:
[
20:05:42] [debug#0 f7429e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[20:05:42] [debug#1 f7422bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[20:05:42] [debug#2 f7423dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[20:05:42] [debug#3 f7424226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[20:05:42] [debug#4 f7429adc in ?? () from plugins/crashdetect.so
[20:05:42] [debug#5 f777fd50 in __kernel_rt_sigreturn () from linux-gate.so.1
[20:05:42] [debug#6 f777fd29 in __kernel_vsyscall () from linux-gate.so.1
[20:05:42] [debug#7 f747c367 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#8 f747da23 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#9 f74ba778 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#10 f754a9b5 in __fortify_fail () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#11 f7548a6a in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#12 f7547f57 in __strcpy_chk () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:05:42] [debug#13 f71770cd in _ZN7CSocket11bind_socketEiPc () from plugins/socket.so
[20:05:42] [debug#14 f71765a0 in _Z13n_bind_socketP6tagAMXPi () from plugins/socket.so
[20:05:42] [debug#15 080950e4 in ?? () from ./samp03svr
[20:05:42] [debug#16 f742594b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[20:05:42] [debug#17 f74288f8 in ?? () from plugins/crashdetect.so
[20:05:42] [debug#18 f742c916 in amx_Exec () from plugins/crashdetect.so
[20:05:42] [debug#19 f7424be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[20:05:42] [debug#20 f7428659 in ?? () from plugins/crashdetect.so
[20:05:42] [debug#21 f7382826 in ?? () from plugins/streamer.so
[20:05:42] [debug#22 080a12c6 in ?? () from ./samp03svr
[20:05:42] [debug#23 080ab601 in ?? () from ./samp03svr
[20:05:42] [debug#24 080aba0b in ?? () from ./samp03svr
[20:05:42] [debug#25 080aa0fd in ?? () from ./samp03svr
[20:05:42] [debug#26 f7467a63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)