1 (edited by YuDunaev 2014-04-16 04:18:14)

Topic: kernel: php: segfault

Hello!
First, I would like to thank for this useful repository!

I had a problem.

I have CentOS 6.5: 2.6.32-431.11.2.el6.x86_64

Apache:
Server version: Apache/2.2.27 (Unix)
Server built:   Apr  9 2014 22:08:12

After updating PHP, began errors "kernel: php[29320]: segfault".
Below you can see that the error began immediately after the upgrade PHP (look at date).
I'm sorry for my english. smile

Apr  1 22:18:19 srv01 sshd[16260]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  1 22:21:03 srv01 sshd[16901]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  1 22:21:27 srv01 yum[16957]: Updated: tzdata-2014b-1.el6.noarch
Apr  1 22:21:40 srv01 yum[16974]: Updated: sphinx-2.1.7-1.el6.x86_64
Apr  1 22:21:55 srv01 yum[16991]: Updated: mysql-libs-5.5.37-1.el6.remi.x86_64
Apr  1 22:21:56 srv01 yum[16991]: Updated: mysql-5.5.37-1.el6.remi.x86_64
Apr  1 22:21:58 srv01 yum[16991]: Updated: mysql-server-5.5.37-1.el6.remi.x86_64
Apr  1 22:23:58 srv01 sshd[18906]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  2 22:46:17 srv01 sshd[13153]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  2 23:22:03 srv01 sshd[30613]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  3 08:45:03 srv01 sshd[13184]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  3 12:08:01 srv01 auditd[1026]: Audit daemon rotating log files
Apr  4 10:28:48 srv01 sshd[13594]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  4 11:36:13 srv01 yum[26084]: Updated: krb5-libs-1.10.3-15.el6_5.1.x86_64
Apr  5 02:04:43 srv01 sshd[13595]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  5 18:19:50 srv01 sshd[22543]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Apr  5 22:26:57 srv01 yum[2873]: Updated: php-common-5.4.27-1.el6.remi.x86_64
Apr  5 22:26:57 srv01 yum[2873]: Updated: php-pdo-5.4.27-1.el6.remi.x86_64
Apr  5 22:26:58 srv01 yum[2873]: Updated: php-cli-5.4.27-1.el6.remi.x86_64
Apr  5 22:26:59 srv01 yum[2873]: Installed: php-pecl-msgpack-0.5.5-4.el6.remi.x86_64
Apr  5 22:26:59 srv01 yum[2873]: Installed: libevent-last-2.0.18-1.el6.remi.x86_64
Apr  5 22:27:00 srv01 yum[2873]: Updated: php-pecl-memcached-2.2.0-2.el6.remi.5.4.x86_64
Apr  5 22:27:00 srv01 yum[2873]: Updated: php-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:01 srv01 yum[2873]: Updated: php-mysql-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:01 srv01 yum[2873]: Updated: php-pgsql-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:01 srv01 yum[2873]: Updated: php-odbc-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:02 srv01 yum[2873]: Updated: php-xml-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:02 srv01 yum[2873]: Updated: php-imap-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:02 srv01 yum[2873]: Updated: php-mcrypt-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:02 srv01 yum[2873]: Updated: php-pspell-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:03 srv01 yum[2873]: Updated: php-mbstring-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:03 srv01 yum[2873]: Updated: php-gd-5.4.27-1.el6.remi.x86_64
Apr  5 22:27:03 srv01 yum[2873]: Updated: php-process-5.4.27-1.el6.remi.x86_64
Apr  5 22:55:35 srv01 kernel: php[29320]: segfault at 0 ip 00007f22dac02670 sp 00007fff5bdc53c8 error 4 in libc-2.12.so[7f22daad8000+18b000]
Apr  5 22:55:36 srv01 kernel: php[29329]: segfault at 0 ip 00007f05b5d62670 sp 00007fffd2c28348 error 4 in libc-2.12.so[7f05b5c38000+18b000]
Apr  5 22:55:36 srv01 kernel: php[29341]: segfault at 0 ip 00007f380c68a670 sp 00007fff1d566658 error 4 in libc-2.12.so[7f380c560000+18b000]
Apr  5 22:55:37 srv01 kernel: php[29360]: segfault at 0 ip 00007f7a73212670 sp 00007fffc9b9cd88 error 4 in libc-2.12.so[7f7a730e8000+18b000]
Apr  5 22:55:38 srv01 kernel: php[29376]: segfault at 0 ip 00007f0619ec2670 sp 00007fff000e2d78 error 4 in libc-2.12.so[7f0619d98000+18b000]
Apr  5 22:55:38 srv01 kernel: php[29382]: segfault at 0 ip 00007fe76cee2670 sp 00007fff4464e548 error 4 in libc-2.12.so[7fe76cdb8000+18b000]
Apr  5 22:55:38 srv01 kernel: php[29394]: segfault at 0 ip 00007f4ff4f82670 sp 00007fff80f905d8 error 4 in libc-2.12.so[7f4ff4e58000+18b000]
Apr  5 22:55:39 srv01 kernel: php[29403]: segfault at 0 ip 00007f4fea4aa670 sp 00007fffa555e848 error 4 in libc-2.12.so[7f4fea380000+18b000]
Apr  5 22:55:39 srv01 kernel: php[29409]: segfault at 0 ip 00007f41e1c52670 sp 00007fff34b69c88 error 4 in libc-2.12.so[7f41e1b28000+18b000]
Apr  5 22:55:39 srv01 kernel: php[29419]: segfault at 0 ip 00007f432b7d2670 sp 00007fff89a06fd8 error 4 in libc-2.12.so[7f432b6a8000+18b000]
Apr  5 23:04:28 srv01 kernel: __ratelimit: 4 callbacks suppressed
Apr  5 23:04:28 srv01 kernel: php[3739]: segfault at 0 ip 00007f89180b2670 sp 00007fff03e3fed8 error 4 in libc-2.12.so[7f8917f88000+18b000]
Apr  5 23:05:45 srv01 kernel: php[4590]: segfault at 0 ip 00007f48bf512670 sp 00007fff2f945598 error 4 in libc-2.12.so[7f48bf3e8000+18b000]
Apr  5 23:06:06 srv01 kernel: php[4841]: segfault at 0 ip 00007f2b54382670 sp 00007fff6335b9e8 error 4 in libc-2.12.so[7f2b54258000+18b000]
Apr  5 23:06:10 srv01 kernel: php[4910]: segfault at 0 ip 00007f18b1cfa670 sp 00007fff0bdccb78 error 4 in libc-2.12.so[7f18b1bd0000+18b000]
Apr  5 23:06:11 srv01 kernel: php[4941]: segfault at 0 ip 00007f34cb9ba670 sp 00007fff8d2d2e08 error 4 in libc-2.12.so[7f34cb890000+18b000]
Apr  5 23:06:12 srv01 kernel: php[4951]: segfault at 0 ip 00007f4ad23da670 sp 00007fff7fa03d28 error 4 in libc-2.12.so[7f4ad22b0000+18b000]
Apr  5 23:06:13 srv01 kernel: php[4978]: segfault at 0 ip 00007ffd539ca670 sp 00007fff76502a48 error 4 in libc-2.12.so[7ffd538a0000+18b000]
Apr  5 23:06:14 srv01 kernel: php[4989]: segfault at 0 ip 00007fad0dd72670 sp 00007fffbf07fa48 error 4 in libc-2.12.so[7fad0dc48000+18b000]
Apr  5 23:06:15 srv01 kernel: php[5005]: segfault at 0 ip 00007fede117a670 sp 00007ffffb577808 error 4 in libc-2.12.so[7fede1050000+18b000]
Apr  5 23:06:17 srv01 kernel: php[5043]: segfault at 0 ip 00007fd2e989a670 sp 00007fff5b22b7c8 error 4 in libc-2.12.so[7fd2e9770000+18b000]
Apr  5 23:06:18 srv01 kernel: php[5055]: segfault at 0 ip 00007f830ed9a670 sp 00007fff3e30ee88 error 4 in libc-2.12.so[7f830ec70000+18b000]
Apr  5 23:06:19 srv01 kernel: php[5070]: segfault at 0 ip 00007fb392932670 sp 00007fff2c2441b8 error 4 in libc-2.12.so[7fb392808000+18b000]
Apr  5 23:06:20 srv01 kernel: php[5085]: segfault at 0 ip 00007ff79379a670 sp 00007fff8e43d9d8 error 4 in libc-2.12.so[7ff793670000+18b000]
Apr  5 23:06:20 srv01 kernel: php[5095]: segfault at 0 ip 00007fa165782670 sp 00007fffff01d108 error 4 in libc-2.12.so[7fa165658000+18b000]
Apr  5 23:06:21 srv01 kernel: php[5110]: segfault at 0 ip 00007f63c391a670 sp 00007fffcc065a18 error 4 in libc-2.12.so[7f63c37f0000+18b000]
Apr  5 23:06:22 srv01 kernel: php[5126]: segfault at 0 ip 00007f21497f2670 sp 00007fffe57ae108 error 4 in libc-2.12.so[7f21496c8000+18b000]
Apr  5 23:09:08 srv01 kernel: php[7211]: segfault at 0 ip 00007f6d01532670 sp 00007fff6ed49468 error 4 in libc-2.12.so[7f6d01408000+18b000]
Apr  5 23:21:48 srv01 kernel: php[16729]: segfault at 0 ip 00007fd37bc5a670 sp 00007fff3c4a51b8 error 4 in libc-2.12.so[7fd37bb30000+18b000]
Apr  5 23:33:34 srv01 kernel: php[24692]: segfault at 0 ip 00007fefa73b2670 sp 00007fff7408aaf8 error 4 in libc-2.12.so[7fefa7288000+18b000]
Apr  5 23:42:14 srv01 kernel: php[30294]: segfault at 0 ip 00007f9c9463a670 sp 00007fffcfa44e58 error 4 in libc-2.12.so[7f9c94510000+18b000]
Apr  5 23:57:57 srv01 kernel: php[7793]: segfault at 0 ip 00007fe3858e2670 sp 00007fff9670f538 error 4 in libc-2.12.so[7fe3857b8000+18b000]
Apr  5 23:57:58 srv01 kernel: php[7806]: segfault at 0 ip 00007f45a0c12670 sp 00007fff18774b18 error 4 in libc-2.12.so[7f45a0ae8000+18b000]
Apr  5 23:57:59 srv01 kernel: php[7817]: segfault at 0 ip 00007f488eaf2670 sp 00007fffaa69f208 error 4 in libc-2.12.so[7f488e9c8000+18b000]
Apr  5 23:58:00 srv01 kernel: php[7835]: segfault at 0 ip 00007fc0bb172670 sp 00007fffed0f37b8 error 4 in libc-2.12.so[7fc0bb048000+18b000]
Apr  5 23:58:00 srv01 kernel: php[7841]: segfault at 0 ip 00007f34997aa670 sp 00007fffe867e9c8 error 4 in libc-2.12.so[7f3499680000+18b000]
Apr  5 23:58:01 srv01 kernel: php[7857]: segfault at 0 ip 00007f041ba0a670 sp 00007fff010e5088 error 4 in libc-2.12.so[7f041b8e0000+18b000]
Apr  5 23:58:01 srv01 kernel: php[7872]: segfault at 0 ip 00007f21e922a670 sp 00007fffcd6ed0c8 error 4 in libc-2.12.so[7f21e9100000+18b000]
Apr  5 23:58:02 srv01 kernel: php[7888]: segfault at 0 ip 00007f5fa3ac2670 sp 00007fff282a7b38 error 4 in libc-2.12.so[7f5fa3998000+18b000]
Apr  5 23:58:03 srv01 kernel: php[7893]: segfault at 0 ip 00007f5f962f2670 sp 00007fff0891a628 error 4 in libc-2.12.so[7f5f961c8000+18b000]
Apr  5 23:58:03 srv01 kernel: php[7906]: segfault at 0 ip 00007f47c4fe2670 sp 00007fffe0438268 error 4 in libc-2.12.so[7f47c4eb8000+18b000]
Apr  5 23:58:04 srv01 kernel: php[7919]: segfault at 0 ip 00007f607050a670 sp 00007fffa56079e8 error 4 in libc-2.12.so[7f60703e0000+18b000]
Apr  5 23:58:04 srv01 kernel: php[7927]: segfault at 0 ip 00007fb2d303a670 sp 00007ffffa0ae988 error 4 in libc-2.12.so[7fb2d2f10000+18b000]
Apr  5 23:58:05 srv01 kernel: php[7939]: segfault at 0 ip 00007fc19308a670 sp 00007fffe518c898 error 4 in libc-2.12.so[7fc192f60000+18b000]
Apr  5 23:58:05 srv01 kernel: php[7950]: segfault at 0 ip 00007ff71035a670 sp 00007fff580d8648 error 4 in libc-2.12.so[7ff710230000+18b000]
Apr  5 23:58:07 srv01 kernel: php[7970]: segfault at 0 ip 00007fcc8f08a670 sp 00007fff62cf4c78 error 4 in libc-2.12.so[7fcc8ef60000+18b000]
Apr  5 23:58:07 srv01 kernel: php[7980]: segfault at 0 ip 00007f37d223a670 sp 00007fffe59f8388 error 4 in libc-2.12.so[7f37d2110000+18b000]
Apr  5 23:58:08 srv01 kernel: php[7995]: segfault at 0 ip 00007f352de3a670 sp 00007fff735dfd98 error 4 in libc-2.12.so[7f352dd10000+18b000]
Apr  5 23:58:09 srv01 kernel: php[8011]: segfault at 0 ip 00007fa8d967a670 sp 00007fffceed6b08 error 4 in libc-2.12.so[7fa8d9550000+18b000]
Apr  5 23:58:10 srv01 kernel: php[8022]: segfault at 0 ip 00007f0c08092670 sp 00007ffff77848b8 error 4 in libc-2.12.so[7f0c07f68000+18b000]
Apr  5 23:58:11 srv01 kernel: php[8029]: segfault at 0 ip 00007fd9ca652670 sp 00007fffe8273f38 error 4 in libc-2.12.so[7fd9ca528000+18b000]
Apr  5 23:58:11 srv01 kernel: php[8041]: segfault at 0 ip 00007f5e35bb2670 sp 00007fff5c52cb68 error 4 in libc-2.12.so[7f5e35a88000+18b000]
Apr  5 23:58:12 srv01 kernel: php[8051]: segfault at 0 ip 00007fe9addca670 sp 00007fffd5bb9cc8 error 4 in libc-2.12.so[7fe9adca0000+18b000]
Apr  5 23:58:13 srv01 kernel: php[8066]: segfault at 0 ip 00007f1608352670 sp 00007fffa0401f58 error 4 in libc-2.12.so[7f1608228000+18b000]
Apr  5 23:58:14 srv01 kernel: php[8076]: segfault at 0 ip 00007f2cd9bba670 sp 00007fff16248bd8 error 4 in libc-2.12.so[7f2cd9a90000+18b000]
Apr  5 23:58:14 srv01 kernel: php[8085]: segfault at 0 ip 00007f9f9a572670 sp 00007fffa64cae08 error 4 in libc-2.12.so[7f9f9a448000+18b000]
Apr  5 23:58:15 srv01 kernel: php[8092]: segfault at 0 ip 00007fb06f522670 sp 00007fff6d697178 error 4 in libc-2.12.so[7fb06f3f8000+18b000]
Apr  5 23:58:15 srv01 kernel: php[8101]: segfault at 0 ip 00007fd749312670 sp 00007fffb191d188 error 4 in libc-2.12.so[7fd7491e8000+18b000]
Apr  5 23:58:16 srv01 kernel: php[8114]: segfault at 0 ip 00007fcb94dd2670 sp 00007fffce058a68 error 4 in libc-2.12.so[7fcb94ca8000+18b000]
Apr  5 23:58:16 srv01 kernel: php[8122]: segfault at 0 ip 00007f90f1242670 sp 00007fff98519078 error 4 in libc-2.12.so[7f90f1118000+18b000]
Apr  5 23:58:17 srv01 kernel: php[8135]: segfault at 0 ip 00007f207da82670 sp 00007fff9c4ba478 error 4 in libc-2.12.so[7f207d958000+18b000]

