Comments (5)
Yes let's post here you bloody numpty.
from pawn-memory.
Wow. That's the most reasonable response I've ever seen. All the best to you too, buddy.
My server stops with Segmentation Fault error. Server has Debian 9 installed on it.
Incognito and Southclaw then said it's my code's fault, and offered me to try and comment out the code and test whether it works.
I've left the basics in there:
public OnPlayerConnect(playerid)
{
return 1;
}
It still have caused segmentation fault, which means it's some hook that breaks down things (which worked in Windows but do not work on Debian 9 based server, oddly enough).
So here I am with crashdetect logs, trying to get some help from you nice people since I have thoughts either Streamer, Memory plugin or ColAndreas might be causing the issue. Or something else, e.g. Incognito stated it might've been some include, and I have no idea on how to catch that issue, but instantly get refused to be helped to for no reason whatsoever, which is quite a good call coming from plugins' creators when one just tries to make sure there are no conflicts between the plugin to keep looking somewhere else.
Here's crashdetect log:
[21:15:03] [connection] incoming connection: 188.32.136.210:50821 id: 0
[21:15:04] [join] Roberto_Mendez has joined the server (0:188.32.136.210)
[21:15:04] [debug] Server crashed while executing BPRevProj.amx
[21:15:04] [debug] AMX backtrace:
[21:15:04] [debug] #0 00000005 in OnPlayerConnect (playerid=0, ... <1073741822 arguments>) at <unknown file>:0
[21:15:04] [debug] #1 00018d54 in public OnPlayerConnect () at D:\Servers\BPRP\pawno\include\YSI\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:114
[21:15:04] [debug] Native backtrace:
[21:15:04] [debug] #0 f6652371 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[21:15:04] [debug] #1 f664996d in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[21:15:04] [debug] #2 f664a98d in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[21:15:04] [debug] #3 f664cd1d in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[21:15:04] [debug] #4 f665183c in ?? () from plugins/crashdetect.so
[21:15:04] [debug] #5 f7770cb0 in __kernel_rt_sigreturn () from linux-gate.so.1
[21:15:04] [debug] #6 10000000 in ?? () from `V�
[21:15:04] [debug] Registers:
[21:15:04] [debug] EAX: 00000005 EBX: f667b000 ECX: 0000000e EDX: f1622161
[21:15:04] [debug] ESI: 2294b438 EDI: f1622165 EBP: 00000000 ESP: ffb635b0
[21:15:04] [debug] EIP: 10000000 EFLAGS: 00010287
[21:15:04] [debug] Stack:
[21:15:04] [debug] ESP+00000000: 00000000 00000000 f773bc00 f162215c
[21:15:04] [debug] ESP+00000020: f18bce0c 01eef250 00000000 f161d008
[21:15:04] [debug] ESP+00000040: f18bce08 00000e0c f163650c 2294b438
[21:15:04] [debug] ESP+00000060: 2274a008 f667b730 f6653b59 f667b000
[21:15:04] [debug] ESP+00000080: 2294b438 ffb6374c 0000003c 0000000c
[21:15:04] [debug] ESP+000000a0: 2274a434 0eb08a70 00000001 f6671d20
[21:15:04] [debug] ESP+000000c0: ffb636c0 f161d008 00000008 2294b438
[21:15:04] [debug] ESP+000000e0: 00000000 ffb636c0 ffb636f8 0000003c
[21:15:04] [debug] ESP+00000100: ffb636d0 081654d0 f664c679 f667b000
[21:15:04] [debug] ESP+00000120: 2274a008 ffb6374c 0000003c f6631cb0
[21:15:04] [debug] ESP+00000140: f6631cb0 0000003c 2294b438 f65a74f6
[21:15:04] [debug] ESP+00000160: 00000001 01f2f244 00000001 ffb63750
[21:15:04] [debug] ESP+00000180: 00000000 ffb648b0 ffb63758 080adb89
[21:15:04] [debug] ESP+000001a0: 0000003c 227693f0 ffb638f8 080dc01d
[21:15:04] [debug] ESP+000001c0: 00000002 f75c0422 03cc892d ffb637a0
[21:15:04] [debug] ESP+000001e0: f7541000 228e6d48 000e000b 00000000
[21:15:04] [debug] ESP+00000200: 00000000 00000000 2275bc48 00000005
[21:15:04] [debug] ESP+00000220: 00000001 00000000 626f520e 6f747265
[21:15:04] [debug] ESP+00000240: ffb6386f 081aee10 00000021 f7628348
[21:15:04] [debug] ESP+00000260: f762a78c f7628336 f772e000 f766f248
[21:15:04] [debug] ESP+00000280: f766efe7 f766f236 f772e000 f766f46d
[21:15:04] [debug] ESP+000002a0: 00000001 00000001 2275bc8c 2275bc48
[21:15:04] [debug] ESP+000002c0: f777c100 08048c50 f766f379 f772e000
[21:15:04] [debug] ESP+000002e0: ffb641c0 00000000 00000000 00000001
[21:15:04] [debug] ESP+00000300: ffb639dc 00000000 ffb641c0 f766faf4
[21:15:04] [debug] ESP+00000320: 00000038 ffb638ef ffb64ae0 ffb649c0
[21:15:04] [debug] ESP+00000340: ffb64ae0 ffb649c0 ffb64c28 080bfd15
[21:15:04] [debug] ESP+00000360: ffb64680 00000000 ffb63988 f73f88bd
[21:15:04] [debug] ESP+00000380: 08e80a10 08e80b70 0000002f 00000000
[21:15:04] [debug] ESP+000003a0: ffb6401c 00000001 00000001 003eba44
[21:15:04] [debug] ESP+000003c0: 00000000 00000000 00000000 228e6d48
[21:15:04] [debug] ESP+000003e0: 00000008 00000008 00000000 00000000
[21:15:04] [debug] Loaded modules:
[21:15:04] [debug] 00000000 - 00194f0b samp03svr
[21:15:04] [debug] f7770000 - f7770e2e linux-gate.so.1
[21:15:04] [debug] f774f000 - f77519c4 /lib/i386-linux-gnu/libdl.so.2
[21:15:04] [debug] f7732000 - f774d6fb /lib/i386-linux-gnu/libpthread.so.0
[21:15:04] [debug] f75b8000 - f773bbb3 /usr/lib32/libstdc++.so.6
[21:15:04] [debug] f7563000 - f75b7120 /lib/i386-linux-gnu/libm.so.6
[21:15:04] [debug] f7545000 - f7561354 /lib/i386-linux-gnu/libgcc_s.so.1
[21:15:04] [debug] f738e000 - f754bbc3 /lib/i386-linux-gnu/libc.so.6
[21:15:04] [debug] f7772000 - f779617c /lib/ld-linux.so.2
[21:15:04] [debug] f775b000 - f776a1d4 plugins/sscanf.so
[21:15:04] [debug] f7381000 - f7387e84 plugins/memory.so
[21:15:04] [debug] f7274000 - f738279b plugins/colandreas.so
[21:15:04] [debug] f6634000 - f667b5e0 plugins/crashdetect.so
[21:15:04] [debug] f656f000 - f6633bcf plugins/streamer.so
[21:15:04] [debug] f6dfb000 - f6e02480 /lib/i386-linux-gnu/librt.so.1
[21:15:04] [debug] f6c50000 - f6c610d0 /lib/i386-linux-gnu/libnss_files.so.2
I have hosted my server back in 2016 on Linux-based server and had no issue like that. Since then there are the following additions:
Plugins: memory.so, colandreas.so
Includes: physics (PeppeAC), Flycam, memory, PreviewModelDialog (Gammix)
You have to understand: I am trying to thin out ones which cause troubles with the server when it is hosted on Linux, because there is no problem on Windows. That's all I want you to do - to confirm whether it is your plugin (or whether it is not) that causes the segmentation fault.
from pawn-memory.
Unfortunately pawn-memory has nothing to do with this particular issue. Did you ever consider that this issue might be related to YSI or a library that uses YSI?
from pawn-memory.
It's probably best to post this on the forums - the issues sections here on GitHub are for problems specific to the project, since you haven't pinpointed the exact plugin or script that's causing the crashes, there's not a lot we can do here unfortunately.
Build your code with -l
, find all the hooks for OnPlayerConnect
in the .lst
file and start from there.
from pawn-memory.
@Southclaws Okay, I'll start with that .lst file I guess, and then direct the rest to the forums. (unfortunately, they do not respond often and it is rare for anyone to respond accordingly.
@BigETI Yes, I consider a lot of options, I am just going through the list to pinpoint the troublemaker. Thanks for the feedback. If it's irrelevant, close it up please, I am very grateful.
from pawn-memory.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pawn-memory.