Send a blank email to [email protected] to get a copy of this message
Hello all.
We have a lot of crashes which are caused by APC (not reproducible without it).
Unfortunately, I don't have a short reproduce case, but I have a valgrind log for the crash.
Does anybody have any ideas on how to fix it?
Valgrind log for two FCGI child processes:
==6698== Invalid read of size 4
==6698== at 0x58EAF7: _zval_ptr_dtor (zend.h:385)
==6698== by 0x5A729F: zend_hash_destroy (zend_hash.c:526)
==6698== by 0x592EF2: destroy_zend_class (zend_opcode.c:184)
==6698== by 0x5A6F29: zend_hash_apply_deleter (zend_hash.c:611)
==6698== by 0x5A718C: zend_hash_apply (zend_hash.c:676)
==6698== by 0x591217: shutdown_executor (zend_execute_API.c:303)
==6698== by 0x59B2F1: zend_deactivate (zend.c:890)
==6698== by 0x546D01: php_request_shutdown (main.c:1621)
==6698== by 0x626E51: main (cgi_main.c:2279)
==6698== Address 0x11c5b828 is 16 bytes inside a block of size 32 free'd
==6698== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6698== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6698== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6698== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6698== by 0x5C6228: execute (zend_vm_execute.h:104)
==6698== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6698== by 0x546256: php_execute_script (main.c:2244)
==6698== by 0x626E04: main (cgi_main.c:2215)
==6698==
==6698== Invalid read of size 4
==6698== at 0x58EAFE: _zval_ptr_dtor (zend.h:373)
==6698== by 0x5A729F: zend_hash_destroy (zend_hash.c:526)
==6698== by 0x592EF2: destroy_zend_class (zend_opcode.c:184)
==6698== by 0x5A6F29: zend_hash_apply_deleter (zend_hash.c:611)
==6698== by 0x5A718C: zend_hash_apply (zend_hash.c:676)
==6698== by 0x591217: shutdown_executor (zend_execute_API.c:303)
==6698== by 0x59B2F1: zend_deactivate (zend.c:890)
==6698== by 0x546D01: php_request_shutdown (main.c:1621)
==6698== by 0x626E51: main (cgi_main.c:2279)
==6698== Address 0x11c5b828 is 16 bytes inside a block of size 32 free'd
==6698== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6698== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6698== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6698== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6698== by 0x5C6228: execute (zend_vm_execute.h:104)
==6698== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6698== by 0x546256: php_execute_script (main.c:2244)
==6698== by 0x626E04: main (cgi_main.c:2215)
==6698==
==6698== Invalid read of size 1
==6698== at 0x58EB45: _zval_ptr_dtor (zend_gc.h:182)
==6698== by 0x5A729F: zend_hash_destroy (zend_hash.c:526)
==6698== by 0x592EF2: destroy_zend_class (zend_opcode.c:184)
==6698== by 0x5A6F29: zend_hash_apply_deleter (zend_hash.c:611)
==6698== by 0x5A718C: zend_hash_apply (zend_hash.c:676)
==6698== by 0x591217: shutdown_executor (zend_execute_API.c:303)
==6698== by 0x59B2F1: zend_deactivate (zend.c:890)
==6698== by 0x546D01: php_request_shutdown (main.c:1621)
==6698== by 0x626E51: main (cgi_main.c:2279)
==6698== Address 0x11c5b82c is 20 bytes inside a block of size 32 free'd
==6698== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6698== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6698== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6698== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6698== by 0x5C6228: execute (zend_vm_execute.h:104)
==6698== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6698== by 0x546256: php_execute_script (main.c:2244)
==6698== by 0x626E04: main (cgi_main.c:2215)
==6697== Invalid read of size 4
==6697== at 0x58EAF7: _zval_ptr_dtor (zend.h:385)
==6697== by 0x5A758F: zend_hash_clean (zend_hash.c:552)
==6697== by 0x78F3C62: apc_free_class_entry_after_execution (apc_compile.c:1480)
==6697== by 0x78F63F8: apc_deactivate (apc_main.c:896)
==6697== by 0x78F6590: apc_request_shutdown (apc_main.c:944)
==6697== by 0x78E97FC: zm_deactivate_apc (php_apc.c:377)
==6697== by 0x59C80B: module_registry_cleanup (zend_API.c:2150)
==6697== by 0x5A7042: zend_hash_reverse_apply (zend_hash.c:755)
==6697== by 0x59B26C: zend_deactivate_modules (zend.c:866)
==6697== by 0x546EE4: php_request_shutdown (main.c:1595)
==6697== by 0x626E51: main (cgi_main.c:2279)
==6697== Address 0x5e11980 is 16 bytes inside a block of size 32 free'd
==6697== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6697== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6697== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6697== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6697== by 0x5C6228: execute (zend_vm_execute.h:104)
==6697== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6697== by 0x546256: php_execute_script (main.c:2244)
==6697== by 0x626E04: main (cgi_main.c:2215)
==6697==
==6697== Invalid read of size 4
==6697== at 0x58EAFE: _zval_ptr_dtor (zend.h:373)
==6697== by 0x5A758F: zend_hash_clean (zend_hash.c:552)
==6697== by 0x78F3C62: apc_free_class_entry_after_execution (apc_compile.c:1480)
==6697== by 0x78F63F8: apc_deactivate (apc_main.c:896)
==6697== by 0x78F6590: apc_request_shutdown (apc_main.c:944)
==6697== by 0x78E97FC: zm_deactivate_apc (php_apc.c:377)
==6697== by 0x59C80B: module_registry_cleanup (zend_API.c:2150)
==6697== by 0x5A7042: zend_hash_reverse_apply (zend_hash.c:755)
==6697== by 0x59B26C: zend_deactivate_modules (zend.c:866)
==6697== by 0x546EE4: php_request_shutdown (main.c:1595)
==6697== by 0x626E51: main (cgi_main.c:2279)
==6697== Address 0x5e11980 is 16 bytes inside a block of size 32 free'd
==6697== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6697== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6697== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6697== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6697== by 0x5C6228: execute (zend_vm_execute.h:104)
==6697== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6697== by 0x546256: php_execute_script (main.c:2244)
==6697== by 0x626E04: main (cgi_main.c:2215)
==6697==
==6697== Invalid read of size 1
==6697== at 0x58EB45: _zval_ptr_dtor (zend_gc.h:182)
==6697== by 0x5A758F: zend_hash_clean (zend_hash.c:552)
==6697== by 0x78F3C62: apc_free_class_entry_after_execution (apc_compile.c:1480)
==6697== by 0x78F63F8: apc_deactivate (apc_main.c:896)
==6697== by 0x78F6590: apc_request_shutdown (apc_main.c:944)
==6697== by 0x78E97FC: zm_deactivate_apc (php_apc.c:377)
==6697== by 0x59C80B: module_registry_cleanup (zend_API.c:2150)
==6697== by 0x5A7042: zend_hash_reverse_apply (zend_hash.c:755)
==6697== by 0x59B26C: zend_deactivate_modules (zend.c:866)
==6697== by 0x546EE4: php_request_shutdown (main.c:1595)
==6697== by 0x626E51: main (cgi_main.c:2279)
==6697== Address 0x5e11984 is 20 bytes inside a block of size 32 free'd
==6697== at 0x4A1FDAE: free (vg_replace_malloc.c:323)
==6697== by 0x5BCDDE: zend_std_write_property (zend_object_handlers.c:435)
==6697== by 0x60D04C: zend_assign_to_object (zend_execute.c:595)
==6697== by 0x60D6E0: ZEND_ASSIGN_OBJ_SPEC_CV_CONST_HANDLER (zend_vm_execute.h:23926)
==6697== by 0x5C6228: execute (zend_vm_execute.h:104)
==6697== by 0x59A8CA: zend_execute_scripts (zend.c:1188)
==6697== by 0x546256: php_execute_script (main.c:2244)
==6697== by 0x626E04: main (cgi_main.c:2215)
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP