Bug #75738 [Opn->Nab]: mmap/munmap loop?
| From: | cmb@php.net | Date: | Thu, 04 Jun 2020 13:01:53 +0000 |
| Subject: | Bug #75738 [Opn->Nab]: mmap/munmap loop? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227319@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75738&edit=1
ID: 75738
Updated by: cmb@php.net
Reported by: albertcasademont at gmail dot com
Summary: mmap/munmap loop?
-Status: Open
+Status: Not a bug
Type: Bug
Package: CGI/CLI related
Operating System: Debian Stretch
PHP Version: 7.1.12
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> Disabling the extension seems to fix the problem.
Then I assume this a not a php.net related issue.
Previous Comments:
------------------------------------------------------------------------
[2017-12-27 18:34:44] albertcasademont at gmail dot com
Disabling the extension seems to fix the problem. Also removed the USE_ZEND_ALLOC env var. I have
reported it to the NR guys, is this still something that could be related to PHP Core?
------------------------------------------------------------------------
[2017-12-27 17:37:30] nikic@php.net
The new relic extension is probably unconditionally hooking into function calls, so the presence of
nr_php_execute does not necessarily indicate an issue with new relic.
Can you try whether the problem still reproduces with the new relic extension unloaded?
------------------------------------------------------------------------
[2017-12-27 17:22:54] albertcasademont at gmail dot com
I installed gdb on the production machine and did a bt on the process, this is the output. Seems
like there's something wrong with a shutdown function in a Newrelic extension?
#0 0x000055d54756cce8 in zif_array_unshift ()
#1 0x000055d5476e24cd in ?? ()
#2 0x000055d54768921b in execute_ex ()
#3 0x00007f4c899af1bb in nr_php_execute_enabled () at
/home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1191
#4 0x00007f4c899af802 in nr_php_execute () at
/home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1301
#5 0x000055d54762f0e4 in zend_call_function ()
#6 0x000055d54762f385 in _call_user_function_ex ()
#7 0x000055d547575597 in ?? ()
#8 0x000055d5476513fa in zend_hash_apply ()
#9 0x000055d547578ae6 in php_call_shutdown_functions ()
#10 0x000055d5475da015 in php_request_shutdown ()
#11 0x000055d5476e5a60 in ?? ()
#12 0x000055d5474b6c19 in main ()
Not sure if this is still a relevant PHP bug or should i fill it with the NR guys.
------------------------------------------------------------------------
[2017-12-27 17:17:37] albertcasademont at gmail dot com
Interestingly enough, the strace doesn't display anything at all with that flag, which is
weird. Process is still in a neverending loop wasting CPU, though.
------------------------------------------------------------------------
[2017-12-27 17:15:02] albertcasademont at gmail dot com
Hi Nikita,
Yes, the issue still happens with USE_ZEND_ALLOC=0
------------------------------------------------------------------------
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=75738
--
Edit this bug report at https://bugs.php.net/bug.php?id=75738&edit=1