I'm not really... experienced with this field, though this thread may be of use to you.
|
(gdb) run Starting program: /home/gcreate/gamecreate/GameCreate-4358/gtasa/samp03svr (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb748f6c0 (LWP 2190)] [New Thread 0xb7149b90 (LWP 2193)] Started server on port: 7777, with maxplayers: 201 lanmode is OFF. [New Thread 0xb6398b90 (LWP 2194)] [New Thread 0xb162ab90 (LWP 2195)] [Thread 0xb162ab90 (LWP 2195) exited] [New Thread 0xb162ab90 (LWP 2201)] [New Thread 0xb0cffb90 (LWP 2205)] [New Thread 0xb04feb90 (LWP 2206)] [New Thread 0xafcfdb90 (LWP 2208)] [New Thread 0xaf4fcb90 (LWP 2209)] [Thread 0xaf4fcb90 (LWP 2209) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb748f6c0 (LWP 2190)] 0x0520e200 in ?? () (gdb) thread apply all bt Thread 8 (Thread 0xafcfdb90 (LWP 2208)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb771b3c8 in recv () from /lib/i686/cmov/libpthread.so.0 #2 0xb73fb7e7 in CNetwork::receiveData () from plugins/audio.so #3 0xb7408316 in thread_proxy () from plugins/audio.so #4 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #5 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 7 (Thread 0xb04feb90 (LWP 2206)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb771b3c8 in recv () from /lib/i686/cmov/libpthread.so.0 #2 0xb743d3c3 in CIRC::receiveData () from plugins/irc.so #3 0xb743e02d in CIRC::initiateConnection () from plugins/irc.so #4 0xb74550d6 in thread_proxy () from plugins/irc.so #5 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 6 (Thread 0xb0cffb90 (LWP 2205)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb771b3c8 in recv () from /lib/i686/cmov/libpthread.so.0 #2 0xb743d3c3 in CIRC::receiveData () from plugins/irc.so #3 0xb743e02d in CIRC::initiateConnection () from plugins/irc.so #4 0xb74550d6 in thread_proxy () from plugins/irc.so #5 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 5 (Thread 0xb162ab90 (LWP 2201)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb771b3c8 in recv () from /lib/i686/cmov/libpthread.so.0 #2 0xb743d3c3 in CIRC::receiveData () from plugins/irc.so #3 0xb743e02d in CIRC::initiateConnection () from plugins/irc.so #4 0xb74550d6 in thread_proxy () from plugins/irc.so #5 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 3 (Thread 0xb6398b90 (LWP 2194)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb771b2c8 in accept () from /lib/i686/cmov/libpthread.so.0 #2 0xb73f9b73 in CNetwork::acceptClients () from plugins/audio.so #3 0xb7408316 in thread_proxy () from plugins/audio.so #4 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #5 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 2 (Thread 0xb7149b90 (LWP 2193)): #0 0xb7730424 in __kernel_vsyscall () #1 0xb752d036 in nanosleep () from /lib/i686/cmov/libc.so.6 #2 0xb756a5cc in usleep () from /lib/i686/cmov/libc.so.6 #3 0x080ae110 in ?? () #4 0xb77144c0 in start_thread () from /lib/i686/cmov/libpthread.so.0 #5 0xb757184e in clone () from /lib/i686/cmov/libc.so.6 Thread 1 (Thread 0xb748f6c0 (LWP 2190)): #0 0x0520e200 in ?? () #1 0x09c03e50 in ?? () #2 0xb66be85c in ?? () #3 0xbfff1220 in ?? () #4 0x08051625 in ?? () #5 0xbfff12e0 in ?? () #6 0x00000008 in ?? () #7 0xbfff1298 in ?? () #8 0x0805085b in ?? () #9 0x00000073 in ?? () #10 0xb639ab1a in ?? () #11 0xbfff0f20 in ?? () #12 0x00000004 in ?? () #13 0x00154ff4 in ?? () #14 0x001c9f8c in ?? () #15 0x001cdd38 in ?? () #16 0x001c9f8c in ?? () #17 0x00000075 in ?? () #18 0x001cdda3 in ?? () #19 0x001cdacc in ?? () #20 0xb64f0da0 in ?? () #21 0xb639bdac in ?? () #22 0xb6399008 in ?? () #23 0x00000001 in ?? () #24 0x09c03e50 in ?? () #25 0x09c03e50 in ?? () #26 0x00000003 in ?? () #27 0xbfff17c8 in ?? () #28 0x080ce442 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?)
<Kalcor> this is 0.3b R2 server? <Cyber_Punk> yes <Kalcor> you're using CallLocalFunction somewhere? <Kalcor> looks to me like you're using CallLocalFunction with a bad set of parameters <Cyber_Punk> hmmmm maybe zcmd <Kalcor> well as far as I can tell, the last native called is CallLocalFunction <Kalcor> it doesn't get as far as calling that function either <Kalcor> so it's the parameters sent to CallLocalFunction that crashes it <Cyber_Punk> first thing that came to mind is zcmd |