|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76396 Error in `php-fpm: pool www': munmap_chunk(): invalid pointer
Submitted: 2018-05-30 20:09 UTC Modified: 2018-08-27 14:26 UTC
Avg. Score:3.2 ± 1.5
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: robert at accettura dot com Assigned:
Status: Open Package: opcache
PHP Version: 7.2.6 OS: Ubuntu 16.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: robert at accettura dot com
New email:
PHP Version: OS:


 [2018-05-30 20:09 UTC] robert at accettura dot com
After a few dozen reloads of a page or pages php-fpm starts to segfault.

Expected result:
No segfaults

Actual result:
*** Error in `php-fpm: pool www': munmap_chunk(): invalid pointer: 0x0000555555cc0aa0 ***
======= Backtrace: =========
php-fpm: pool www(+0x2bd757)[0x555555811757]
php-fpm: pool www(+0x2bd84c)[0x55555581184c]
php-fpm: pool www(virtual_file_ex+0x13c)[0x5555558125bc]
php-fpm: pool www(tsrm_realpath+0xc6)[0x555555813926]
php-fpm: pool www(php_resolve_path+0x1b8)[0x555555781388]
php-fpm: pool www(compile_filename+0x17b)[0x5555557a568b]
php-fpm: pool www(+0x2f1c4a)[0x555555845c4a]
php-fpm: pool www(+0x331e3f)[0x555555885e3f]
php-fpm: pool www(execute_ex+0x44f2)[0x55555588e9b2]
php-fpm: pool www(zend_call_function+0x742)[0x5555557d0d42]
php-fpm: pool www(+0x17ad4d)[0x5555556ced4d]
php-fpm: pool www(zend_call_function+0x621)[0x5555557d0c21]
php-fpm: pool www(zend_lookup_class_ex+0x284)[0x5555557d1414]
php-fpm: pool www(zend_fetch_class_by_name+0x18)[0x5555557d1d38]
php-fpm: pool www(+0x32ecc7)[0x555555882cc7]
php-fpm: pool www(execute_ex+0x21ab)[0x55555588c66b]
php-fpm: pool www(zend_call_function+0x742)[0x5555557d0d42]
php-fpm: pool www(+0x1b96f1)[0x55555570d6f1]
php-fpm: pool www(execute_ex+0x6106)[0x5555558905c6]
php-fpm: pool www(zend_execute+0x11e)[0x555555892a7e]
php-fpm: pool www(zend_execute_scripts+0xc3)[0x5555557e1443]
php-fpm: pool www(php_execute_script+0x2e0)[0x55555577c6e0]
php-fpm: pool www(+0xdfd89)[0x555555633d89]
php-fpm: pool www(_start+0x29)[0x555555634bb9]


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-27 14:26 UTC]
-Package: FPM related +Package: opcache
 [2018-08-27 14:26 UTC]
This doesn't seem to be fpm related as it is happening after compiling file and using opcache. Not sure 100% if it's opcache but it's more likely than fpm. I think you might need to provide a bit more info (like your opcache configuration and the script that causes that) so it can be recreated by some opcache / engine dev.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 07:01:24 2020 UTC