Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems to be crashing the server as soon as a player connects #16

Open
Bios-Marcel opened this issue Jan 6, 2017 · 13 comments
Open

Seems to be crashing the server as soon as a player connects #16

Bios-Marcel opened this issue Jan 6, 2017 · 13 comments

Comments

@Bios-Marcel
Copy link

Bios-Marcel commented Jan 6, 2017

The logs say that YSF caused it, but as soon as i remove the teamspeak-connector.so from plugins it works

[16:27:13] [connection] 46.80.26.58:58089 requests connection cookie.
[16:27:14] [connection] incoming connection: 46.80.26.58:58089 id: 0
[16:27:15] [debug] Server crashed due to an unknown error
[16:27:15] [debug] Native backtrace:
[16:27:15] [debug] #0 f73c2ca0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[16:27:15] [debug] #1 f73bbd22 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[16:27:15] [debug] #2 f73bc314 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[16:27:15] [debug] #3 f73be964 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[16:27:15] [debug] #4 f73c25cd in ?? () from plugins/crashdetect.so
[16:27:15] [debug] #5 f77b3bd0 in ?? ()
[16:27:15] [debug] #6 f5b3a676 in _ZN7CServer26IsNickNameCharacterAllowedEc () from plugins/YSF.so
[16:27:15] [debug] #7 f5b3a6f4 in _ZN7CServer11IsValidNickEPc () from plugins/YSF.so
[16:27:15] [debug] #8 f5b3df9c in _Z25HOOK_ContainsInvalidCharsPc () from plugins/YSF.so
[16:27:15] [debug] #9 080b4d19 in ?? () from ./samp03svr
[16:27:15] [debug] #10 08071d38 in ?? () from ./samp03svr
[16:27:15] [debug] #11 08071e32 in ?? () from ./samp03svr
[16:27:15] [debug] #12 0807bc50 in ?? () from ./samp03svr
[16:27:15] [debug] #13 f5b3cf0b in _ZN14CSAMPFunctions7ReceiveEPv () from plugins/YSF.so
[16:27:15] [debug] #14 f5b41b9c in _ZN14CHookRakServer7ReceiveEPv () from plugins/YSF.so
[16:27:15] [debug] #15 080aed3d in ?? () from ./samp03svr
[16:27:15] [debug] #16 080aef02 in ?? () from ./samp03svr
[16:27:15] [debug] #17 080aa13a in ?? () from ./samp03svr
[16:27:15] [debug] #18 f7402637 in __libc_start_main () from /lib32/libc.so.6
[16:27:15] [debug] #19 0804b4e1 in ?? () from ./samp03svr

I don't know if that is something fixable though?

@maddinat0r
Copy link
Owner

Do you use any natives or callbacks provided by the TSC plugin?

@Bios-Marcel
Copy link
Author

I tried it with and without, same result.

But when i for example used TSC_OnClientConnect, the callback itself worked fine, but the server still crashes when someone connects in sa-mp

@maddinat0r
Copy link
Owner

What plugins do you use and in which order do you load them? (just copy-paste the plugins line from your server.cfg)

@Bios-Marcel
Copy link
Author

plugins crashdetect.so sscanf.so mysql.so streamer.so teamspeak-connector.so regex.so pawncmd.so YSF.so

@maddinat0r
Copy link
Owner

Try to load the YSF plugin directly after crashdetect.

@Bios-Marcel
Copy link
Author

Same result:

[18:31:18] [connection] 46.80.26.58:49347 requests connection cookie.
[18:31:19] [connection] incoming connection: 46.80.26.58:49347 id: 0
[18:31:19] [debug] Server crashed due to an unknown error
[18:31:19] [debug] Native backtrace:
[18:31:19] [debug] #0 f73a0ca0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[18:31:19] [debug] #1 f7399d22 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[18:31:19] [debug] #2 f739a314 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[18:31:19] [debug] #3 f739c964 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[18:31:19] [debug] #4 f73a05cd in ?? () from plugins/crashdetect.so
[18:31:19] [debug] #5 f7791bd0 in ?? ()
[18:31:19] [debug] #6 f72fe676 in _ZN7CServer26IsNickNameCharacterAllowedEc () from plugins/YSF.so
[18:31:19] [debug] #7 f72fe6f4 in _ZN7CServer11IsValidNickEPc () from plugins/YSF.so
[18:31:19] [debug] #8 f7301f9c in _Z25HOOK_ContainsInvalidCharsPc () from plugins/YSF.so
[18:31:19] [debug] #9 080b4d19 in ?? () from ./samp03svr
[18:31:19] [debug] #10 08071d38 in ?? () from ./samp03svr
[18:31:19] [debug] #11 08071e32 in ?? () from ./samp03svr
[18:31:19] [debug] #12 0807bc50 in ?? () from ./samp03svr
[18:31:19] [debug] #13 f7300f0b in _ZN14CSAMPFunctions7ReceiveEPv () from plugins/YSF.so
[18:31:19] [debug] #14 f7305b9c in _ZN14CHookRakServer7ReceiveEPv () from plugins/YSF.so
[18:31:19] [debug] #15 080aed3d in ?? () from ./samp03svr
[18:31:19] [debug] #16 080aef02 in ?? () from ./samp03svr
[18:31:19] [debug] #17 080aa13a in ?? () from ./samp03svr
[18:31:19] [debug] #18 f73e0637 in __libc_start_main () from /lib32/libc.so.6
[18:31:19] [debug] #19 0804b4e1 in ?? () from ./samp03svr

@maddinat0r
Copy link
Owner

And if you remove the TSC plugin again?

@Bios-Marcel
Copy link
Author

it works just fine

@maddinat0r
Copy link
Owner

Which YSF version are you using?

@Bios-Marcel
Copy link
Author

Latest by Kurta

@maddinat0r
Copy link
Owner

Hm, maybe @kurta999 can tell us more about this. The function in the YSF plugin, which seems to cause a crash, seems pretty harmless though.

@Bios-Marcel
Copy link
Author

Bios-Marcel commented Jan 6, 2017

Should i create a new issue in YSF Repo? Or does the @ Name already notify him?

@maddinat0r
Copy link
Owner

He should be notified. No need to create an extra issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants