SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/02/2020, 05:37 PM   #1
MichaelScott
Little Clucker
 
Join Date: Apr 2019
Posts: 15
Reputation: 0
Default Samp server crashes with Signal 6

Hello, long story short, one minute the server was working, the other one it just doesn't launch and throws a unknown error in server logs:
Code:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[19:52:28] 
[19:52:28] Server Plugins
[19:52:28] --------------
[19:52:28]  Loading plugin: crashdetect.so
[19:52:28]   CrashDetect plugin 4.19.1
[19:52:28]   Loaded.
[19:52:28]  Loading plugin: sscanf.so
[19:52:28] 

[19:52:28]  ===============================

[19:52:28]       sscanf plugin loaded.     

[19:52:28]          Version:  2.8.3        

[19:52:28]   (c) 2018 Alex "******" Cole  

[19:52:28]  ===============================

[19:52:28]   Loaded.
[19:52:28]  Loading plugin: streamer.so
[19:52:28] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[19:52:28]   Loaded.
[19:52:28]  Loading plugin: mysql.so
[19:52:28]  >> plugin.mysql: R41-4 successfully loaded.
[19:52:28]   Loaded.
[19:52:28]  Loaded 4 plugins.

[19:52:28] 
[19:52:28] Filterscripts
[19:52:28] ---------------
[19:52:28]   Loaded 0 filterscripts.

