maddinat0r / samp-discord-connector

SA:MP plugin which controls a Discord bot
MIT License
108 stars 55 forks source link

DebainJessie - Unexpected server shutdown #42

Closed Zorono closed 6 years ago

Zorono commented 6 years ago

@maddinat0r - unexpected server shutdown.zip Helo everybody, so my server was unexpectedly crashed... after server restart + (2+ minutes) without i don't know why

Edit: after some tests i found that it happen only when i create/delete any channel or change the premssions of it

maddinat0r commented 6 years ago

Can you always reproduce your crash? Does it also happen when renaming the channel?

Zorono commented 6 years ago

what do you mean sir ?? (do you mean that it always every Server chnge ex: onGuildUserSendmessage if 'yes': sometimes) ??? no sir i tried changing my channel name multiple times but it didn't shutdown... but there was some errors/warnings...

@maddinat0r - logs.zip

maddinat0r commented 6 years ago

Can you definitely assure me that your server crashes every single time you either create a channel in Discord, delete one or change its permissions?

Zorono commented 6 years ago

unexpectedly crashed again after creating an channel named #sssssssssssss (for crash tests) and changing the premssions of it and then the server crashed... and the bot gonna offline and no kind of commands won't work as the server had already been down.

Crashdetect's Logs:

[29/11/2017 | 09:06:57] [debug] Native backtrace:
[29/11/2017 | 09:06:57] [debug] #0 f73cf180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] #1 f73c7064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] #2 f73c7d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] #3 f73c9cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] #4 f73ce4d5 in ?? () from plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] #5 f772ed50 in __kernel_rt_sigreturn () from linux-gate.so.1
[29/11/2017 | 09:06:57] [debug] #6 f772ed70 in __kernel_vsyscall () from linux-gate.so.1
[29/11/2017 | 09:06:57] [debug] #7 f7426367 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[29/11/2017 | 09:06:57] [debug] #8 f7427a23 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[29/11/2017 | 09:06:57] [debug] #9 f7654a25 in _ZN9__gnu_cxx27__verbose_terminate_handlerEv () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[29/11/2017 | 09:06:57] [debug] #10 f7652733 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[29/11/2017 | 09:06:57] [debug] #11 f76527ad in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[29/11/2017 | 09:06:57] [debug] #12 f76ae1b6 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[29/11/2017 | 09:06:57] [debug] #13 f7701ecb in ?? () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[29/11/2017 | 09:06:57] [debug] #14 f74e3d0e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[29/11/2017 | 09:06:57] [debug] Registers:
[29/11/2017 | 09:06:57] [debug] EAX: 00000000 EBX: 00003dd0 ECX: 00003de5 EDX: 00000006
[29/11/2017 | 09:06:57] [debug] ESI: 097d35dc EDI: f75a1000 EBP: f52ff2f8 ESP: f52ff174
[29/11/2017 | 09:06:57] [debug] EIP: f772ed70 EFLAGS: 00200296
[29/11/2017 | 09:06:57] [debug] Stack:
[29/11/2017 | 09:06:57] [debug] ESP+00000000: f52ff2f8 00000006 00003de5 f7426367
[29/11/2017 | 09:06:57] [debug] ESP+00000020: f52ff1a4 00000000 f73f7220 00000005
[29/11/2017 | 09:06:57] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000000c0: f7752000 f76fa000 00000005 f52ff2a0
[29/11/2017 | 09:06:57] [debug] ESP+000000e0: 00000005 00000000 f76f23d0 f761c8b8
[29/11/2017 | 09:06:57] [debug] ESP+00000100: f760daf8 f75a1960 f74628bc f75a1960
[29/11/2017 | 09:06:57] [debug] ESP+00000120: f76f2000 097d35dc 081a18ec f52ff2f8
[29/11/2017 | 09:06:57] [debug] ESP+00000140: f76f2000 081a18ec f7654a25 00000001
[29/11/2017 | 09:06:57] [debug] ESP+00000160: 00000000 f52ff2f4 00000000 f761c8b8
[29/11/2017 | 09:06:57] [debug] ESP+00000180: 00000000 f52ff358 f7652733 f76f2000
[29/11/2017 | 09:06:57] [debug] ESP+000001a0: f77456e0 f7652775 f76527a4 0962ba68
[29/11/2017 | 09:06:57] [debug] ESP+000001c0: 00000000 00000000 f76ae192 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000001e0: 00000000 f52ff428 f7701ecb f53454dc
[29/11/2017 | 09:06:57] [debug] ESP+00000200: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000220: f52ffb40 003d0f00 f52ff428 8e3190b0
[29/11/2017 | 09:06:57] [debug] ESP+00000240: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000260: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000280: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000002a0: 00000000 00000000 f7701e00 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000002c0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000002e0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000300: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000320: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000340: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000360: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+00000380: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000003a0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000003c0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] ESP+000003e0: 00000000 00000000 00000000 00000000
[29/11/2017 | 09:06:57] [debug] Loaded modules:
[29/11/2017 | 09:06:57] [debug] 00000000 - 00187dc3 samp03svr
[29/11/2017 | 09:06:57] [debug] f772e000 - f772ee96 linux-gate.so.1
[29/11/2017 | 09:06:57] [debug] f7717000 - f771981b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[29/11/2017 | 09:06:57] [debug] f76fb000 - f7715d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[29/11/2017 | 09:06:57] [debug] f7608000 - f7701cda /usr/lib/i386-linux-gnu/libstdc++.so.6
[29/11/2017 | 09:06:57] [debug] f75c2000 - f7606b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[29/11/2017 | 09:06:57] [debug] f75a5000 - f75c13c4 /lib/i386-linux-gnu/libgcc_s.so.1
[29/11/2017 | 09:06:57] [debug] f73f8000 - f75ad22f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[29/11/2017 | 09:06:57] [debug] f7731000 - f7751d6c /lib/ld-linux.so.2
[29/11/2017 | 09:06:57] [debug] f73b1000 - f73f3ac4 plugins/crashdetect.so
[29/11/2017 | 09:06:57] [debug] f72f3000 - f73b139a plugins/streamer.so
[29/11/2017 | 09:06:57] [debug] f7722000 - f772909f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[29/11/2017 | 09:06:57] [debug] f7245000 - f72f2c5b plugins/YSF.so
[29/11/2017 | 09:06:57] [debug] f7235000 - f72441d4 plugins/sscanf.so
[29/11/2017 | 09:06:57] [debug] f71be000 - f7234b5d plugins/irc.so
[29/11/2017 | 09:06:57] [debug] f68e0000 - f69be645 plugins/discord-connector.so
[29/11/2017 | 09:06:57] [debug] f68bc000 - f68dfd32 /home/ogp_agent/OGP_User_Files/whmcs/502/plugins/../log-core.so
[29/11/2017 | 09:06:57] [debug] f684d000 - f68ad254 /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0
[29/11/2017 | 09:06:57] [debug] f6680000 - f6863284 /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0
[29/11/2017 | 09:06:57] [debug] f5671000 - f567c3ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[29/11/2017 | 09:06:57] [debug] f566a000 - f566e97b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[29/11/2017 | 09:06:57] [debug] f5652000 - f566a2fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2

@maddinat0r - crash logs.zip capture2 capture capture3

but no its quiet working as well on deleting the Channel (no crash on deleting the channel after starting the server again)

maddinat0r commented 6 years ago

I've just released v0.2.2 with a bug fix for this. Can you please try it out and report back if that crash still occurs for you?