Bug #70916 [NEW]: Apache Segmentation fault

From: Date: Sat, 14 Nov 2015 18:14:33 +0000
Subject: Bug #70916 [NEW]: Apache Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197257@lists.php.net to get a copy of this message
From: velichko at networx-bg dot com Operating system: Debian 8 PHP version: 5.6.15 Package: Apache2 related Bug Type: Bug Bug description:Apache Segmentation fault 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 bug report at https://bugs.php.net/bug.php?id=70916&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70916&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70916&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70916&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70916&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70916&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70916&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70916&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70916&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70916&r=support Expected behavior: https://bugs.php.net/fix.php?id=70916&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70916&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70916&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70916&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70916&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70916&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70916&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70916&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70916&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70916&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70916&r=mysqlcfg

« previous php.bugs (#197257) next »