SA-MP Forums Archive
crashdetect help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: crashdetect help (/showthread.php?tid=392502)



crashdetect help - wups - 14.11.2012

Hi, well my server crashed randomly, maybe anyone understands what is the problem?
Quote:

[19:02:49] Anti-Cheat: kick xxxxxx (Carjack).
[19:02:49] [debug] Server crashed due to an unknown error
[19:02:49] [debug] System backtrace:
[19:02:49] [debug] #0 b6faf1c1 in _ZN10StackTraceC1EiiPv () from plugins/crashdetect.so
[19:02:49] [debug] #1 b6fa7979 in _ZN11crashdetect20PrintSystemBacktraceEPv () from plugins/crashdetect.so
[19:02:49] [debug] #2 b6faa263 in _ZN11crashdetect15SystemExceptionEPv () from plugins/crashdetect.so
[19:02:49] [debug] #3 b6faedda in ?? () from plugins/crashdetect.so
[19:02:49] [debug] #4 b7cfe618 in ?? () from /lib/libc.so.6
[19:02:49] [debug] #5 0809dfe3 in ?? () from /root/samp03/samp03svr
[19:02:49] [debug] #6 0807d60c in ?? () from /root/samp03/samp03svr
[19:02:49] [debug] #7 0807d7e6 in ?? () from /root/samp03/samp03svr
[19:02:49] [debug] #8 0807d962 in ?? () from /root/samp03/samp03svr
[19:02:49] [debug] #9 08077c23 in ?? () from /root/samp03/samp03svr
[19:02:49] [debug] #10 b7ceac96 in __libc_start_main () from /lib/libc.so.6
[19:02:49] [debug] #11 0804b4c1 in __gxx_personality_v0 () from /root/samp03svr




Re: crashdetect help - Inv1s - 14.11.2012

Problem there: [19:02:49] Anti-Cheat: kick xxxxxx (Carjack).


Re: crashdetect help - wups - 14.11.2012

Quote:
Originally Posted by Inv1s
Посмотреть сообщение
Problem there: [19:02:49] Anti-Cheat: kick xxxxxx (Carjack).
Yeah it is a possibility, that's why i posted it here... You know, my server gets like 5 chat messages/commands in one second, so this is only the latest one.
Anyway, there are plenty of anti-cheat kicks during the day, but none crash the server.


Re: crashdetect help - wups - 15.11.2012

bump


Re: crashdetect help - wups - 23.11.2012

hello bump. Maybe this could somehow be related to anti-cheat kick in a foreach loop?


Re: crashdetect help - iggy1 - 23.11.2012

Have you compiled with the -d3 switch?

You will get more detailed info from crashdetect when compiled with this switch. Should actually tell you which line crashes the server. Also removes most of those question marks.

EDIT: If you don't want to do it from the command line, add pawn.cfg file to your pawn compiler directory and put -d3 in it. And recompile.

OFFTOPIC: This is also an easy way to get assembler output with -a.


Re: crashdetect help - wups - 24.11.2012

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Have you compiled with the -d3 switch?

You will get more detailed info from crashdetect when compiled with this switch. Should actually tell you which line crashes the server. Also removes most of those question marks.

EDIT: If you don't want to do it from the command line, add pawn.cfg file to your pawn compiler directory and put -d3 in it. And recompile.

OFFTOPIC: This is also an easy way to get assembler output with -a.
Actually, I don't want to add any compiler tags to my live server, when it was just a random crash, maybe the first in a month.


Re: crashdetect help - iggy1 - 24.11.2012

Quote:
Originally Posted by wups
Посмотреть сообщение
Actually, I don't want to add any compiler tags to my live server, when it was just a random crash, maybe the first in a month.
It's the only way to get detailed info on the crash though. I doubt anyone can help you without more info.