SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 12/06/2020, 08:27 PM   #1
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default [ HELP ] Server crashes (Centos7X64)

Hey.

My server is keep crashing suddenly without an understandable reason.
logs shows:

Code:
[01:30:57] [debug] Server crashed due to an unknown error
[01:30:57] [debug] Native backtrace:
[01:30:57] [debug] #0 f73d48b6 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
[01:30:57] [debug] #1 f73cc120 in _ZN18CrashDetectHandler20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
[01:30:57] [debug] #2 f73cc886 in _ZN18CrashDetectHandler20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
[01:30:57] [debug] #3 f73ccf96 in _ZN18CrashDetectHandler7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
[01:30:57] [debug] #4 f73d3f82 in ?? () in plugins/crashdetect.so
[01:30:57] [debug] #5 f773b410 in ?? ()
[01:30:57] [debug] #6 f773b430 in ?? ()
[01:30:57] [debug] #7 f742c227 in gsignal () in /lib/libc.so.6
[01:30:57] [debug] #8 f742da63 in abort () in /lib/libc.so.6
[01:30:57] [debug] #9 f746dfd5 in ?? () in /lib/libc.so.6
[01:30:57] [debug] #10 f747663d in ?? () in /lib/libc.so.6
[01:30:57] [debug] #11 f766eaef in _ZdlPv () in /lib/libstdc++.so.6
[01:30:57] [debug] #12 f76d5e9b in _ZNSs4_Rep10_M_destroyERKSaIcE () in /lib/libstdc++.so.6
[01:30:57] [debug] #13 f7281205 in _ZN9CCallback16ProcessCallbacksEv () in plugins/mysql.so
[01:30:57] [debug] #14 f72a8d02 in ProcessTick () in plugins/mysql.so
[01:30:57] [debug] #15 080dd3d2 in ?? () in ./samp03svr
[01:30:57] [debug] #16 080b7bea in ?? () in ./samp03svr
[01:30:57] [debug] #17 080b2d92 in ?? () in ./samp03svr
[01:30:57] [debug] #18 f74172a3 in __libc_start_main () in /lib/libc.so.6
[01:30:57] [debug] #19 0804b4e1 in ?? () in ./samp03svr
[01:30:57] [debug] Registers:
[01:30:57] [debug] EAX: 00000000 EBX: 0000675f ECX: 0000675f EDX: 00000006
[01:30:57] [debug] ESI: 00000006 EDI: f75c4000 EBP: fff0d9b8 ESP: fff0d1e4
[01:30:57] [debug] EIP: f773b430 EFLAGS: 00000282
[01:30:57] [debug] Stack:
[01:30:57] [debug] ESP+00000000: fff0d9b8 00000006 0000675f f742c227
[01:30:57] [debug] ESP+00000020: fff0d214 00000000 f775f000 00000000
[01:30:57] [debug] ESP+00000040: 00000000 00000000 00000000 00000000
[01:30:57] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
[01:30:57] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
[01:30:57] [debug] ESP+000000a0: 00000000 00000000 00000000 00000000
[01:30:57] [debug] ESP+000000c0: f775f900 34303866 31653462 37000000
[01:30:57] [debug] ESP+000000e0: 00000000 fff0e87d 0000000b f757f3da
[01:30:57] [debug] ESP+00000100: 00000002 fff0d2b6 00000002 f757d133
[01:30:57] [debug] ESP+00000120: 00000008 f757f3de 00000002 00000003
[01:30:57] [debug] ESP+00000140: 00000006 fff0d5a0 f746dfd5 00000006
[01:30:57] [debug] ESP+00000160: 00000000 00758bbf f74773b6 f7580684
[01:30:57] [debug] ESP+00000180: 00000003 f7580758 00000021 f7580699
[01:30:57] [debug] ESP+000001a0: 00000005 00000005 f7472862 00000020
[01:30:57] [debug] ESP+000001c0: 00000005 fff0d3c0 00000002 00000020
[01:30:57] [debug] ESP+000001e0: 00000008 fff0d3e0 f744168f 00000000
[01:30:57] [debug] ESP+00000200: 00000004 fff0d400 f747996a 00000000
[01:30:57] [debug] ESP+00000220: 00000021 fff0d420 f75c4420 00000000
[01:30:57] [debug] ESP+00000240: 00000003 fff0d440 00000000 00000000
[01:30:57] [debug] ESP+00000260: 0000000b fff0d460 fffffff4 00000902
[01:30:57] [debug] ESP+00000280: 0000000e 00000000 fff0d9ec 00000003
[01:30:57] [debug] ESP+000002a0: fff0d9c8 fff0d350 00000002 0000004e
[01:30:57] [debug] ESP+000002c0: f747663d f766eaef f76d5e9b f7281205
[01:30:57] [debug] ESP+000002e0: f74172a3 0804b4e1 f72cc550 5798c2f0
[01:30:57] [debug] ESP+00000300: 000000dd 0000001d 0000001d 00000003
[01:30:57] [debug] ESP+00000320: 0000006e f774bb1b f775efbc 00000000
[01:30:57] [debug] ESP+00000340: f773c2e4 f775a180 fff0d554 f72cc550
[01:30:57] [debug] ESP+00000360: 000000dd f774bceb f775efbc fff0d620
[01:30:57] [debug] ESP+00000380: f7758bbf 00000000 00000000 000000dd
[01:30:57] [debug] ESP+000003a0: 09f92d40 fff0d648 f7746850 65646e75
[01:30:57] [debug] ESP+000003c0: 20202020 20202020 20202020 20202020
[01:30:57] [debug] ESP+000003e0: 30303030 30303032 3a383020 31203130
[01:30:57] [debug] Loaded modules:
[01:30:57] [debug] 00000000 - 00194f0b samp03svr
[01:30:57] [debug] f773d000 - f773d530 
[01:30:57] [debug] f772d000 - f772f6a4 /lib/libdl.so.2
[01:30:57] [debug] f7712000 - f772bad3 /lib/libpthread.so.0
[01:30:57] [debug] f7626000 - f7717e88 /lib/libstdc++.so.6
[01:30:57] [debug] f75e4000 - f7625208 /lib/libm.so.6
[01:30:57] [debug] f75c8000 - f75e16f8 /lib/libgcc_s.so.1
[01:30:57] [debug] f73fd000 - f75cf8f3 /lib/libc.so.6
[01:30:57] [debug] f773c000 - f775f110 /lib/ld-linux.so.2
[01:30:57] [debug] f73b5000 - f73f93ac plugins/crashdetect.so
[01:30:57] [debug] f73a4000 - f73b39b4 plugins/sscanf.so
[01:30:57] [debug] f72de000 - f73a3740 plugins/streamer.so
[01:30:57] [debug] f72cd000 - f72d3d90 /lib/librt.so.1
[01:30:57] [debug] f725b000 - f72cd3eb plugins/mysql.so
[01:30:57] [debug] f6c6e000 - f7284ff8 /usr/lib/mysql/libmysqlclient.so.18
[01:30:57] [debug] f6a5c000 - f6a6d748 /lib/libnss_files.so.2
[01:30:57] [debug] f6853000 - f685b7c4 plugins/Whirlpool.so
[01:30:57] [debug] f7735000 - f7736f70 plugins/nativechecker.so
[01:30:57] [debug] f67b0000 - f67b4d34 /lib/libnss_dns.so.2
[01:30:57] [debug] f6797000 - f67af014 /lib/libresolv.so.2
I checked my script properly and nothing seems wrong.
Maybe it's something in VPS or OS?
Please help me to solve it.
Pitstop is offline   Reply With Quote
Old 12/06/2020, 08:31 PM   #2
Cell_
Big Clucker
 