PHP modules loaded:

$php -m

[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
geoip
gettext
gmp
hash
iconv
igbinary
imap
json
libxml
mbstring
mcrypt
memcache
memcached
mhash
msgpack
mysql
mysqli
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
SQLite
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
uploadprogress
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

Re: kernel: php: segfault

I need more information to be able to help.
- what was the previous version installed ?
- what is the command / script / reproducer which raises this segfault ?
- which extension (try to disable one by one) ?
- a core file or a backtrace ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

With the same set of extensions, I can't raise segfault with simple php command.
So, really need a reproducer.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

- what was the previous version installed ?

php 5.4.26

- what is the command / script / reproducer which raises this segfault ?

on my server only the latest version of drupal 7

- which extension (try to disable one by one) ?

Remi, I disabled "php-pecl-zendopcache" and no error has been observed in a few hours.
But before you upgrade all worked fine. Maybe something happened when compiling? Sorry, I do not understand this. sad

Re: kernel: php: segfault

Which SAPI are you using ? mod_php ? php-fpm ? php-cgi ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Also post the full package list

rpm -qa php\* | sort
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Which SAPI are you using ? mod_php ? php-fpm ? php-cgi ?

mod_php + apache itk

Also post the full package list

oh, I think I made haste. ))
I have updated php 5.5, but there is no doubt, a set of modules remains the same. only updated versions of them.

