Bug #68252 [Asn->Csd]: segfault in Zend/zend_hash.c in function _zend_hash_del_el
| From: | laruence@php.net | Date: | Tue, 28 Oct 2014 09:36:29 +0000 |
| Subject: | Bug #68252 [Asn->Csd]: segfault in Zend/zend_hash.c in function _zend_hash_del_el | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188338@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68252&edit=1
ID: 68252
Updated by: laruence@php.net
Reported by: bugs at milos dot nz
Summary: segfault in Zend/zend_hash.c in function
_zend_hash_del_el
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Linux 3.16 (Gentoo)
PHP Version: master-Git-2014-10-17 (Git)
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e6fe3127d0e02a58456fef1af969a8f114f85c31
Log: Fixed bug #68252 (segfault in Zend/zend_hash.c in function _zend_hash_del_el)
Previous Comments:
------------------------------------------------------------------------
[2014-10-28 09:07:42] laruence@php.net
thanks for your help, I have made a reproduce script
<?php
function a() {
}
create_function('', 'var_dump("22");');
a();
I will fix it soon
------------------------------------------------------------------------
[2014-10-28 07:25:32] bugs at milos dot nz
Hi,
It was sent successfully as per the mail log:
Oct 26 17:39:20 eclipse postfix/smtp[9607]: A071E265508: to=<laruence [at] php.net>,
relay=osu1php.osuosl.org[140.211.15.143]:25, delay=4.9, delays=0.02/0.01/3.8/1, dsn=2.0.0,
status=sent (250 OK 4D/00-02829-5FA7C445)
I will send it again for you.
------------------------------------------------------------------------
[2014-10-28 07:20:26] laruence@php.net
Hey:
I am sorry for didn't response to you.
but what mail address you sent to? I did't receive it :<
please send to laruence at php.net thanks
------------------------------------------------------------------------
[2014-10-25 06:14:19] bugs at milos dot nz
I have been able to replicate this on an isolated system with one of the affected WordPress
installs. The issue seems to be directly related to opcache being loaded. With
'zend_extension=opcache.so' commented out in php.ini, the segmentation fault no longer
occurs.
For the record, the php.ini file was the same as that recommended on the official PHP wiki
(https://wiki.php.net/phpng):
max_execution_time=600
memory_limit=128M
error_reporting=E_ALL & ~E_NOTICE
display_errors=1
log_errors=1
user_ini.filename=
realpath_cache_size=2M
cgi.check_shebang_line=0
upload_max_filesize = 1024M
post_max_size = 1024M
zend_extension=opcache.so
opcache.enable_cli=1
opcache.save_comments=0
opcache.fast_shutdown=1
opcache.validate_timestamps=1
opcache.revalidate_freq=60
opcache.use_cwd=1
opcache.max_accelerated_files=100000
opcache.max_wasted_percentage=5
opcache.memory_consumption=128
opcache.consistency_checks=0
I have e-mailed you root access to an isolated virtual machine containing the WordPress install that
exhibits this bug.
------------------------------------------------------------------------
[2014-10-22 08:58:53] laruence@php.net
great, thanks, a temporary access is enough :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68252
--
Edit this bug report at https://bugs.php.net/bug.php?id=68252&edit=1