Bug #67861 [NEW]: after opcache reset all apache children segfault
| From: | php at bof dot de | Date: | Tue, 19 Aug 2014 07:04:50 +0000 |
| Subject: | Bug #67861 [NEW]: after opcache reset all apache children segfault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187175@lists.php.net to get a copy of this message | ||
From: php at bof dot de
Operating system: openSUSE 11.4
PHP version: 5.5.15
Package: opcache
Bug Type: Bug
Bug description:after opcache reset all apache children segfault
Description:
------------
After upgrading from PHP 5.4.29 with APC, to 5.5.15 with opcache, on an
official php.net mirror (de2.php.net), I can consistently (tested two
times :) crash and burn things by triggering opcache reset through the
ocp.php interface.
Immediately after the reset, almost all apache children start to
segfault. See the apache error_log excerpt below.
This is with the opcache bundled with PHP 5.5.15, self-compiled against
the exact apache version (opensuse 11.4 evergreen apache
2.2.17-80.1.x86_64) that is running on the machine.
opcache.ini:
zend_extension=/opt/php/extensions/opcache.so
; see https://github.com/zendtech/ZendOptimizerPlus
opcache.memory_consumption=512
opcache.interned_strings_buffer=64
opcache.max_wasted_percentage=50
opcache.max_accelerated_files=8000
opcache.fast_shutdown=1
opcache.revalidate_freq=0
opcache.save_comments=0
; opcache.blacklist_filename=/opt/php/ini.d/opcache.blacklist
opcache.error_log=/tmp/opcache.errors
opcache.log_verbosity_level=4
PHP 5.5.15 compiled with this configure call:
./configure \
--prefix=$DIR \
--bindir=$DIR/bin \
--libdir=$DIR \
--includedir=$DIR/include \
--mandir=$DIR/man \
--with-apxs2=/usr/sbin/apxs2 \
--with-config-file-path=$DIR \
--with-config-file-scan-dir=$DIR/ini.d \
--with-zend-vm=GOTO \
--enable-re2c-cgoto \
--disable-cgi \
--enable-bcmath \
--enable-calendar \
--enable-exif \
--enable-ftp \
--enable-intl \
--enable-mbstring \
--enable-pcntl \
--enable-soap \
--enable-sockets \
--enable-zip \
--enable-opcache \
--with-openssl \
--with-zlib \
--with-bz2 \
--with-curl \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/include \
--with-gettext \
--with-gmp \
--enable-mysqlnd \
--with-mysqli \
--with-readline \
--with-recode \
--with-xmlrpc \
--with-xsl \
--with-pear \
--with-freetype-dir=/usr/include \
--with-mhash \
--with-mcrypt \
Apache error_log excerpt:
Tue Aug 19 08:34:17 2014 (31894): Message Cached script
'/srv/www/htdocs/phpweb/include/results.inc'
Tue Aug 19 08:34:19 2014 (31921): Message Cached script
'/srv/www/htdocs/phpweb/manual/change.php'
Tue Aug 19 08:34:20 2014 (31898): Debug Restart Scheduled!
Tue Aug 19 08:34:22 2014 (31910): Debug Restarting!
Tue Aug 19 08:34:22 2014 (31910): Message Cached script
'/srv/www/htdocs/phpweb/manual/ro/sqlite3.loadextension.php'
[Tue Aug 19 08:34:23 2014] [notice] child pid 31910 exit signal
Segmentation fault (11)
[Tue Aug 19 08:34:24 2014] [notice] child pid 31911 exit signal
Segmentation fault (11)
[Tue Aug 19 08:34:35 2014] [notice] child pid 31898 exit signal
Segmentation fault (11)
[Tue Aug 19 08:34:35 2014] [notice] child pid 31899 exit signal
Segmentation fault (11)
Tue Aug 19 08:34:40 2014 (31917): Message Cached script
'/srv/www/htdocs/phpweb/manual/it/function.trader-ht-sine.php'
[Tue Aug 19 08:34:41 2014] [notice] child pid 31917 exit signal
Segmentation fault (11)
Expected result:
----------------
no crash
Actual result:
--------------
crash
--
Edit bug report at https://bugs.php.net/bug.php?id=67861&edit=1
--