Rb_tree_incrementPSt18_Rb_tree_node_bas
#1

My server sometimes crashes randomly and crashdetect gives me this:

Код:
[21:07:24] [debug] Server crashed due to an unknown error
[21:07:24] [debug] System backtrace:
[21:07:25] [debug] #0 b743eecb in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[21:07:25] [debug] #1 b7436c69 in _ZN11CrashDetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[21:07:25] [debug] #2 b7438cd5 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[21:07:25] [debug] #3 b743e9d8 in ?? () from plugins/crashdetect.so
[21:07:25] [debug] #4 b7789600 in ?? ()
[21:07:25] [debug] #5 b76d10a5 in _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base () from /usr/lib/libstdc++.so.6
[21:07:25] [debug] #6 080dbb94 in ?? () from ./samp03svr
[21:07:25] [debug] #7 080b58cb in ?? () from ./samp03svr
[21:07:25] [debug] #8 080b10a3 in ?? () from ./samp03svr
[21:07:25] [debug] #9 b751be8c in __libc_start_main () from /lib/libc.so.6
[21:07:25] [debug] #10 0804b521 in ?? () from ./samp03svr
What may be the cause?
Reply
#2

In order to find that out, you'd actually need more information, because this doesn't say that much. In order to get more information, we can use the -d3 flag (means debug level 3) for the compiler. Create a file called "pawn.cfg" in the PAWN directory of your server and put -d3 in that file. Then just recompile and wait for the error to happen again.

That should give you an exact line of the origin of the crash.
Reply
#3

Wha? I have no idea what you just said, maybe help me via skype or something, I really dont understand that at all O.o
Reply
#4

Quote:
Originally Posted by Lant
Посмотреть сообщение
Wha? I have no idea what you just said, maybe help me via skype or something, I really dont understand that at all O.o
What I said is: There is probably only a handful of people who actually know what this error means (I haven't tried Googling yet, though). We need more information, just like you.

The pawn compiler (that thing that gives you the errors and warnings) produces the .amx that samp-server.exe requires. You can use certain attributes for this compiler that generate different outputs. Using the "-d3" command/flag produces a file with more information. For example, line numbers and function names. The script is larger, and will probably need more resources, but crashdetect generates better error reports and you can more easily detect what the cause of the issue is.

Just create a file in the "pawno" directory (where you can also find the "includes" directory) called "pawn.cfg" and put "-d3" in the file, then save it. Recompile your script, use it for your server, and wait for crashdetect to generate an error again. You will probably either have a line number or a function name of where the error is, meaning you at least know something about the cause.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)