NexiusTailer / Nex-AC

Anticheat system
https://pawn.wiki/index.php?/topic/27641-nex-ac/
GNU Lesser General Public License v3.0
213 stars 155 forks source link

Server Crashed due to an Unknown Reason #265

Closed HartyChock closed 2 years ago

HartyChock commented 2 years ago

Hello and thanks for your time!, i'm investigating since 2 days about this error but I can't understand what is causing it. I've been studying these logs for hours but I didn't find a solution by myself or by internet forums. Could you please give me some advices about this error as some nexac lines appear?

Best Regards, Rodrigo Dionigi.

[09/06/2022 12:03:57] Long callback execution detected (hang or performance issue) [09/06/2022 12:03:57] AMX backtrace: [09/06/2022 12:03:57] #0 0000c70c in sscanf_ (string[]=@00f79a10 "109.93.201.253", format[]=@00017a1c "p.dddd", 16226408, 16226412, 16226416, 16226420) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\geolocation.inc:309 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/1 0000c608 in ip2long (ip[]=@00f79a10 "109.93.201.253") at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\geolocation.inc:288 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/2 0000c2dc in GetIPCity (ip[]=@00f79a10 "109.93.201.253", dest[]=@00f79a88 "", len=30) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\geolocation.inc:183 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/3 0000bb0c in GetPlayerCity (playerid=15, string[]=@00f79a88 "", len=30) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\geolocation.inc:87 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/pull/4 0047fd74 in public FC_OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\gamemodes\XER.pwn:58916 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/5 native CallLocalFunction () in samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/6 00072ac4 in public ac_OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\FloodControl.inc:68 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/7 0002c9b8 in public OnPlPa_OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\nex-ac.inc:3714 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/8 native CallLocalFunction () in samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/9 00017958 in public MP_OPC (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\pause.inc:105 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/10 native CallLocalFunction () in samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/11 000148c8 in public Iter_OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\mSelection.inc:378 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/12 native CallLocalFunction () in samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/13 00007a18 in public SSCANF_OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\foreach.inc:589 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/14 00000d2c in public OnPlayerConnect (playerid=15) at C:\Users\Windows\Desktop\SAMP\xTreme Evolution RolePlay\pawno\include\sscanf2.inc:242 [09/06/2022 12:03:57] Server crashed due to an unknown error [09/06/2022 12:03:57] Native backtrace: [09/06/2022 12:03:57] #0 f79fcf7f in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/1 f79f581d in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/2 f79f5e48 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/3 f79f75dc in _ZN11CrashDetect7OnCrashERKN2os7ContextE () in plugins/crashdetect.so [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/pull/4 f79fc79f in ?? () in plugins/crashdetect.so [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/5 f7edf570 in kernel_rt_sigreturn () in linux-gate.so.1 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/6 f7edf549 in kernel_vsyscall () in linux-gate.so.1 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/7 f7a55a02 in gsignal () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/8 f7a56e91 in abort () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/9 f7a97e53 in ?? () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/10 f7a9eb0d in ?? () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/11 f7aa02a7 in ?? () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/12 080aed32 in ?? () in ./samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/13 080aef02 in ?? () in ./samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/14 080aa13a in ?? () in ./samp03svr [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/15 f7a40fa1 in __libc_start_main () in /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] https://github.com/pBlueG/SA-MP-MySQL/issues/16 0804b4e1 in ?? () in ./samp03svr [09/06/2022 12:03:57] Registers: [09/06/2022 12:03:57] EAX: 00000000 EBX: 00000002 ECX: ff839edc EDX: 00000000 [09/06/2022 12:03:57] ESI: 00000008 EDI: 00000000 EBP: ff839edc ESP: ff839ec0 [09/06/2022 12:03:57] EIP: f7edf549 EFLAGS: 00000246 [09/06/2022 12:03:57] Stack: [09/06/2022 12:03:57] ESP+00000000: ff839edc 00000000 ff839edc f7a55a02 [09/06/2022 12:03:57] ESP+00000020: 00000000 00000000 09215c20 f79fe0e9 [09/06/2022 12:03:57] ESP+00000040: f79fae87 f3d441ec 09215c20 f79fea75 [09/06/2022 12:03:57] ESP+00000060: 00f75d70 00000000 f3d2c5a0 f79ee04f [09/06/2022 12:03:57] ESP+00000080: f7a25000 ff839fe4 f7a25860 f79f4f94 [09/06/2022 12:03:57] ESP+000000a0: fffffffe ffffffff ffffffff ffffffff [09/06/2022 12:03:57] ESP+000000c0: ffffffff ffffffff ffffffff ffffffff [09/06/2022 12:03:57] ESP+000000e0: ffffffff ffffffff ffffffff ffffffff [09/06/2022 12:03:57] ESP+00000100: ffffffff ffffffff ffffffff ffffffff [09/06/2022 12:03:57] ESP+00000120: 00000148 09215c20 f7a5594e f7c00000 [09/06/2022 12:03:57] ESP+00000140: 00000006 ff83a010 00000000 f7a25000 [09/06/2022 12:03:57] ESP+00000160: 00000000 00000000 00000000 00000000 [09/06/2022 12:03:57] ESP+00000180: 00000000 00000000 00000000 00000000 [09/06/2022 12:03:57] ESP+000001a0: 00000000 00000000 00000000 00000000 [09/06/2022 12:03:57] ESP+000001c0: 00000000 00000000 00000000 00000000 [09/06/2022 12:03:57] ESP+000001e0: 00000148 f21f5d70 ff83a248 080aeb79 [09/06/2022 12:03:57] ESP+00000200: 00000009 09215c20 0a4da0c0 c8de0408 [09/06/2022 12:03:57] ESP+00000220: 00000000 3f35049a 44f27d23 00000000 [09/06/2022 12:03:57] ESP+00000240: f7c00000 00001000 ff83a1d8 f7a97df9 [09/06/2022 12:03:57] ESP+00000260: f7a56d77 00000000 ff83a140 f7a97e53 [09/06/2022 12:03:57] ESP+00000280: 17472da0 00393c74 f7edb090 00000000 [09/06/2022 12:03:57] ESP+000002a0: f7ba8b32 00000025 f7eb8130 f7eb41de [09/06/2022 12:03:57] ESP+000002c0: f7baa8d8 f7eb8130 ff83a1c8 f759d417 [09/06/2022 12:03:57] ESP+000002e0: ff83a130 ff83a130 ff83a170 f7ed8000 [09/06/2022 12:03:57] ESP+00000300: 0a050330 08159cf3 f7a97c4b 00000007 [09/06/2022 12:03:57] ESP+00000320: 00000001 f7ba8b2f f7baa8d8 ffffbcd4 [09/06/2022 12:03:57] ESP+00000340: 00000020 00000000 f21f5d70 f7a26907 [09/06/2022 12:03:57] ESP+00000360: f1f1cd70 00000000 ddb06480 f6bf3000 [09/06/2022 12:03:57] ESP+00000380: 09230d80 08159cf3 ff83a268 080aed32 [09/06/2022 12:03:57] ESP+000003a0: 09230d80 08159d16 ff83a298 080aef02 [09/06/2022 12:03:57] ESP+000003c0: 081a19b4 00000000 004c4b40 f6bf3000 [09/06/2022 12:03:57] ESP+000003e0: 09230d80 08159cf3 00000006 08159d0d [09/06/2022 12:03:57] Loaded modules: [09/06/2022 12:03:57] 00000000 - 00187dc3 samp03svr [09/06/2022 12:03:57] f7edf000 - f7ee0334 linux-gate.so.1 [09/06/2022 12:03:57] f7eca000 - f7eccadc /lib/i386-linux-gnu/libdl.so.2 [09/06/2022 12:03:57] f7eaa000 - f7ec8127 /lib/i386-linux-gnu/libpthread.so.0 [09/06/2022 12:03:57] f7d24000 - f7eb4928 /usr/lib/i386-linux-gnu/libstdc++.so.6 [09/06/2022 12:03:57] f7c22000 - f7d23798 /lib/i386-linux-gnu/libm.so.6 [09/06/2022 12:03:57] f7c04000 - f7c20544 /lib/i386-linux-gnu/libgcc_s.so.1 [09/06/2022 12:03:57] f7a28000 - f7c0a50b /lib/i386-linux-gnu/libc.so.6 [09/06/2022 12:03:57] f7ee1000 - f7f08534 /lib/ld-linux.so.2 [09/06/2022 12:03:57] f79dd000 - f7a253d4 plugins/crashdetect.so [09/06/2022 12:03:57] f790a000 - f79deb05 plugins/streamer.so [09/06/2022 12:03:57] f78f9000 - f79089b4 plugins/sscanf.so [09/06/2022 12:03:57] f7568000 - f78fdeb2 plugins/mysql_static.so [09/06/2022 12:03:57] f7544000 - f7567d32 /root/xer/plugins/../log-core.so [09/06/2022 12:03:57] f753a000 - f7541b1c /lib/i386-linux-gnu/librt.so.1 [09/06/2022 12:03:57] f6524000 - f6535dc8 /lib/i386-linux-gnu/libnss_files.so.2 [09/06/2022 12:03:57] f631b000 - f6402b50 plugins/pawncmd.so [09/06/2022 12:03:57] f614c000 - f6326690 plugins/pawnraknet.so [09/06/2022 12:03:57] f22bf000 - f22c3a70 /lib/i386-linux-gnu/libnss_dns.so.2 [09/06/2022 12:03:57] f22a7000 - f22bd89c /lib/i386-linux-gnu/libresolv.so.2

NexiusTailer commented 2 years ago

Don't see anything related to nex-ac. It showed up in OnPlayerConnect hook chain among everything other which hooked that public (FloodControl.inc -> nex-ac.inc -> pause.inc -> mSelection.inc -> foreach.inc -> sscanf2.inc). Moreover the first lines are about "long callback execution" check which is halfway useless as the most it gives are false detections, and this probably not directly related to the subsequent crash.

Try to disable it first (to see more clear logs before crash) and then re-check everything, paying the most attention to the sequence of lines (what the first detection was about is most likely to be the cause, and all further messages usually just experience a domino effect, breaking after the first mentioned thing).