Segmentation fault Problem [SOLVED]
Segmentation fault Problem [SOLVED]
I have a server with Centos 6 and tomorrow I find a problem many website don't open for example wordpress websites not open the admin area and in the log I allways get the following error:
If I tried to do a yum update I also get the Segmentation fault.
Any tips how can I solve this?
Code: Select all
[notice] child pid 30585 exit signal Segmentation fault (11)
Any tips how can I solve this?
Last edited by kandalf on Wed Jun 19, 2019 4:46 pm, edited 1 time in total.
Re: Segmentation fault Problem
Hi
I asume this happen in one wordpress only and you can access to orther files like some info.php
This can be a plugin problem
In case you get this in all your sites and easy php script like info.php you maybe have a problem with some php or apache addon por exmple opcache in php or mod_pagespeed in apache
Difficult to say with a lite information you provide us.
I asume this happen in one wordpress only and you can access to orther files like some info.php
This can be a plugin problem
In case you get this in all your sites and easy php script like info.php you maybe have a problem with some php or apache addon por exmple opcache in php or mod_pagespeed in apache
Difficult to say with a lite information you provide us.
Re: Segmentation fault Problem
No this happen in all wordpress website. Yes I can access other websites. But this problem is not only in wordpress websites, in my server if I ran "yum update" I also get the "Segmentation fault" error and cannot update anything.skamasle wrote: ↑Tue Jun 18, 2019 12:21 pmHi
I asume this happen in one wordpress only and you can access to orther files like some info.php
This can be a plugin problem
In case you get this in all your sites and easy php script like info.php you maybe have a problem with some php or apache addon por exmple opcache in php or mod_pagespeed in apache
Difficult to say with a lite information you provide us.
Re: Segmentation fault Problem
I have run a strace to "yum update" and this is some of the code returned
Can anyone help?
Code: Select all
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(7, "http://mirror.netweaver.uk/cento"..., 8192) = 560
read(7, "", 4096) = 0
close(7) = 0
munmap(0x7fb08e257000, 4096) = 0
geteuid() = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/metalink.xml", {st_mode=S_IFREG|0644, st_size=28339, ...}) = 0
stat("/var/cache/yum/x86_64/6/epel/cachecookie", 0x7ffebaca0610) = -1 ENOENT (No such file or directory)
open("/var/cache/yum/x86_64/6/epel/metalink.xml.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/etc/hosts", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(8, "127.0.0.1 localhost localhost."..., 4096) = 183
read(8, "", 4096) = 0
close(8) = 0
munmap(0x7fb08e257000, 4096) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8
fcntl(8, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(8, F_SETFD, FD_CLOEXEC) = 0
connect(8, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, 16) = 0
sendto(8, "\245\344\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
open("/etc/hosts", O_RDONLY) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000
read(9, "127.0.0.1 localhost localhost."..., 4096) = 183
read(9, "", 4096) = 0
close(9) = 0
munmap(0x7fb08e257000, 4096) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
fcntl(9, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(9, F_SETFD, FD_CLOEXEC) = 0
connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, 16) = 0
sendto(9, "6\377\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 0 (Timeout)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}])
recvfrom(8, "\245\344\201\200\0\1\0\v\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, [16]) = 226
recvfrom(8, 0x7ffebac9e390, 4097, 0, 0x7ffebac9f3a0, 0x7ffebac9e38c) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}])
poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}])
recvfrom(9, "6\377\201\200\0\1\0\4\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, [16]) = 150
close(8) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} ---
+++ killed by SIGSEGV +++
Segmentation fault
Re: Segmentation fault Problem
Please paste output from command :kandalf wrote: ↑Wed Jun 19, 2019 3:34 pmI have run a strace to "yum update" and this is some of the code returned
Can anyone help?Code: Select all
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000 read(7, "http://mirror.netweaver.uk/cento"..., 8192) = 560 read(7, "", 4096) = 0 close(7) = 0 munmap(0x7fb08e257000, 4096) = 0 geteuid() = 0 stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/cache/yum/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/cache/yum/x86_64/6/epel/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/lib/yum/repos/x86_64/6/epel", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat("/var/cache/yum/x86_64/6/epel/metalink.xml", {st_mode=S_IFREG|0644, st_size=28339, ...}) = 0 stat("/var/cache/yum/x86_64/6/epel/cachecookie", 0x7ffebaca0610) = -1 ENOENT (No such file or directory) open("/var/cache/yum/x86_64/6/epel/metalink.xml.tmp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7 fstat(7, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 open("/etc/hosts", O_RDONLY) = 8 fstat(8, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000 read(8, "127.0.0.1 localhost localhost."..., 4096) = 183 read(8, "", 4096) = 0 close(8) = 0 munmap(0x7fb08e257000, 4096) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8 fcntl(8, F_GETFL) = 0x2 (flags O_RDWR) fcntl(8, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 connect(8, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, 16) = 0 sendto(8, "\245\344\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43 open("/etc/hosts", O_RDONLY) = 9 fstat(9, {st_mode=S_IFREG|0644, st_size=183, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb08e257000 read(9, "127.0.0.1 localhost localhost."..., 4096) = 183 read(9, "", 4096) = 0 close(9) = 0 munmap(0x7fb08e257000, 4096) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9 fcntl(9, F_GETFL) = 0x2 (flags O_RDWR) fcntl(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(9, F_SETFD, FD_CLOEXEC) = 0 connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, 16) = 0 sendto(9, "6\377\1\0\0\1\0\0\0\0\0\0\7mirrors\rfedoraproje"..., 43, MSG_NOSIGNAL, NULL, 0) = 43 poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 0 (Timeout) poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=8, revents=POLLIN}]) poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=8, revents=POLLIN|POLLRDNORM}]) recvfrom(8, "\245\344\201\200\0\1\0\v\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.252.5")}, [16]) = 226 recvfrom(8, 0x7ffebac9e390, 4097, 0, 0x7ffebac9f3a0, 0x7ffebac9e38c) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=8, events=POLLIN}, {fd=9, events=POLLIN}], 2, 1000) = 1 ([{fd=9, revents=POLLIN}]) poll([{fd=8, events=POLLIN|POLLRDNORM}, {fd=9, events=POLLIN|POLLRDNORM}], 2, 0) = 1 ([{fd=9, revents=POLLIN|POLLRDNORM}]) recvfrom(9, "6\377\201\200\0\1\0\4\0\0\0\0\7mirrors\rfedoraproje"..., 4097, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.71.253.5")}, [16]) = 150 close(8) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} --- +++ killed by SIGSEGV +++ Segmentation fault
1) yum clean all
2) df -h
And try to reboot.
Re: Segmentation fault Problem [SOLVED]
Problem solved, after multiple try I check the last libs updated by "Yum update" and about 5 days ago the libcurl was updated, I reinstall it directly via rpm and everything starts to work.
Probably a bad instalation create this problem but it's solved.
If in the future someone have the same problem can check "cat /var/log/yum.log" for the last lib installed and try to reinstall it.
Probably a bad instalation create this problem but it's solved.
If in the future someone have the same problem can check "cat /var/log/yum.log" for the last lib installed and try to reinstall it.
Re: Segmentation fault Problem [SOLVED]
Ok thanks for share your solution