PDA

View Full Version : Linux: Segmentation fault after starting the server


NBass
19/03/2017, 11:48 PM
Hello,
me again :D Loaded some new Filescripts, and got Linux(Debian 8.0/-64Bit) Segmentation fault warning. Checked in Crashlog, and got some lines why the Server is Crashing. Any ideas? Getting the same warnings/crash, even if i remove the new added Filescripts.


[01:38:04] [debug] Server crashed due to an unknown error
[01:38:04] [debug] Native backtrace:
[01:38:04] [debug] #0 b7420e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[01:38:04] [debug] #1 b7419bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[01:38:04] [debug] #2 b741adbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[01:38:04] [debug] #3 b741b226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[01:38:04] [debug] #4 b7420adc in ?? () from plugins/crashdetect.so
[01:38:04] [debug] #5 b776f600 in __kernel_rt_sigreturn () from linux-gate.so.1
[01:38:04] [debug] #6 0809568c in ?? () from ./samp03svr
[01:38:04] [debug] #7 080957cd in ?? () from ./samp03svr
[01:38:04] [debug] #8 b739531e in ?? () from plugins/streamer.so
[01:38:04] [debug] #9 080a180b in ?? () from ./samp03svr
[01:38:04] [debug] #10 080a4f90 in ?? () from ./samp03svr
[01:38:04] [debug] #11 080ab922 in ?? () from ./samp03svr
[01:38:04] [debug] #12 080aa0fd in ?? () from ./samp03svr
[01:38:04] [debug] #13 b745da63 in __libc_start_main () from /lib32/libc.so.6


Plugins:

sscanf.so
streamer.so
crashdetect.so

azzerking
20/03/2017, 01:43 AM
Hello,
me again :D Loaded some new Filescripts, and got Linux(Debian 8.0/-64Bit) Segmentation fault warning. Checked in Crashlog, and got some lines why the Server is Crashing. Any ideas? Getting the same warnings/crash, even if i remove the new added Filescripts.


[01:38:04] [debug] Server crashed due to an unknown error
[01:38:04] [debug] Native backtrace:
[01:38:04] [debug] #0 b7420e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[01:38:04] [debug] #1 b7419bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[01:38:04] [debug] #2 b741adbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[01:38:04] [debug] #3 b741b226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[01:38:04] [debug] #4 b7420adc in ?? () from plugins/crashdetect.so
[01:38:04] [debug] #5 b776f600 in __kernel_rt_sigreturn () from linux-gate.so.1
[01:38:04] [debug] #6 0809568c in ?? () from ./samp03svr
[01:38:04] [debug] #7 080957cd in ?? () from ./samp03svr
[01:38:04] [debug] #8 b739531e in ?? () from plugins/streamer.so
[01:38:04] [debug] #9 080a180b in ?? () from ./samp03svr
[01:38:04] [debug] #10 080a4f90 in ?? () from ./samp03svr
[01:38:04] [debug] #11 080ab922 in ?? () from ./samp03svr
[01:38:04] [debug] #12 080aa0fd in ?? () from ./samp03svr
[01:38:04] [debug] #13 b745da63 in __libc_start_main () from /lib32/libc.so.6


Plugins:

sscanf.so
streamer.so
crashdetect.so


The likely cause of this is your using 32bit versions of the plugins, and not the 64bit types. A segmentation fault is the code trying to access memory which it does not have access to.