look after the upgrade to 5.5 errors show no.

php-5.5.11-1.el6.remi.x86_64
php-cli-5.5.11-1.el6.remi.x86_64
php-common-5.5.11-1.el6.remi.x86_64
php-gd-5.5.11-1.el6.remi.x86_64
php-imap-5.5.11-1.el6.remi.x86_64
php-mbstring-5.5.11-1.el6.remi.x86_64
php-mcrypt-5.5.11-1.el6.remi.x86_64
php-mysqlnd-5.5.11-1.el6.remi.x86_64
php-odbc-5.5.11-1.el6.remi.x86_64
php-opcache-5.5.11-1.el6.remi.x86_64
php-pdo-5.5.11-1.el6.remi.x86_64
php-pear-1.9.4-26.el6.remi.1.noarch
php-pecl-geoip-1.0.8-6.el6.remi.5.5.x86_64
php-pecl-igbinary-1.1.2-0.5.git3b8ab7e.el6.remi.1.x86_64
php-pecl-jsonc-1.3.5-1.el6.remi.5.5.x86_64
php-pecl-memcache-3.0.8-2.el6.remi.5.5.x86_64
php-pecl-memcached-2.2.0-2.el6.remi.5.5.x86_64
php-pecl-msgpack-0.5.5-4.el6.remi.1.x86_64
php-pecl-sqlite-2.0.0-0.4.svn332053.el6.remi.5.5.x86_64
php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64
php-pgsql-5.5.11-1.el6.remi.x86_64
php-process-5.5.11-1.el6.remi.x86_64
php-pspell-5.5.11-1.el6.remi.x86_64
php-xml-5.5.11-1.el6.remi.x86_64

