Bug 1297179 - PHP crashes with [core:notice] [pid 3864] AH00052: child pid 95199 exit signal Segmentation fault (11)
Summary: PHP crashes with [core:notice] [pid 3864] AH00052: child pid 95199 exit signa...
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: php
Version: 7.2
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Remi Collet
QA Contact: David Kutálek
Depends On:
Blocks: 1203710 1323643
TreeView+ depends on / blocked
Reported: 2016-01-10 10:21 UTC by Hansjoerg Maurer
Modified: 2021-01-14 09:26 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1323643 (view as bug list)
Last Closed: 2016-11-03 21:04:39 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2598 0 normal SHIPPED_LIVE Moderate: php security and bug fix update 2016-11-03 12:12:00 UTC

Description Hansjoerg Maurer 2016-01-10 10:21:35 UTC
Description of problem:

We have a RHEL7.2 System running with a zarafa mailserver
After some days the webserver shows the following errors and zarafa webmail shows errors
[Thu Jan 07 19:03:37.083671 2016] [core:notice] [pid 3864] AH00052: child pid 95202 exit signal Segmentation fault (11)
[Thu Jan 07 19:03:38.087174 2016] [core:notice] [pid 3864] AH00052: child pid 95199 exit signal Segmentation fault (11)
[Thu Jan 07 19:03:40.089149 2016] [core:notice] [pid 3864] AH00052: child pid 95204 exit signal Segmentation fault (11)
[Thu Jan 07 19:03:41.091406 2016] [core:notice] [pid 3864] AH00052: child pid 95211 exit signal Segmentation fault (11)

A restart of the webserver solves the problem

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install zarafa
2. use webapp about 2 weeks
3. try to upload attachments -> DOES NOT WORK
4. the errors above occur

Actual results:

Expected results:

Additional info:

According to zarafa the problem is related to the following php-Bug
which is fixed upstream in 5.4.20

Here you can find the related zarafa issue

The related diff between 5.4.19 and 5.4.20 is
diff php-5.4.19/ext/session/session.c php-5.4.20/ext/session/session.c
<       /* restore the orig callback */
<       php_rfc1867_callback = php_session_rfc1867_orig_callback;
>       /* reset rfc1867 callbacks */
>       php_session_rfc1867_orig_callback = NULL;
>       if (php_rfc1867_callback == php_session_rfc1867_callback) {
>               php_rfc1867_callback = NULL;
>       }

Can you backport the fix?


Hansjoerg Maurer

Comment 3 john.haxby@oracle.com 2016-03-08 10:21:56 UTC
It should be obvious, but that patch doesn't apply directly.   The two lines that are replaced don't actually exist because they were added by 336a8e1943af.

Apparently the patch does fix this problem though.

Comment 4 Patrick 2016-03-18 13:36:10 UTC
I'm having the same problems.
The apache server is "crashing after a few days due the PHP

Comment 5 Joe Orton 2016-03-18 13:50:46 UTC
The issue referenced above looks specific to PHP 5.4, the relevant ext/session code handling progress callbacks doesn't appear in 5.3.  Anybody hitting server crashes in production, please contact Red Hat support who can help you identify a root cause for this.

Comment 6 Joe Orton 2016-03-18 13:51:53 UTC
Ugh, apologies, I'm reading too many bugs at once.  This is a RHEL7 bug... ignore comment 5.

Comment 7 john.haxby@oracle.com 2016-03-18 14:04:28 UTC
I can confirm that the suggested patch does indeed fix exactly this problem, fwiw.

Comment 8 Patrick 2016-03-18 15:21:03 UTC
how do you apply this patch ?
Can somebody help with this.

Comment 9 Joe Orton 2016-03-18 15:23:00 UTC
Thanks John.

Patrick, my advice above definitely applies: if you need help with a production deployment of RHEL please contact Red Hat support and reference this bug, we can get you test packages as necessary.

Comment 10 Patrick 2016-03-18 15:44:08 UTC
Hello Joe,

Since i running a Clearos Server, i've posted this bugreport on the ClearOS forum. 
Maybe the developers from ClearOS can help.

Comment 11 Robert Scheck 2016-03-29 13:30:56 UTC
Cross-filed case 01608198 on the Red Hat customer portal.

Confirming hereby that the commit from comment #2 fixes this issue.

Comment 20 errata-xmlrpc 2016-11-03 21:04:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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