php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71425 opcache - filecache - segmentation fault
Submitted: 2016-01-21 10:02 UTC Modified: 2016-01-27 07:40 UTC
From: mail at tomsommer dot dk Assigned: laruence (profile)
Status: Closed Package: opcache
PHP Version: 7.0.2 OS: CentOS 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mail at tomsommer dot dk
New email:
PHP Version: OS:

 

 [2016-01-21 10:02 UTC] mail at tomsommer dot dk
Description:
------------
This crash happens only with file_cache enable and when uploading a file in WordPress:



Core was generated by `lsphp:ple.com/public_'.
Program terminated with signal 11, Segmentation fault.
#0  zend_string_release (ht=0x7f55abc02000, apply_func=0x86f9e0 <zend_restore_ini_entry_wrapper>) at /usr/local/src/php-7.0.1/Zend/zend_string.h:269
269		if (!ZSTR_IS_INTERNED(s)) {
Missing separate debuginfos, use: debuginfo-install audit-libs-2.3.7-5.el6.x86_64 bzip2-libs-1.0.5-7.el6_0.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 freetds-0.91-2.el6.x86_64 freetype-2.3.11-15.el6_6.1.x86_64 glibc-2.12-1.166.el6_7.3.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 gnutls-2.8.5-19.el6_7.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libc-client-2007e-11.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libcurl-7.19.7-46.el6.x86_64 libgcc-4.4.7-16.el6.x86_64 libgcrypt-1.4.5-11.el6_4.x86_64 libgpg-error-1.7-4.el6.x86_64 libicu-4.2.1-12.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-turbo-1.2.1-3.el6_5.x86_64 libmcrypt-2.5.8-9.el6.x86_64 libpng-1.2.49-2.el6_7.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6_6.1.x86_64 libstdc++-4.4.7-16.el6.x86_64 libtasn1-2.3-6.el6_5.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libxml2-2.7.6-20.el6_7.1.x86_64 libxslt-1.1.26-2.el6_3.1.x86_64 nspr-4.10.8-2.el6_7.x86_64 nss-3.19.1-8.el6_7.x86_64 nss-softokn-freebl-3.14.3-23.el6_7.x86_64 nss-util-3.19.1-2.el6_7.x86_64 openldap-2.4.40-7.el6_7.x86_64 openssl-1.0.1e-42.el6_7.2.x86_64 pam-1.1.1-20.el6_7.1.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  zend_string_release (ht=0x7f55abc02000, apply_func=0x86f9e0 <zend_restore_ini_entry_wrapper>) at /usr/local/src/php-7.0.1/Zend/zend_string.h:269
#1  _zend_hash_del_el_ex (ht=0x7f55abc02000, apply_func=0x86f9e0 <zend_restore_ini_entry_wrapper>) at /usr/local/src/php-7.0.1/Zend/zend_hash.c:986
#2  _zend_hash_del_el (ht=0x7f55abc02000, apply_func=0x86f9e0 <zend_restore_ini_entry_wrapper>) at /usr/local/src/php-7.0.1/Zend/zend_hash.c:1016
#3  zend_hash_apply (ht=0x7f55abc02000, apply_func=0x86f9e0 <zend_restore_ini_entry_wrapper>) at /usr/local/src/php-7.0.1/Zend/zend_hash.c:1503
#4  0x0000000000870300 in zend_ini_deactivate () at /usr/local/src/php-7.0.1/Zend/zend_ini.c:142
#5  0x0000000000854e1d in zend_deactivate () at /usr/local/src/php-7.0.1/Zend/zend.c:990
#6  0x00000000007f8332 in php_request_shutdown (dummy=<value optimized out>) at /usr/local/src/php-7.0.1/main/main.c:1810
#7  0x00000000008e9cc7 in lsapi_module_main (show_source=<value optimized out>) at /usr/local/src/php-7.0.1/sapi/litespeed/lsapi_main.c:576
#8  0x00000000008e9e8c in processReq () at /usr/local/src/php-7.0.1/sapi/litespeed/lsapi_main.c:644
#9  0x00000000008ea0c5 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/local/src/php-7.0.1/sapi/litespeed/lsapi_main.c:1091


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-21 15:25 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2016-01-22 08:18 UTC] laruence@php.net
-Status: Assigned +Status: Feedback
 [2016-01-22 08:18 UTC] laruence@php.net
I can not reproduce this... :< is there more infos?
 [2016-01-22 08:23 UTC] mail at tomsommer dot dk
Would the .bin files be helpful?
 [2016-01-26 08:00 UTC] laruence@php.net
a fix has been committed in https://github.com/php/php-src/commit/9ff08ae17cc6092810268b647dd9966e33fdc0a6

please try with the patch. thanks
 [2016-01-26 08:37 UTC] mail at tomsommer dot dk
Looks to be fixed with the patch.

Thanks a ton. Awesome job :)
 [2016-01-27 07:40 UTC] laruence@php.net
-Status: Feedback +Status: Closed
 [2016-01-27 07:40 UTC] laruence@php.net
thanks for reporting, closed :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC