Bug #70916 [Opn->Fbk]: Apache Segmentation fault
| From: | laruence@php.net | Date: | Sun, 15 Nov 2015 02:44:07 +0000 |
| Subject: | Bug #70916 [Opn->Fbk]: Apache Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197261@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
Updated by: laruence@php.net
Reported by: velichko at networx-bg dot com
Summary: Apache Segmentation fault
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Debian 8
PHP Version: 5.6.15
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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