Bug #70916 [Fbk->Csd]: Apache Segmentation fault
| From: | velichko at networx-bg dot com | Date: | Mon, 16 Nov 2015 16:41:32 +0000 |
| Subject: | Bug #70916 [Fbk->Csd]: Apache Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197286@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70916&edit=1
ID: 70916
User updated by: velichko at networx-bg dot com
Reported by: velichko at networx-bg dot com
Summary: Apache Segmentation fault
-Status: Feedback
+Status: Closed
Type: Bug
Package: Apache2 related
Operating System: Debian 8
-PHP Version: 5.6.15
+PHP Version: 5.6.14
Block user comment: N
Private report: N
New Comment:
Problem exist only with default debian package. When i compiled php from source to enable
--enable-debug option problem does not exist. May be it is debian related problem.
Previous Comments:
------------------------------------------------------------------------
[2015-11-15 02:44:06] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2015-11-14 18:14:30] velichko at networx-bg dot com
Description:
------------
segfault when there is multiple concurrent connections
can simulate with 3 instances of console script using this code
while [ true ]; do
wget http://127.0.0.1/test.php -q -O -
done
Test script:
---------------
class Bug {
const arr = array('bg','en');
function __construct ($language) {
if (in_array($language,self::arr)) {
}
}
}
$test = new Bug('gb');
Actual result:
--------------
[core:notice] [pid 3069] AH00052: child pid 24079 exit signal Segmentation fault (11)
and page stop loading and browser receive empty response.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70916&edit=1