Join Date: May 2012
Posts: 160
Reputation: 50
Default Re: [ HELP ] Server crashes (Centos7X64)

Put this on top of your code and compile again, when it crashes show us the logs then. On top of your code, even above the first line of your gamemode.

pawn Code:
#pragma option -d3

Don't worry about the extra compiler info stuff. That's the debug option of the compiler and lets crashdetect detect the exact line and code that is causing the crash. Right now, your crashlog doesn't give a lot of information.
__________________
Discord: madgenius0#4058
Cell_ is online now   Reply With Quote
Old 13/06/2020, 01:18 AM   #3
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default Re: [ HELP ] Server crashes (Centos7X64)

Quote:
Originally Posted by Cell_ View Post
Put this on top of your code and compile again, when it crashes show us the logs then. On top of your code, even above the first line of your gamemode.

pawn Code:
#pragma option -d3

Don't worry about the extra compiler info stuff. That's the debug option of the compiler and lets crashdetect detect the exact line and code that is causing the crash. Right now, your crashlog doesn't give a lot of information.
Code:
E:\gamemodes\ROLEPLAY.pwn(1) : warning 207: unknown #pragma
E:\gamemodes\ROLEPLAY.pwn(1) : error 038: extra characters on line
Pitstop is offline   Reply With Quote
Old 13/06/2020, 07:40 AM   #4
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 631
Reputation: 47
Default Re: [ HELP ] Server crashes (Centos7X64)

