05.09.2015, 18:23
(
Последний раз редактировалось Evocator; 07.09.2015 в 16:04.
)
Okay there is a pretty bad problem. Its a 200 player slot server. 112 players are connected. Server queries 100/200 on the SAMP browser only.
If you refresh the server over and over again, you can realize that the 112/200 are getting previewed for a split second and then 100/200 re-appears.
https://i.gyazo.com/42bc5687443630e3...137070a671.png
Edit:
Random debugs after packet drop, weird debugs.
Weird:
Also,
for some reason, OnPlayerUpdate sometimes gets called with this id after a packet drop:
Edit: Please work on fixing this.
Sorry for this, but im just reporting what i see to make it better.
If you refresh the server over and over again, you can realize that the 112/200 are getting previewed for a split second and then 100/200 re-appears.
https://i.gyazo.com/42bc5687443630e3...137070a671.png
Edit:
Random debugs after packet drop, weird debugs.
Код:
[19:29:12] [warning] dropping a split packet from client [19:29:12] [debug] Run time error 4: "Array index out of bounds" [19:29:12] [debug] AMX backtrace:
Код:
[17:19:04] [warning] dropping a split packet from client [17:19:04] [debug] Run time error 4: "Array index out of bounds" [17:19:04] [debug] AMX backtrace:
Код:
[21:19:16] [warning] dropping a split packet from client [21:19:16] [debug] Run time error 4: "Array index out of bounds" [21:19:16] [debug] AMX backtrace:
Код:
[10:34:10] [warning] dropping a split packet from client [10:34:10] [debug] Run time error 5: "Invalid memory access" [10:34:10] [debug] AMX backtrace:
Код:
[13:46:58] [warning] dropping a split packet from client [13:46:58] [debug] Run time error 4: "Array index out of bounds" [13:46:58] [debug] AMX backtrace:
Код:
[15:48:20] [warning] dropping a split packet from client [15:48:20] [warning] dropping a split packet from client [15:48:20] [warning] dropping a split packet from client [15:48:20] [warning] dropping a split packet from client [15:48:20] [debug] Run time error 5: "Invalid memory access" [15:48:20] [debug] AMX backtrace:
Код:
[10:34:27] [connection] incoming connection: 212.-.125.-:1494 id: 15 [10:34:28] Boobeise typed: /r k send me [10:34:29] [debug] Server crashed while executing xXXx.amx [10:34:29] [debug] AMX backtrace:
Код:
[19:14:27] [debug] AMX backtrace: [19:14:27] [debug] #0 00195330 in ?? (... <5661715 arguments>) at D:\xXXx.pwn:37001 [19:14:27] [debug] #1 0000f7e4 in public OnPlayerCommandText () at D:\pawno\include\YSI\y_hooks/impl.inc:929 [19:14:27] [debug] Native backtrace: [19:14:27] [debug] #0 f746de8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [19:14:27] [debug] #1 f7466bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [19:14:27] [debug] #2 f7467dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [19:14:27] [debug] #3 f7468226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [19:14:27] [debug] #4 f746dadc in ?? () from plugins/crashdetect.so [19:14:27] [debug] #5 f779c410 in ?? ()
for some reason, OnPlayerUpdate sometimes gets called with this id after a packet drop:
Код:
[16:40:32] [warning] dropping a split packet from client [16:40:32] [debug] Run time error 4: "Array index out of bounds" [16:40:32] [debug] AMX backtrace: [16:40:32] [debug] #0 00195770 in ?? (... <1 argument>) at D:\xXx.pwn:37037 [16:40:32] [debug] #1 00011f7c in public OnPlayerUpdate (playerid=22631232) at D:\XxX\pawno\include\YSI\y_hooks/impl.inc:2038
Код:
[16:52:08] [warning] dropping a split packet from client [16:52:09] [debug] Run time error 7: "Stack underflow" [16:52:09] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:09] [debug] AMX backtrace: [16:52:09] [debug] Run time error 7: "Stack underflow" [16:52:09] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:09] [debug] AMX backtrace: [16:52:09] [debug] Run time error 7: "Stack underflow" [16:52:09] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:09] [debug] AMX backtrace: [16:52:09] [debug] Run time error 7: "Stack underflow" [16:52:09] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:09] [debug] AMX backtrace: [16:52:10] [debug] Run time error 7: "Stack underflow" [16:52:10] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:10] [debug] AMX backtrace: [16:52:10] [debug] Run time error 7: "Stack underflow" [16:52:10] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:10] [debug] AMX backtrace: [16:52:10] [debug] Run time error 7: "Stack underflow" [16:52:10] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:10] [debug] AMX backtrace: [16:52:11] [debug] Run time error 7: "Stack underflow" [16:52:11] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:11] [debug] AMX backtrace: [16:52:11] [debug] Run time error 7: "Stack underflow" [16:52:11] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:11] [debug] AMX backtrace: [16:52:11] [debug] Run time error 7: "Stack underflow" [16:52:11] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:11] [debug] AMX backtrace: [16:52:12] [debug] Run time error 7: "Stack underflow" [16:52:12] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:12] [debug] AMX backtrace: [16:52:12] [debug] Run time error 7: "Stack underflow" [16:52:12] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:12] [debug] AMX backtrace: [16:52:12] [debug] Run time error 7: "Stack underflow" [16:52:12] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:12] [debug] AMX backtrace: [16:52:13] [debug] Run time error 7: "Stack underflow" [16:52:13] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:13] [debug] AMX backtrace: [16:52:13] [debug] Run time error 7: "Stack underflow" [16:52:13] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:13] [debug] AMX backtrace: [16:52:14] [debug] Run time error 7: "Stack underflow" [16:52:14] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:14] [debug] AMX backtrace: [16:52:14] [debug] Run time error 7: "Stack underflow" [16:52:14] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:14] [debug] AMX backtrace: [16:52:14] [debug] Run time error 7: "Stack underflow" [16:52:14] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:14] [debug] AMX backtrace: [16:52:15] [debug] Run time error 7: "Stack underflow" [16:52:15] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:15] [debug] AMX backtrace: [16:52:15] [debug] Run time error 7: "Stack underflow" [16:52:15] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:15] [debug] AMX backtrace: [16:52:16] [debug] Run time error 7: "Stack underflow" [16:52:16] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:16] [debug] AMX backtrace: [16:52:16] [debug] Run time error 7: "Stack underflow" [16:52:16] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:16] [debug] AMX backtrace: [16:52:16] [debug] Run time error 7: "Stack underflow" [16:52:16] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:16] [debug] AMX backtrace: [16:52:17] [connection] incoming connection: -:18528 id: 65 [16:52:17] [debug] Run time error 7: "Stack underflow" [16:52:17] [debug] Stack pointer (STK) is 0x1599060, stack top (STP) is 0x159905C [16:52:17] [debug] AMX backtrace: [16:52:17] [join] Danik_Kolosov has joined the server (65:-) [16:52:17] [debug] Server crashed while executing xXXx.amx [16:52:17] [debug] AMX backtrace: [16:52:17] [debug] Native backtrace: [16:52:17] [debug] #0 f747fe8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [16:52:17] [debug] #1 f7478bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [16:52:17] [debug] #2 f7479dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [16:52:17] [debug] #3 f747a226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [16:52:17] [debug] #4 f747fadc in ?? () from plugins/crashdetect.so [16:52:17] [debug] #5 f77ae410 in ?? () [16:52:17] [debug] #6 f7062e0a in _ZN9CCallback18FillCallbackParamsERSt5stackIN5boost7variantIiISsEEESt5dequeIS3_SaIS3_EEEPKcP6tagAMXPii () from plugins/mysql_static.so [16:52:17] [debug] #7 f7084ce9 in _ZN6Native12mysql_tqueryEP6tagAMXPi () from plugins/mysql_static.so [16:52:17] [debug] #8 080950e4 in ?? () from samp03svr [16:52:17] [debug] #9 f747b94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [16:52:17] [debug] #10 f747e8f8 in ?? () from plugins/crashdetect.so [16:52:17] [debug] #11 f7482916 in amx_Exec () from plugins/crashdetect.so [16:52:17] [debug] #12 f747abe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [16:52:17] [debug] #13 f747e659 in ?? () from plugins/crashdetect.so [16:52:17] [debug] #14 f73cc25c in ?? () from plugins/streamer.so [16:52:17] [debug] #15 f626f620 in ?? () from plugins/YSF.so