SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 20/01/2017, 03:40 PM   #971
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,280
Reputation: 517
Default Re: CrashDetect

Quote:
Originally Posted by Belengher View Post
How do AMX small?
http://forum.sa-mp.com/showthread.php?t=616644

Also http://forum.sa-mp.com/showthread.php?t=177114

Last edited by Sew_Sumi; 20/01/2017 at 04:22 PM.
Sew_Sumi is offline   Reply With Quote
Old 25/01/2017, 09:09 PM   #972
Jefff
High-roller
 
Join Date: Dec 2007
Posts: 2,620
Reputation: 314
Default Re: CrashDetect

Code:
Log file is now opened in append mode, so it's not overwritten on server startup

Very nice BUT you cannot see the error logs until you turn off the server?
Jefff is offline   Reply With Quote
Old 26/01/2017, 12:40 AM   #973
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,280
Reputation: 517
Default Re: CrashDetect

Quote:
Originally Posted by Jefff View Post
Code:
Log file is now opened in append mode, so it's not overwritten on server startup

Very nice BUT you cannot see the error logs until you turn off the server?
Generally a crash, stops the server, so, what?
Sew_Sumi is offline   Reply With Quote
Old 26/01/2017, 02:03 PM   #974
Jefff
High-roller
 
Join Date: Dec 2007
Posts: 2,620
Reputation: 314
Default Re: CrashDetect

Quote:
Originally Posted by Sew_Sumi View Post
Generally a crash, stops the server, so, what?
but not "array index out of bounds" or similar
Jefff is offline   Reply With Quote
Old 17/06/2017, 10:48 PM   #975
GGRPSkripter
Little Clucker
 
Join Date: Jul 2015
Posts: 38
Reputation: 1
Default Re: CrashDetect

Hello peeps,

i have some problems with crash detect plugin. In my server log there are no function names from my script. I have -d3 on my compailer options

Compiler options
Code:
-r -w 203 -d3
Server log
Code:
[23:19:38] [debug] AMX backtrace:
[23:19:38] [debug] #0 0048c6d0 in public OnSQLError (1, 1064, 28025620, 28023736, 28023732) from script.amx
[23:19:38] [debug] #1 native sql_query () from sql.so
[23:19:38] [debug] #2 000804f0 in public SacuvajIgraca (0) from script.amx
[23:19:38] [debug] #3 000ae9a0 in public ppb_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #4 00030fb8 in public FC_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #5 native CallLocalFunction () from samp03svr
[23:19:38] [debug] #6 00026fc4 in public SSCANF_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #7 0001d310 in public Itter_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #8 0001b008 in ?? (0, 1) from script.amx
[23:19:38] [debug] #9 0000b73c in public FIXES_OnPlayerDisconnect (0, 1) from script.amx
[23:19:38] [debug] #10 native CallLocalFunction () from samp03svr
[23:19:38] [debug] #11 00002264 in public OnPlayerDisconnect (0, 1) from script.amx
Any advice on solving this problem?
GGRPSkripter is offline   Reply With Quote
Old 19/01/2018, 06:31 PM   #976
Vad97
Banned
 
Join Date: May 2016
Posts: 12
Reputation: 0
Default Re: CrashDetect

When using the function exit; gives [debug]
Vad97 is offline   Reply With Quote
Old 17/03/2018, 03:05 PM   #977
Mcc
Huge Clucker
 
Join Date: May 2015
Posts: 461
Reputation: 19
Default Re: CrashDetect

Hello guys
Periodically the server drops with such an error