Quote:
Originally Posted by Pitstop View Post
Code:
E:\gamemodes\ROLEPLAY.pwn(1) : warning 207: unknown #pragma
E:\gamemodes\ROLEPLAY.pwn(1) : error 038: extra characters on line
Create a file called pawn.cfg in the pawno folder and type in
-d3
And save it.
xRadical3 is offline   Reply With Quote
Old 14/06/2020, 02:30 AM   #5
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default Re: [ HELP ] Server crashes (Centos7X64)

Still crashing and logs shows same even with -d3 .
Maybe this is a problem in VPS?
Pitstop is offline   Reply With Quote
Old 14/06/2020, 11:50 AM   #6
Kalgon
Little Clucker
 
Join Date: Oct 2014
Posts: 18
Reputation: 5
Default Re: [ HELP ] Server crashes (Centos7X64)

Use the static mysql.so for CentOS 7 or reinstall the mysql client libraries and give it a try.
Kalgon is offline   Reply With Quote
Old 14/06/2020, 01:17 PM   #7
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default Re: [ HELP ] Server crashes (Centos7X64)

Quote:
Originally Posted by Kalgon View Post
Use the static mysql.so for CentOS 7 or reinstall the mysql client libraries and give it a try.
I did it mate it doesn't help.
someone told me this is a problem in VPS libraries and not in the script.
Pitstop is offline   Reply With Quote
Old 15/06/2020, 09:36 AM   #8
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,730
Reputation: 1686
Default Re: [ HELP ] Server crashes (Centos7X64)

Did you install the 32 bit (i386) packages for libc6 and libstdc++?
Try installing: libc6-i386 and lib32stdc++6
__________________
When the opportunity presents itself to flip-a da table, uh, you flip-a da table.

Discord: Kwarde#8009
Kwarde is offline   Reply With Quote
Old 16/06/2020, 03:05 AM   #9
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default Re: [ HELP ] Server crashes (Centos7X64)

Quote:
Originally Posted by Kwarde View Post
Did you install the 32 bit (i386) packages for libc6 and libstdc++?
Try installing: libc6-i386 and lib32stdc++6
Hey
But my system is Centos 64 BIT
Pitstop is offline   Reply With Quote
Old 16/06/2020, 03:34 AM   #10
Pitstop
Big Clucker
 
Join Date: Aug 2015
Posts: 94
Reputation: 3
Default Re: [ HELP ] Server crashes (Centos7X64)

Before the crash I saw
Code:
 [warning] dropping a split packet from client
What is this ?
Pitstop 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
server crashes Fakinh Server Support 2 28/01/2019 09:55 AM
Server crashes ReDKiiL Server Support 0 07/02/2013 11:08 PM
Server Crashes @ Hourly Server time change. +Rep+. Quinlynn Server Support 6 24/03/2012 02:54 PM
Server crashes on Win XP xtremedeblin Server Support 0 08/08/2011 05:05 PM
Server crashes when more than 1 person joins the server???? WillyP Server Support 0 05/07/2010 06:47 PM


All times are GMT. The time now is 05:33 PM.


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