Error zend_mm_heap corrupted seen in Apache logs due to php-fpm module.

Solution Unverified - Updated -

Issue

  • Below is the GDB backstrace as per the PHP-FPM core, how to resolve it :
#0  0x00007fa5e0dbda96 in zend_mm_add_to_free_list () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#1  0x00007fa5e0dbdf39 in _zend_mm_free_int () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#2  0x00007fa5e0dd6fbb in shutdown_executor () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#3  0x00007fa5e0de7a85 in zend_deactivate () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#4  0x00007fa5e0d82f81 in php_request_shutdown () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#5  0x00007fa5e0e9203f in php_handler () from ./opt/rh/httpd24/root/etc/httpd/modules/librh-php56-php5.so
#6  0x000055cb91d07790 in ap_run_handler ()
#7  0x000055cb91d07cd9 in ap_invoke_handler ()
#8  0x000055cb91d1e47a in ap_process_async_request ()
#9  0x000055cb91d1e754 in ap_process_request ()
#10 0x000055cb91d1a63d in ap_process_http_connection ()
#11 0x000055cb91d11c40 in ap_run_process_connection ()
#12 0x00007fa5e1c489e9 in child_main () from ./opt/rh/httpd24/root/etc/httpd/modules/mod_mpm_prefork.so
#13 0x00007fa5e1c48c42 in make_child () from ./opt/rh/httpd24/root/etc/httpd/modules/mod_mpm_prefork.so
#14 0x00007fa5e1c49a7c in prefork_run () from ./opt/rh/httpd24/root/etc/httpd/modules/mod_mpm_prefork.so
#15 0x000055cb91ce93ee in ap_run_mpm ()
#16 0x000055cb91ce1d83 in main ()
  • Error in Apache logs :
10.1.0.1 - - [16/Feb/2018:11:11:34 +0100] "GET /web/index.php/381711787 HTTP/1.1" 200 153 "https://localhost.com/web/index.php/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36"
zend_mm_heap corrupted
[Fri Feb 16 11:11:39.174904 2018] [core:notice] [pid 1] AH00052: child pid 225 exit signal Segmentation fault (11)
[Fri Feb 16 11:11:39.174955 2018] [core:notice] [pid 1] AH00052: child pid 255 exit signal Segmentation fault (11)

Environment

  • RedHat Software Collections
    • 2.x, 3.x (httpd, php-fpm)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content