PHP Code:
[17:37:53] [debugServer crashed due to an unknown error
[17:37:53] [debugNative backtrace:
[
17:37:53] [debug#0 f747f180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[17:37:53] [debug#1 f7477064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug#2 f7477d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug#3 f7479cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[17:37:53] [debug#4 f747e4d5 in ?? () from plugins/crashdetect.so
[17:37:53] [debug#5 f77d7b20 in __kernel_rt_sigreturn () from linux-gate.so.1
[17:37:53] [debug#6 0809568a in ?? () from ./samp03svr
[17:37:53] [debug#7 080957cd in ?? () from ./samp03svr
[17:37:53] [debug#8 f6258103 in ?? () from plugins/streamer.so
[17:37:53] [debugRegisters:
[
17:37:53] [debugEAXa4e8cc78 EBXf62ff594 ECXa4e8cc78 EDX1c154200
[17:37:53] [debugESI00000000 EDIff9955e8 EBPff995528 ESPff995520
[17:37:53] [debugEIP0809568a EFLAGS00010282
[17:37:53] [debugStack:
[
17:37:53] [debugESP+0000000008928f48 f62ff594 ff995588 080957cd
[17:37:53] [debugESP+0000002000000000 00000000 f6255059 094dcc78
[17:37:53] [debugESP+00000040000000ba 00000000 094dcc78 f6257f91
[17:37:53] [debugESP+00000060a4e8cc78 ff9955e8 f62d21ba f6258103
[17:37:53] [debugESP+0000008016d78420 f74d9216 f62580c9 0dac8230
[17:37:53] [debugESP+000000a0a4e8cc78 1c154200 ff9955e8 0e9120f0
[17:37:53] [debugESP+000000c0081d4700 00000001 000000ba 081d5078
[17:37:53] [debugESP+000000e0081d4700 00000008 f754f2d6 3c06df83
[17:37:53] [debugESP+00000100081cd170 00401745 ff995768 080aa13a
[17:37:53] [debugESP+0000012000000000 00000000 00000006 00000010
[17:37:53] [debugESP+00000140f77a8ad8 f779f43c f77a0b58 01000000
[17:37:53] [debugESP+00000160656d6167 65646f6d f7003531 f77a9414
[17:37:53] [debugESP+00000180f77a7e84 f77a7ef0 f77a7da0 f74d8243
[17:37:53] [debugESP+000001a0080aa260 00000000 00000000 00000000
[17:37:53] [debugESP+000001c000000000 00000000 00000000 00000000
[17:37:53] [debugESP+000001e000000000 00000000 00000000 00000000
[17:37:53] [debugESP+0000020000000000 00000000 00000000 00000000
[17:37:53] [debugESP+0000022000000000 00000000 00000000 f74d83fd
[17:37:53] [debugESP+0000024000000000 00000000 00000000 f74c0a63
[17:37:53] [debugESP+0000026000000001 ff995804 ff9957a4 081801f8
[17:37:53] [debugESP+0000028000000000 1c889315 b6323704 00000000
[17:37:53] [debugESP+000002a000000000 f77ecb70 f74c0979 f77f9000
[17:37:53] [debugESP+000002c0080a9420 00000001 ff995804 08150650
[17:37:53] [debugESP+000002e000000001 ff995b72 00000000 ff995b7e
[17:37:53] [debugESP+00000300ff995c88 ff995c91 ff995ca2 ff995cb3
[17:37:53] [debugESP+00000320ff995d50 ff995db2 ff995dcc ff995dd4
[17:37:53] [debugESP+00000340ff995e4a ff995e67 ff995eb9 ff995ecd
[17:37:53] [debugESP+00000360f77d7af0 00000021 f77d7000 00000010
[17:37:53] [debugESP+0000038000000064 00000003 08048034 00000004
[17:37:53] [debugESP+000003a0f77d8000 00000008 00000000 00000009
[17:37:53] [debugESP+000003c0000001f4 0000000d 000001f4 0000000e
[17:37:53] [debugESP+000003e0ff99592b 0000001f ff995fec 0000000f
[17:37:53] [debugLoaded modules:
[
17:37:53] [debug00000000 00187dc3 samp03svr
[17:37:53] [debugf77d7000 f77d7c5a linux-gate.so.1
[17:37:53] [debugf77c6000 f77c881b /lib32/libdl.so.2
[17:37:53] [debugf77aa000 f77c4d2b /lib32/libpthread.so.0
[17:37:53] [debugf76b8000 f77b1ce6 /usr/lib32/libstdc++.so.6
[17:37:53] [debugf7672000 f76b6b97 /lib32/libm.so.6
[17:37:53] [debugf7655000 f76713c4 /usr/lib32/libgcc_s.so.1
[17:37:53] [debugf74a7000 f765c237 /lib32/libc.so.6
[17:37:53] [debugf77d8000 f77f94a0 /lib/ld-linux.so.2
[17:37:53] [debugf7461000 f74a3ac4 plugins/crashdetect.so
[17:37:53] [debugf7450000 f745f290 plugins/sscanf.so
[17:37:53] [debugf70ac000 f7454ac7 plugins/mysql_static.so
[17:37:53] [debugf709b000 f70a209f /lib32/librt.so.1
[17:37:53] [debugf668e000 f66993ef /lib32/libnss_files.so.2
[17:37:53] [debugf77cd000 f77d05d8 plugins/MapAndreas.so
[17:37:53] [debugf667d000 f668b74c plugins/encrypt.so
[17:37:53] [debugf6237000 f6302ca5 plugins/streamer.so 
What does it mean?
Mcc is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] CrashDetect iHarzard Português/Portuguese 1 02/03/2014 07:33 PM
CrashDetect SPA Scripting Help 3 23/02/2014 10:17 AM
CrashDetect SPA Scripting Help 9 19/02/2014 08:17 PM
CrashDetect.so Mahde Scripting Help 2 09/02/2014 11:45 AM
Crashdetect Blackazur Server Support 1 30/11/2012 09:27 AM


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.