SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/04/2016, 05:41 AM   #1
James Bob
Big Clucker
 
Join Date: Aug 2012
Posts: 193
Reputation: 7
Default Running SA-MP on Linux errors (lib/i386-linux-gnu/libc.so.6)

Haven't ran many servers on a linux OS first time running a SA-MP Server and I'm having a issue with linux, any suggestions to fix?

Code:
[05:40:25] [debug] Server crashed while executing loyal.amx
[05:40:25] [debug] AMX backtrace:
[05:40:25] [debug] #0 native fwrite () from samp03svr
[05:40:25] [debug] #1 00568da4 in ?? (0) from loyal.amx
[05:40:25] [debug] #2 000587d4 in public Audio_OnPlayerDisconnect (0, 1) from loyal.amx
[05:40:25] [debug] #3 native CallLocalFunction () from samp03svr
[05:40:25] [debug] #4 00011638 in public SSCANF_OnPlayerDisconnect (0, 1) from loyal.amx
[05:40:25] [debug] #5 0000b6c8 in public Itter_OnPlayerDisconnect (0, 1) from loyal.amx
[05:40:25] [debug] #6 native CallLocalFunction () from samp03svr
[05:40:25] [debug] #7 000012e4 in public OnPlayerDisconnect (0, 1) from loyal.amx
[05:40:25] [debug] Native backtrace:
[05:40:25] [debug] #0 f73bbe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[05:40:25] [debug] #1 f73b4bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[05:40:25] [debug] #2 f73b5dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[05:40:25] [debug] #3 f73b6226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[05:40:25] [debug] #4 f73bbadc in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #5 f77aab80 in ?? ()
[05:40:25] [debug] #6 f77aaba0 in ?? ()
[05:40:25] [debug] #7 f740c067 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[05:40:25] [debug] #8 f740d6a9 in abort () from /lib/i386-linux-gnu/libc.so.6
[05:40:25] [debug] #9 f7405107 in ?? () from /lib/i386-linux-gnu/libc.so.6
[05:40:25] [debug] #10 f740518b in ?? () from /lib/i386-linux-gnu/libc.so.6
[05:40:25] [debug] #11 0809b99c in ?? () from ./samp03svr
[05:40:25] [debug] #12 0809bdff in ?? () from ./samp03svr
[05:40:25] [debug] #13 080950e4 in ?? () from ./samp03svr
[05:40:25] [debug] #14 f73b794b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:40:25] [debug] #15 f73ba8f8 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #16 f73be916 in amx_Exec () from plugins/crashdetect.so
[05:40:25] [debug] #17 f73b6be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:40:25] [debug] #18 f73ba659 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #19 f729d88a in ?? () from plugins/streamer.so
[05:40:25] [debug] #20 080dfd62 in ?? () from ./samp03svr
[05:40:25] [debug] #21 080950e4 in ?? () from ./samp03svr
[05:40:25] [debug] #22 f73b794b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:40:25] [debug] #23 f73ba8f8 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #24 f73be916 in amx_Exec () from plugins/crashdetect.so
[05:40:25] [debug] #25 f73b6be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:40:25] [debug] #26 f73ba659 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #27 f729d88a in ?? () from plugins/streamer.so
[05:40:25] [debug] #28 080dfd62 in ?? () from ./samp03svr
[05:40:25] [debug] #29 080950e4 in ?? () from ./samp03svr
[05:40:25] [debug] #30 f73b794b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[05:40:25] [debug] #31 f73ba8f8 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #32 f73be916 in amx_Exec () from plugins/crashdetect.so
[05:40:25] [debug] #33 f73b6be6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[05:40:25] [debug] #34 f73ba659 in ?? () from plugins/crashdetect.so
[05:40:25] [debug] #35 f729d88a in ?? () from plugins/streamer.so
[05:40:25] [debug] #36 080a523a in ?? () from ./samp03svr
[05:40:25] [debug] #37 080d0b31 in ?? () from ./samp03svr
[05:40:25] [debug] #38 080ad6b7 in ?? () from ./samp03svr
[05:40:25] [debug] #39 080aeead in ?? () from ./samp03svr
[05:40:25] [debug] #40 080aef02 in ?? () from ./samp03svr
[05:40:25] [debug] #41 080aa13a in ?? () from ./samp03svr
[05:40:25] [debug] #42 f73f873e in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
OnPlayerDisconnect:
http://pastebin.com/NJ6wk7gn
James Bob is offline   Reply With Quote
Old 14/04/2016, 06:30 AM   #2
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,067
Reputation: 2660
Default Re: Running SA-MP on Linux errors (lib/i386-linux-gnu/libc.so.6)

"native fwrite". That should give you a clear idea where to look. Don't attempt to access a file before you have verified that you have a valid handle.
__________________
Vince is offline   Reply With Quote
Old 14/04/2016, 07:12 AM   #3
James Bob
Big Clucker
 
Join Date: Aug 2012
Posts: 193
Reputation: 7
Default Re: Running SA-MP on Linux errors (lib/i386-linux-gnu/libc.so.6)

Quote:
Originally Posted by Vince View Post
"native fwrite". That should give you a clear idea where to look. Don't attempt to access a file before you have verified that you have a valid handle.
I've fixed the issue it was due to certain files not having access to writing/executing.

Last edited by James Bob; 14/04/2016 at 07:47 AM.
James Bob is offline   Reply With Quote
Old 14/04/2016, 07:52 AM   #4
James Bob
Big Clucker
 
