[ HELP ] Server crashes (Centos7X64)
#1

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.
Reply
#2

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.
Reply
#3

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
Reply
#4

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.
Reply
#5

Still crashing and logs shows same even with -d3 .
Maybe this is a problem in VPS?
Reply
#6

Use the static mysql.so for CentOS 7 or reinstall the mysql client libraries and give it a try.
Reply
#7

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.
Reply
#8

Did you install the 32 bit (i386) packages for libc6 and libstdc++?
Try installing: libc6-i386 and lib32stdc++6
Reply
#9

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
Reply
#10

Before the crash I saw
Code:
 [warning] dropping a split packet from client
What is this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)