[19:52:28] [debug] Server crashed due to an unknown error
[19:52:28] [debug] Native backtrace:
[19:52:28] [debug] #0 f735d096 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[19:52:28] [debug] #1 f7355450 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[19:52:28] [debug] #2 f73562ac in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[19:52:28] [debug] #3 f7356e06 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[19:52:28] [debug] #4 f735c782 in ?? () from plugins/crashdetect.so
[19:52:28] [debug] #5 f7754410 in __kernel_rt_sigreturn () from linux-gate.so.1
[19:52:28] [debug] #6 f7754430 in __kernel_vsyscall () from linux-gate.so.1
[19:52:28] [debug] #7 f73b0df0 in gsignal () from /lib32/libc.so.6
[19:52:28] [debug] #8 f73b22b7 in abort () from /lib32/libc.so.6
[19:52:28] [debug] #9 f73a9a07 in ?? () from /lib32/libc.so.6
[19:52:28] [debug] #10 f73a9a8b in ?? () from /lib32/libc.so.6
[19:52:28] [debug] #11 08098558 in ?? () from ./samp03svr
[19:52:28] [debug] #12 080d60e1 in ?? () from ./samp03svr
[19:52:28] [debug] #13 080a4f0b in ?? () from ./samp03svr
[19:52:28] [debug] #14 080ab922 in ?? () from ./samp03svr
[19:52:28] [debug] #15 080aa0fd in ?? () from ./samp03svr
[19:52:28] [debug] #16 f739d286 in __libc_start_main () from /lib32/libc.so.6
[19:52:28] [debug] Registers:
[19:52:28] [debug] EAX: 00000000 EBX: 00000002 ECX: ffd49160 EDX: 00000000
[19:52:28] [debug] ESI: 00000008 EDI: 00000000 EBP: ffd49160 ESP: ffd49150
[19:52:28] [debug] EIP: f7754430 EFLAGS: 00000246
[19:52:28] [debug] Stack:
[19:52:28] [debug] ESP+00000000: ffd49160 00000000 ffd49160 f73b0df0
[19:52:28] [debug] ESP+00000020: 00000001 08d3ab10 00000044 080a10af
[19:52:28] [debug] ESP+00000040: f7537960 08d3ab10 f7537300 f73ed5fa
[19:52:28] [debug] ESP+00000060: 08d3ab10 00000044 00000008 00000000
[19:52:28] [debug] ESP+00000080: ffffffff 00000000 08d3ab10 f73ef80d
[19:52:28] [debug] ESP+000000a0: ffffffff ffffffff ffffffff ffffffff
[19:52:28] [debug] ESP+000000c0: ffffffff ffffffff ffffffff ffffffff
[19:52:28] [debug] ESP+000000e0: ffffffff ffffffff ffffffff ffffffff
[19:52:28] [debug] ESP+00000100: ffffffff ffffffff ffffffff ffffffff
[19:52:28] [debug] ESP+00000120: f7751000 ffd49324 ffd49658 f73b22b7
[19:52:28] [debug] ESP+00000140: 0000003c 0000003d 0000003c 00000001
[19:52:28] [debug] ESP+00000160: 00000000 00000000 00000000 00000000
[19:52:28] [debug] ESP+00000180: 00000000 00000000 00000000 00000000
[19:52:28] [debug] ESP+000001a0: 00000000 00000000 00000000 00000000
[19:52:28] [debug] ESP+000001c0: 00000000 00000000 00000000 00000000
[19:52:28] [debug] ESP+000001e0: 00000000 00000004 f753a138 f73aa810
[19:52:28] [debug] ESP+00000200: f7778f3c ffd492e0 f73c6f7b f7539000
[19:52:28] [debug] ESP+00000220: f7539cc0 00000001 ffd493a8 00000000
[19:52:28] [debug] ESP+00000240: f7539cc0 f7539cc0 f73f364b f7539000
[19:52:28] [debug] ESP+00000260: f73b2167 f7539000 f7539cc0 f73a9a07
[19:52:28] [debug] ESP+00000280: f7539000 f3917464 00000000 f73a9a8b
[19:52:28] [debug] ESP+000002a0: 0815806d f74e5ff8 00000005 f73a9a50
[19:52:28] [debug] ESP+000002c0: 08158538 0815836d 00000323 0815806d
[19:52:28] [debug] ESP+000002e0: 00000015 00000015 01a43acc f7539780
[19:52:28] [debug] ESP+00000300: 01a43b18 00000000 01a43b14 00000000
[19:52:28] [debug] ESP+00000320: 01a43b08 00000000 01a43b04 00000000
[19:52:28] [debug] ESP+00000340: 01a43af8 00000000 01a43af4 00000000
[19:52:28] [debug] ESP+00000360: 01a43ae8 00000000 01a43ae4 00000000
[19:52:28] [debug] ESP+00000380: 01a43ad8 00000000 01a43ad4 00000000
[19:52:28] [debug] ESP+000003a0: 01a43bc8 00000000 01a43bc4 00000000
[19:52:28] [debug] ESP+000003c0: 01a43bb8 00000000 01a43bb4 00000000
[19:52:28] [debug] ESP+000003e0: 01a43ba8 00000000 01a43ba4 00000000
[19:52:28] [debug] Loaded modules:
[19:52:28] [debug] 00000000 - 00187dc3 samp03svr
[19:52:28] [debug] f7756000 - f7756530 linux-gate.so.1
[19:52:28] [debug] f7747000 - f77499c4 /lib32/libdl.so.2
[19:52:28] [debug] f772a000 - f774577b /lib32/libpthread.so.0
[19:52:28] [debug] f75b0000 - f7733bb3 /usr/lib32/libstdc++.so.6
[19:52:28] [debug] f755b000 - f75aee60 /lib32/libm.so.6
[19:52:28] [debug] f753d000 - f7559354 /usr/lib32/libgcc_s.so.1
[19:52:28] [debug] f7385000 - f7543653 /lib32/libc.so.6
[19:52:28] [debug] f7755000 - f777904c /lib/ld-linux.so.2
[19:52:28] [debug] f733e000 - f7381bb4 plugins/crashdetect.so
[19:52:28] [debug] f732d000 - f733c9b4 plugins/sscanf.so
[19:52:28] [debug] f7267000 - f732c740 plugins/streamer.so
[19:52:28] [debug] f725e000 - f726547c /lib32/librt.so.1
[19:52:28] [debug] f6ecd000 - f7262eb2 plugins/mysql.so
[19:52:28] [debug] f6ea9000 - f6eccd32 /root/samp03/plugins/../log-core.so
[19:52:28] [debug] f5e94000 - f5ea50d0 /lib32/libnss_files.so.2
In the log-core logs file it says:
Code:
[19:52:28] [ERROR] signal 6 (SIGABRT) catched; shutting log-core down (errno: 0, signal code: -6, exit status: 0)
I was doing some update to the code and the compiler just ends with [Finished in .....] instead of showing the information at the end, and the compilation time increased. I can't really think what i made in that time, because I did a lot and it was quite long ago
MichaelScott is offline   Reply With Quote
Old 21/02/2020, 01:53 PM   #2
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,528
Reputation: 1642
Default Re: Samp server crashes with Signal 6

Did you compile the script with -d3? If not, try that to see if crashdetect can provide more info.
-d2 would do too (-d3 is the same as -d2 (full debug checking) but it also implies -O0; no optimalisations)

EDIT:
Just in case you don't know how-to: Put this somewhere in your script and then re-compile
Code:
#pragma option -d3
OR if you run pawncc through bash or something similiar, run it as usually but with parameter -d3
__________________
Do not click on this URL -It is secret information
RIP Slayer 1981-2019 \m/
Kwarde 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
Samp Server crashes NealPeteros Scripting Help 8 11/11/2016 10:01 AM
samp-server.exe Crashes [SF]OutLawZ Scripting Help 0 01/10/2013 04:17 AM
Samp Server Crashes... Nekom Server Support 5 03/04/2010 08:28 AM
[HELP] Samp Server Crashes :S [cA]Unforseen Help Archive 4 25/02/2010 05:38 PM
samp-server Crashes Right When I Run It irbasil Server Support 1 19/12/2009 08:21 PM


All times are GMT. The time now is 07:13 AM.


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