Request immediate assistance
#1

Hello, I've been having a few problems that I've been finding extremely hard to fix, to list them here:

First comes this:
Код:
[17:45:41] [debug] Server received interrupt signal
[17:45:41] [debug] Native backtrace:
[17:45:41] [debug] #0 00798e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[17:45:41] [debug] #1 00791bcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[17:45:41] [debug] #2 00792dbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[17:45:41] [debug] #3 00793176 in _ZN11CrashDetect11OnInterruptEPv () from plugins/crashdetect.so
[17:45:41] [debug] #4 00798a7c in ?? () from plugins/crashdetect.so
[17:45:41] [debug] #5 007da410 in ?? ()
[17:45:41] [debug] #6 007da430 in ?? ()
[17:45:41] [debug] #7 005e1786 in nanosleep () from /lib/libc.so.6
[17:45:41] [debug] #8 0061b9ac in usleep () from /lib/libc.so.6
[17:45:41] [debug] #9 080a9ed2 in ?? () from ./samp03svr
[17:45:41] [debug] #10 00556d36 in __libc_start_main () from /lib/libc.so.6
[17:45:41] [debug] #11 0804b4e1 in ?? () from ./samp03svr
[17:45:41] --- Server Shutting Down.
[17:45:41]
It only gives this error on linux and I suppose it has to do with libc.so.6. I use CentOS 6 x64.

The second error are random crashes with cstl.dll plugin. They always backtrace to a cstl operation. Is this plugin finished and stable?

I'd appreciate any help with utmost urgency. Thank you.
Reply
#2

How exactly do you usually start your server? The interrupt signal is normally only caused by terminal input; pressing Control-C while the server process is in the foreground, or killing the process with the kill command.
Reply
#3

Well, the problem was the endpoint, I was placing it on TCP when it was meant to be UDP. I still can't figure why cstl crashes the server though. I'm sure I'm not performing any invalid operations and it just crashes.
Reply
#4

Код:
[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
There's an example.

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)