Re: kernel: php: segfault

I don't know much about itk (don't use it... really something awfull, especially for security)

But running httpd-itk-2.2.22-6.el6.x86_64 (from EPEL) I can't raise any segfault.
So really need a core/backtrace.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Same problem here on newest PHP 5.5.16.

segfault at 7f4106cb3bc6 ip 00007f4106cb3bc6 sp 00007f40fc63eda8 error 14 in iconv.so
segfault at 7f4106cb3bc2 ip 00007f4106cb3bc2 sp 00007f40fd052da8 error 14 in igbinary.so
segfault at 7f4106cb3bbc ip 00007f4106cb3bbc sp 00007f40fc569da8 error 14 in libnss_files-2.12.so
segfault at 7f4106cb3bc6 ip 00007f4106cb3bc6 sp 00007f40fc682da8 error 14 in libnss_files-2.12.so
segfault at 7f4106cb3bbc ip 00007f4106cb3bbc sp 00007f40f8bbbda8 error 14 in dom.so

I've got many of such errors per day runing with httpd MPM and mod_php

Re: kernel: php: segfault

Can you provide a backtrace ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

I've installed abrt, tomorrow I could get some coredumps

Re: kernel: php: segfault

Ok, I've got coredumps. How can I send it to You in safe way?

Re: kernel: php: segfault

