Bug 1387285 - rh-php56-fpm segfault [NEEDINFO]
Summary: rh-php56-fpm segfault
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-php56
Version: rh-php56
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Remi Collet
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 14:28 UTC by Patrick
Modified: 2020-02-14 18:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-18 08:45:47 UTC
Target Upstream Version:
pbajenez: needinfo? (rcollet)


Attachments (Terms of Use)
abrt report (116.18 KB, text/plain)
2017-01-17 13:49 UTC, Malo Pichot
no flags Details

Description Patrick 2016-10-20 14:28:59 UTC
Description of problem:

The customer is using nginx, rh-php56, rh-php56-fpm(listening on unix socket), and  running the application Tyop3 on RHEL-7.2.

They have provided the arbt report with coredump

ccpp-2016-10-18-12-02-55-13977.tgz will be attached

#reason:
php-fpm killed by SIGSEGV

#exploitable:
Likely crash reason: Jump to an invalid address
Exploitable rating (0-9 scale): 6

#coredump  <--- need help

#var.log.messages
Oct 18 12:02:55 hbg-internet-p2.dpa.com kernel: php-fpm[13977]: segfault at 50 ip 00007f96e85e8694 sp 00007fff6f5ec390 error 4 in php-fpm[7f96e838c000+3a0000]



Cheers.

Comment 6 Malo Pichot 2017-01-17 13:48:19 UTC
We faced same problem after major updates CentOS 7.2 => 7.3. We use Nginx 1.10.2 from repo epel, PHP-fpm 5.6.29 from repo remi-php56, MySQL Oracle 5.7.17 from repo mysql57-community. abrt report join (abrt_report_2017-01-14_06_05_26.txt).
Main infos :
reason:         php-fpm killed by SIGSEGV
cmdline:        'php-fpm: master process (/etc/php-fpm.conf)'
executable:     /usr/sbin/php-fpm
package:        php-fpm-5.6.29-1.el7.remi
kernel:         3.10.0-514.2.2.el7.x86_64
os_release:     CentOS Linux release 7.3.1611 (Core) 
pkg_name:       php-fpm
pkg_release:    1.el7.remi
pkg_vendor:     Remi Collet
pkg_version:    5.6.29

exploitable:
:Likely crash reason: Jump to an invalid address

:Jan 14 05:56:17 my.server.com kernel: php-fpm[54429]: segfault at 5fc01 ip 00007f3ec466a965 sp 00007ffc9acff9f8 error 4 in libc-2.17.so[7f3ec452f000+1b6000]
:Jan 14 05:56:17 my.server.com abrt-hook-ccpp[54573]: Process 54429 (php-fpm) of user 992 killed by SIGSEGV - ignoring (repeated crash)
:Jan 14 06:05:26 my.server.com systemd[1]: php-fpm.service: main process exited, code=dumped, status=11/SEGV
:Jan 14 06:05:26 my.server.com systemd[1]: Unit php-fpm.service entered failed state.
:Jan 14 06:05:26 my.server.com systemd[1]: php-fpm.service failed.

Comment 7 Malo Pichot 2017-01-17 13:49:54 UTC
Created attachment 1241781 [details]
abrt report

Comment 8 Remi Collet 2017-01-17 14:51:05 UTC
@Malo Pichot, sorry bu we can only support RH official package here.

@Patrick This look like stack exhaustion.

Would it be possible:
- to try running with a higher stack size ?
- to have a small reproducer ?

Comment 12 Joe Orton 2018-02-21 16:38:34 UTC
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release.

This software collection is nearing the retirement date (April 2018) after which customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/

Comment 13 Joe Orton 2018-05-18 08:45:47 UTC
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended.

New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection.

Customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/


Note You need to log in before you can comment on or make changes to this bug.