Join Date: Aug 2012
Posts: 193
Reputation: 7
Default Re: Running SA-MP on Linux errors (lib/i386-linux-gnu/libc.so.6)

I've jinxed myself, I was able to get past my tutorial but it's crashed.

I don't really deal with linux else I wouldn't really be asking for help, it's working fine completely on our windows server but we're moving to linux.

Code:
[07:51:36] [join] karma_test has joined the server (0:124.150.13.73)
[07:51:43] karma_test has logged in.
[07:51:43]  Loading karma_test's vehicles.
[07:51:43]  Loading all vehicles mods.
[07:51:43] [debug] Run time error 4: "Array index out of bounds"
[07:51:43] [debug]  Accessing element at index 999 past array upper bound 500
[07:51:43] [debug] AMX backtrace:
[07:51:43] [debug] #0 00085428 in public RL_OnPlayerStateChange (0, 1, 8) from loyal.amx
[07:51:43] [debug] #1 native CallLocalFunction () from samp03svr
[07:51:43] [debug] #2 00013474 in public OnPlayerStateChange (0, 1, 8) from loyal.amx
[07:51:47] [zcmd] [karma test]: /ah
[07:51:51] [zcmd] [karma test]: /setname 0 karma
[07:51:51] [debug] Server crashed while executing loyal.amx
[07:51:51] [debug] AMX backtrace:
[07:51:51] [debug] #0 native fwrite () from samp03svr
[07:51:51] [debug] #1 000685b8 in ?? (58587448, 76061208) from loyal.amx
[07:51:51] [debug] #2 0037baac in public cmd_setname (0, 60062828) from loyal.amx
[07:51:51] [debug] #3 native CallLocalFunction () from samp03svr
[07:51:51] [debug] #4 0000b118 in public OnPlayerCommandText (0, 60062760) from loyal.amx
[07:51:51] [debug] Native backtrace:
[07:51:51] [debug] #0 f73a3e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[07:51:51] [debug] #1 f739cbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[07:51:51] [debug] #2 f739ddbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[07:51:51] [debug] #3 f739e226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[07:51:51] [debug] #4 f73a3adc in ?? () from plugins/crashdetect.so
[07:51:51] [debug] #5 f7793b80 in ?? ()
[07:51:51] [debug] #6 f7793ba0 in ?? ()
[07:51:51] [debug] #7 f73f4067 in gsignal () from /lib/i386-linux-gnu/libc.so.6
[07:51:51] [debug] #8 f73f56a9 in abort () from /lib/i386-linux-gnu/libc.so.6
[07:51:51] [debug] #9 f73ed107 in ?? () from /lib/i386-linux-gnu/libc.so.6
[07:51:51] [debug] #10 f73ed18b in ?? () from /lib/i386-linux-gnu/libc.so.6
[07:51:51] [debug] #11 0809b99c in ?? () from ./samp03svr
[07:51:51] [debug] #12 0809bdff in ?? () from ./samp03svr
[07:51:51] [debug] #13 080950e4 in ?? () from ./samp03svr
[07:51:51] [debug] #14 f739f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:51:51] [debug] #15 f73a28f8 in ?? () from plugins/crashdetect.so
[07:51:51] [debug] #16 f73a6916 in amx_Exec () from plugins/crashdetect.so
[07:51:51] [debug] #17 f739ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:51:51] [debug] #18 f73a2659 in ?? () from plugins/crashdetect.so
[07:51:51] [debug] #19 f728588a in ?? () from plugins/streamer.so
[07:51:51] [debug] #20 080dfd62 in ?? () from ./samp03svr
[07:51:51] [debug] #21 080950e4 in ?? () from ./samp03svr
[07:51:51] [debug] #22 f739f94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[07:51:51] [debug] #23 f73a28f8 in ?? () from plugins/crashdetect.so
[07:51:51] [debug] #24 f73a6916 in amx_Exec () from plugins/crashdetect.so
[07:51:51] [debug] #25 f739ebe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[07:51:51] [debug] #26 f73a2659 in ?? () from plugins/crashdetect.so
[07:51:51] [debug] #27 f728588a in ?? () from plugins/streamer.so
[07:51:51] [debug] #28 080a5632 in ?? () from ./samp03svr
[07:51:51] [debug] #29 080b1751 in ?? () from ./samp03svr
[07:51:51] [debug] #30 08071d38 in ?? () from ./samp03svr
[07:51:51] [debug] #31 08071e32 in ?? () from ./samp03svr
[07:51:51] [debug] #32 0807bc50 in ?? () from ./samp03svr
[07:51:51] [debug] #33 080aed3d in ?? () from ./samp03svr
[07:51:51] [debug] #34 080aef02 in ?? () from ./samp03svr
[07:51:51] [debug] #35 080aa13a in ?? () from ./samp03svr
[07:51:51] [debug] #36 f73e073e in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
James Bob 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
Running this script in Linux extender1987 Scripting Help 8 13/06/2015 03:30 PM
Running server in LINUX! extender1987 Server Support 3 31/05/2015 08:36 AM
Server can't running in the linux - Errors inside tal_peretz Scripting Help 0 28/01/2013 08:55 PM
Running server in Linux (Ubuntu) Michael@Belgium Server Support 10 12/08/2011 03:14 PM
How to get R7 running on Linux server .::Anti::. Server Support 1 01/04/2010 05:36 PM


All times are GMT. The time now is 03:00 AM.


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