php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78246 PHP segfault when running opcache in php 7.3.7
Submitted: 2019-07-03 14:12 UTC Modified: 2019-07-03 14:55 UTC
From: simon dot vikstrom at gmail dot com Assigned:
Status: Closed Package: opcache
PHP Version: 7.3.7RC3 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: simon dot vikstrom at gmail dot com
New email:
PHP Version: OS:

 

 [2019-07-03 14:12 UTC] simon dot vikstrom at gmail dot com
Description:
------------
My build of PHP segfaults when running a customers wordpress with opcache enabled.
I'm running version: https://www.php.net/distributions/php-7.3.7.tar.gz


```
Program received signal SIGSEGV, Segmentation fault.
0x0000564ac9e26ee2 in _emalloc_56 ()
(gdb) bt
#0  0x0000564ac9e26ee2 in _emalloc_56 ()
#1  0x0000564ac9e59bf8 in _zend_new_array ()
#2  0x0000564ac9e9191f in ?? ()
#3  0x0000564ac9ed5126 in execute_ex ()
#4  0x0000564ac9edcd23 in zend_execute ()
#5  0x0000564ac9e4dcc2 in zend_execute_scripts ()
#6  0x0000564ac9dedff0 in php_execute_script ()
#7  0x0000564ac99f4797 in ?? ()
#8  0x00007fbc7aad6b97 in __libc_start_main () from target:/lib/x86_64-linux-gnu/libc.so.6
#9  0x0000564ac99f503a in _start ()
```


I don't have more info but it seems introduced between 7.3.6 and 7.3.7.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-07-03 14:19 UTC] cmb@php.net
Due to bug #78230 we had to re-tag PHP 7.3.7.  Check the sha256sum of the tarball:

* a1fdcd0250488824283ae170bc5def03cf393600a5b05cd543dbab27deca6529 is old
* 4230bbc862df712b013369de94b131eddea1e5e946a8c5e286b82d441c313328 is the new one
 [2019-07-03 14:24 UTC] simon dot vikstrom at gmail dot com
Thanks, we're running the old tarball, will try with newer.
 [2019-07-03 14:55 UTC] simon dot vikstrom at gmail dot com
-Status: Open +Status: Closed
 [2019-07-03 14:55 UTC] simon dot vikstrom at gmail dot com
Seems like 4230bbc862df712b013369de94b131eddea1e5e946a8c5e286b82d441c313328 fixed it, closing.

Thanks for the fast response!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 09 16:01:29 2024 UTC