Send me a mail with the link to download them, with "rpm -qa php\*" output (so I can install the correct debuginfo)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Ok, link to coredumps sent.

Re: kernel: php: segfault

I won't be able to search on this core before monday (week-end... you know...)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Is there any solution?

Re: kernel: php: segfault

Sorry... but I cannot find any valuable information in the provided coredumps...
It seems my "debuginfo" are not in sync with your installed packages.

It will be better you run gdb on your computer to extract the backtrace from the core
After have the debuginfo, at least for httpd, php and its extension:

gdb httpd core.xxxx
(gdb) bt
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

There is not debuginfo packages in your repository:
Could not find debuginfo for main pkg: php-5.5.17-2.el6.remi.x86_64
How can I install it?

Re: kernel: php: segfault

It is in the "remi-php55-debuginfo" repo
Or => http://rpms.famillecollet.com/enterpris … ginfo.html

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Ok, I've installed it,but there is another problem:
Loaded symbols for /usr/lib64/httpd/modules/mod_ssl.so
Core was generated by `/usr/sbin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0  _int_free (av=0x7f173256fe80, p=0x7f1735189fc0, have_lock=0) at malloc.c:5021
5021            clear_inuse_bit_at_offset(nextchunk, 0);
Missing separate debuginfos, use: debuginfo-install libselinux-2.0.94-5.3.el6_4.1.x86_64

But when i try to install I've got
Package matching libselinux-debuginfo-2.0.94-5.3.el6_4.1.x86_64 already installed

Re: kernel: php: segfault

So you are in the same situation than me.

No way to get a usable backtrace
no evidence of a PHP related segfault

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

There is no another way to debug this?

Re: kernel: php: segfault

What is the full list of php extension and apache mod installed ?

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

I ask for the extension / mod list, because I suspect you can be hit by PHP bug 63595 (which have no solution yet)

Try to disable (if installed) gmp extension (which is now possible, even with 5.4.34)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: kernel: php: segfault

Apache modules:
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
include_module (shared)
log_config_module (shared)
env_module (shared)
ext_filter_module (shared)
mime_magic_module (shared)
expires_module (shared)
deflate_module (shared)
headers_module (shared)
setenvif_module (shared)
mime_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
alias_module (shared)
rewrite_module (shared)
proxy_module (shared)
proxy_http_module (shared)
cache_module (shared)
disk_cache_module (shared)
cgi_module (shared)
php5_module (shared)
ssl_module (shared)

PHP Extensions loaded:
    [0] => Core
    [1] => date
    [2] => ereg
    [3] => libxml
    [4] => openssl
    [5] => pcre
    [6] => zlib
    [7] => filter
    [8] => hash
    [9] => pcntl
    [10] => readline
    [11] => Reflection
    [12] => SPL
    [13] => session
    [14] => standard
    [15] => apcu
    [16] => bcmath
    [17] => bz2
    [18] => calendar
    [19] => ctype
    [20] => curl
    [21] => dom
    [22] => mbstring
    [23] => fileinfo
    [24] => ftp
    [25] => gd
    [26] => gettext
    [27] => iconv
    [28] => igbinary
    [29] => imagick
    [30] => interbase
    [31] => json
    [32] => ldap
    [33] => exif
    [34] => mcrypt
    [35] => memcache
    [36] => msgpack
    [37] => mssql
    [38] => mysqlnd
    [39] => mysql
    [40] => mysqli
    [41] => PDO
    [42] => pdo_dblib
    [43] => PDO_Firebird
    [44] => pdo_mysql
    [45] => pdo_pgsql
    [46] => pdo_sqlite
    [47] => pgsql
    [48] => Phar
    [49] => posix
    [50] => shmop
    [51] => SimpleXML
    [52] => soap
    [53] => sockets
    [54] => sqlite3
    [55] => sysvmsg
    [56] => sysvsem
    [57] => sysvshm
    [58] => tokenizer
    [59] => xml
    [60] => wddx
    [61] => xmlreader
    [62] => xmlwriter
    [63] => xsl
    [64] => memcached
    [65] => zip
    [66] => mhash
    [67] => apc

I have no gmp extension according to this list.