Bug #71560 [Opn]: segfault in zend_parse_parameters

From: Date: Tue, 09 Feb 2016 16:09:53 +0000
Subject: Bug #71560 [Opn]: segfault in zend_parse_parameters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199137@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71560&edit=1 ID: 71560 User updated by: sautier dot louis at gmail dot com Reported by: sautier dot louis at gmail dot com Summary: segfault in zend_parse_parameters Status: Open Type: Bug Package: FPM related Operating System: Linux (Archlinux) PHP Version: 7.0.3 Block user comment: N Private report: N New Comment: I just tried but valgrind makes the site excruciatingly slow (> 10 seconds to load the front page). Is there anything else I could do? I could try to recompile php with -g so we can see the n/a symbols? Previous Comments: ------------------------------------------------------------------------ [2016-02-09 15:29:29] laruence@php.net then try with valgrind and set env ZEND_DONT_UNLOAD_MODULES=1 ------------------------------------------------------------------------ [2016-02-09 13:40:38] sautier dot louis at gmail dot com This is the outout of php -m: [PHP Modules] apc apcu bz2 Core ctype curl date dom exif fileinfo filter gd gettext hash iconv intl json libxml mbstring mcrypt mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session SimpleXML soap SPL sqlite3 standard tokenizer xml xmlreader xmlrpc xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache ------------------------------------------------------------------------ [2016-02-09 13:37:27] laruence@php.net are you using any extension that is not bundled with php-src? ------------------------------------------------------------------------ [2016-02-09 12:52:55] sautier dot louis at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=71560&edit=1

« previous php.bugs (#199137) next »