SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 01/05/2018, 06:04 PM   #1
Saddin
Huge Clucker
 
Saddin's Avatar
 
Join Date: Mar 2011
Posts: 372
Reputation: 35
Default socket crash

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 
Saddin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket MerryDeer Scripting Help 0 18/02/2017 12:38 PM
socket.dll Riccardomen Server Support 0 25/01/2017 11:28 AM
were can i find socket v0.1b ? all socket links are dead? Samieastwood Scripting Help 2 16/11/2014 01:41 PM
help - Socket sa:mp dudaefj Scripting Help 8 02/06/2012 03:47 AM
[AJUDA] Servidor com conex„o socket e conex„o socket para client (AdminCP) Dear` PortuguÍs/Portuguese 4 02/09/2011 07:12 PM


All times are GMT. The time now is 07:35 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.