Bug #71560 [NEW]: segfault in zend_parse_parameters
| From: | sautier dot louis at gmail dot com | Date: | Tue, 09 Feb 2016 12:52:58 +0000 |
| Subject: | Bug #71560 [NEW]: segfault in zend_parse_parameters | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-199128@lists.php.net to get a copy of this message | ||
From: sautier dot louis at gmail dot com
Operating system: Linux (Archlinux)
PHP version: 7.0.3
Package: FPM related
Bug Type: Bug
Bug description:segfault in zend_parse_parameters
Description:
------------
Hi,
I regularly run into crashes since I updated to PHP 7. My setup is quite
standard: nginx + PHP-FPM for a Wordpress site.
After running smoothly for a couple of days, the processes will start
segfaulting.
I'm running Archlinux's php-7.0.3-1 whose configuration can be seen at
https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/php
I have not yet been able to reliably reproduce the issue. All I know is
that it happens after a few days and that a restart fixes it.
Expected result:
----------------
Feb 09 13:30:46 kim kernel: php-fpm[16015]: segfault at 10 ip
0000000000691729 sp 00007fffccc439f0 error 4 in php-fpm[400000+89b000]
Feb 09 13:30:46 kim nginx[566]: 2016/02/09 13:30:46 [error] 578#0:
*145203 recv() failed (104: Connection reset by peer) while reading
response header from upstream, client: ******, server: website
Feb 09 13:30:47 kim systemd-coredump[16036]: Process 16015 (php-fpm) of
user 33 dumped core.
Stack trace of thread
16015:
#0 0x0000000000691729 n/a
(php-fpm)
#1 0x0000000000691f0f n/a
(php-fpm)
#2 0x00000000006922a6
zend_parse_parameters (php-fpm)
#3 0x00000000005dc82e n/a
(php-fpm)
#4 0x00000000006d94bd n/a
(php-fpm)
#5 0x00000000006ca58b
execute_ex (php-fpm)
#6 0x000000000071d797
zend_execute (php-fpm)
#7 0x0000000000689503
zend_execute_scripts (php-fpm)
#8 0x0000000000629ee0
php_execute_script (php-fpm)
#9 0x0000000000433bc2 n/a
(php-fpm)
#10 0x00007f5640c10610
__libc_start_main (libc.so.6)
#11 0x00000000004349f9
_start (php-fpm)
--
Edit bug report at https://bugs.php.net/bug.php?id=71560&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71560&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71560&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71560&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71560&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71560&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71560&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71560&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71560&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71560&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71560&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71560&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71560&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71560&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71560&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71560&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71560&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71560&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71560&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71560&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71560&r=mysqlcfg