Bug #71560 [Opn->Fbk]: segfault in zend_parse_parameters
| From: | cmb@php.net | Date: | Sat, 11 Apr 2020 13:37:16 +0000 |
| Subject: | Bug #71560 [Opn->Fbk]: segfault in zend_parse_parameters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226527@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
Updated by: cmb@php.net
Reported by: sautier dot louis at gmail dot com
Summary: segfault in zend_parse_parameters
-Status: Open
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: Linux (Archlinux)
PHP Version: 7.0.3
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is an issue with unserialize(); possibly, the string passed
to that function is corrupt. Anyhow, does it still happen with
any of the actively supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2016-02-24 08:30:20] sautier dot louis at gmail dot com
Hi laruence,
Do you need more feedback or is this enough to help you track down the issue?
------------------------------------------------------------------------
[2016-02-15 08:51:31] sautier dot louis at gmail dot com
Here is the backtrace with debugging symbols:
Feb 15 09:39:48 kim systemd-coredump[11137]: Process 11113 (php-fpm) of user 33 dumped core.
Stack trace of thread 11113:
#0 0x0000000000691729 zend_parse_arg_string (php-fpm)
#1 0x0000000000691f0f zend_parse_va_args (php-fpm)
#2 0x00000000006922a6 zend_parse_parameters (php-fpm)
#3 0x00000000005dc82e zif_unserialize (php-fpm)
#4 0x00000000006d94bd ZEND_DO_ICALL_SPEC_HANDLER
(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 main (php-fpm)
#10 0x00007f47e78da610 __libc_start_main (libc.so.6)
#11 0x00000000004349f9 _start (php-fpm)
------------------------------------------------------------------------
[2016-02-10 02:40:54] laruence@php.net
yeah, that will be great, at least we should know which function trigger it
------------------------------------------------------------------------
[2016-02-09 16:09:52] sautier dot louis at gmail dot com
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?
------------------------------------------------------------------------
[2016-02-09 15:29:29] laruence@php.net
then try with valgrind and set env ZEND_DONT_UNLOAD_MODULES=1
------------------------------------------------------------------------
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=71560
--
Edit this bug report at https://bugs.php.net/bug.php?id=71560&edit=1