27.06.2015, 19:20
Код:
[19:19:31] [debug] AMX backtrace: [19:19:31] [debug] #0 native vector_remove () from cstl.so [19:19:31] [debug] #1 00007c4c in public deleteGameMenu (0) from Main.amx [19:19:31] [debug] #2 0000953c in public OnCharacterUnload (0, 1) from Main.amx [19:19:31] [debug] #3 0000de68 in public OnPlayerDisconnect (0, 1) from Main.amx [19:19:31] [debug] Native backtrace: [19:19:31] [debug] #0 00350e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [19:19:31] [debug] #1 00349bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [19:19:31] [debug] #2 0034adbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [19:19:31] [debug] #3 0034b226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [19:19:31] [debug] #4 00350adc in ?? () from plugins/crashdetect.so [19:19:31] [debug] #5 0097c410 in ?? () [19:19:31] [debug] #6 00307420 in ?? () from plugins/cstl.so [19:19:31] [debug] #7 080950b4 in ?? () from ./samp03svr [19:19:31] [debug] #8 0034c94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [19:19:31] [debug] #9 0034f8f8 in ?? () from plugins/crashdetect.so [19:19:31] [debug] #10 00353916 in amx_Exec () from plugins/crashdetect.so [19:19:31] [debug] #11 0034bbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [19:19:31] [debug] #12 0034f659 in ?? () from plugins/crashdetect.so [19:19:31] [debug] #13 0084527c in ?? () from plugins/streamer.so [19:19:31] [debug] #14 080a508a in ?? () from ./samp03svr [19:19:31] [debug] #15 080d06a1 in ?? () from ./samp03svr [19:19:31] [debug] #16 080ad387 in ?? () from ./samp03svr [19:19:31] [debug] #17 080aeb6d in ?? () from ./samp03svr [19:19:31] [debug] #18 080aebc2 in ?? () from ./samp03svr [19:19:31] [debug] #19 080a9e9a in ?? () from ./samp03svr [19:19:31] [debug] #20 00556d36 in __libc_start_main () from /lib/libc.so.6 [19:19:31] [debug] #21 0804b4e1 in ?? () from ./samp03svr
vector_remove () is removing a valid vector index from a valid vector. I do not understand why this happens and it only happens sometimes. I need this fixed as my whole code is built around vectors.