Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [CRASH] Segmentation fault in zim_Phalcon_Cache_Backend_Xcache_flush #1466

Closed
ghost opened this issue Oct 28, 2013 · 1 comment
Closed
Labels
bug A bug report status: medium Medium

Comments

@ghost
Copy link

ghost commented Oct 28, 2013

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000a43bdf in zend_hash_get_current_data_ex (ht=0x7f8689490b38, pData=0x7fffca1fbb40, pos=0x7fffca1fbb38) at /tmp/php-build/source/5.5.4/Zend/zend_hash.c:1221
1221    /tmp/php-build/source/5.5.4/Zend/zend_hash.c: Немає такого файла або каталогу.
(gdb) bt
#0  0x0000000000a43bdf in zend_hash_get_current_data_ex (ht=0x7f8689490b38, pData=0x7fffca1fbb40, pos=0x7fffca1fbb38) at /tmp/php-build/source/5.5.4/Zend/zend_hash.c:1221
#1  0x00007f867a68a922 in zim_Phalcon_Cache_Backend_Xcache_flush (ht=0, return_value=0x28599a8, return_value_ptr=0x7f86895e0520, this_ptr=0x28560a0, return_value_used=1, tsrm_ls=0x211b9a0)
    at /home/vladimir/workspace/cphalcon/ext/cache/backend/xcache.c:564
#2  0x00007f867a467ed0 in phalcon_execute_internal (execute_data_ptr=0x7f86895e0798, fci=0x0, return_value_used=1, tsrm_ls=0x211b9a0) at /home/vladimir/workspace/cphalcon/ext/phalcon.c:371
#3  0x0000000000a74f4f in zend_do_fcall_common_helper_SPEC (execute_data=0x7f86895e0798, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:552
#4  0x0000000000a759b2 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x7f86895e0798, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:685
#5  0x0000000000a7424e in execute_ex (execute_data=0x7f86895e0798, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:363
#6  0x0000000000a74333 in zend_execute (op_array=0x7f868961ac00, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/Zend/zend_vm_execute.h:388
#7  0x0000000000a2ec68 in zend_execute_scripts (type=8, tsrm_ls=0x211b9a0, retval=0x0, file_count=3) at /tmp/php-build/source/5.5.4/Zend/zend.c:1318
#8  0x000000000096f9ec in php_execute_script (primary_file=0x7fffca1fe230, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/main/main.c:2489
#9  0x0000000000aef369 in do_cli (argc=2, argv=0x211b890, tsrm_ls=0x211b9a0) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:994
#10 0x0000000000af09a0 in main (argc=2, argv=0x211b890) at /tmp/php-build/source/5.5.4/sapi/cli/php_cli.c:1378
@ghost
Copy link
Author

ghost commented Oct 28, 2013

==9153== Invalid read of size 4
==9153==    at 0x132C700E: zval_refcount_p (zend.h:397)
==9153==    by 0x132C763B: phalcon_memory_restore_stack_common (memory.c:161)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1b7c0a50 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid read of size 4
==9153==    at 0x132C7041: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1b7c0a50 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid write of size 4
==9153==    at 0x132C704B: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1b7c0a50 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid read of size 4
==9153==    at 0x132C7052: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1b7c0a50 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C16CF: zim_Phalcon_Cache_Backend_Xcache_increment (xcache.c:461)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
.==9153== Invalid read of size 4
==9153==    at 0x132C700E: zval_refcount_p (zend.h:397)
==9153==    by 0x132C763B: phalcon_memory_restore_stack_common (memory.c:161)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1cdb99d0 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid read of size 4
==9153==    at 0x132C7041: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1cdb99d0 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid write of size 4
==9153==    at 0x132C704B: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1cdb99d0 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
==9153== Invalid read of size 4
==9153==    at 0x132C7052: zval_delref_p (zend.h:409)
==9153==    by 0x132C768D: phalcon_memory_restore_stack_common (memory.c:164)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1cdb99d0 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132C766A: phalcon_memory_restore_stack_common (memory.c:162)
==9153==    by 0x132C7917: phalcon_memory_restore_stack (memory.c:217)
==9153==    by 0x134C20C0: zim_Phalcon_Cache_Backend_Xcache_decrement (xcache.c:529)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153== 
.SSSSS..S.S==9153== Invalid read of size 8
==9153==    at 0xA438CD: zend_hash_move_forward_ex (zend_hash.c:1126)
==9153==    by 0x134C2552: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:565)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==  Address 0x1b3bcd60 is 32 bytes inside a block of size 81 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA421CA: zend_hash_del_key_or_index (zend_hash.c:537)
==9153==    by 0x132B02CF: zend_symtable_del (zend_hash.h:361)
==9153==    by 0x132B0CF6: phalcon_array_unset (array.c:254)
==9153==    by 0x134C2435: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:572)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153== 
==9153== Invalid read of size 4
==9153==    at 0x132A7EB3: zval_refcount_p (zend.h:397)
==9153==    by 0x132A8449: phalcon_check_return_value (fcall.c:143)
==9153==    by 0x132A8594: phalcon_call_func_vparams (fcall.c:169)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==  Address 0x1e7a1580 is 16 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132A8054: phalcon_call_user_function (fcall.c:76)
==9153==    by 0x132A8810: phalcon_call_func_vparams (fcall.c:195)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153== 
==9153== Invalid read of size 1
==9153==    at 0x132A8488: phalcon_check_return_value (fcall.c:146)
==9153==    by 0x132A8594: phalcon_call_func_vparams (fcall.c:169)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==  Address 0x1e7a1584 is 20 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132A8054: phalcon_call_user_function (fcall.c:76)
==9153==    by 0x132A8810: phalcon_call_func_vparams (fcall.c:195)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153== 
==9153== Invalid write of size 8
==9153==    at 0x134C2601: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:579)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==  Address 0x1e7a1570 is 0 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132A8054: phalcon_call_user_function (fcall.c:76)
==9153==    by 0x132A8810: phalcon_call_func_vparams (fcall.c:195)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153== 
==9153== Invalid write of size 1
==9153==    at 0x134C260C: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:579)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==    by 0xA74332: zend_execute (zend_vm_execute.h:388)
==9153==    by 0xA18215: zend_call_function (zend_execute_API.c:939)
==9153==    by 0x775F8F: zim_reflection_method_invokeArgs (php_reflection.c:3018)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==  Address 0x1e7a1584 is 20 bytes inside a block of size 32 free'd
==9153==    at 0x4C2B60C: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9153==    by 0x9E8A4C: _efree (zend_alloc.c:2437)
==9153==    by 0xA13ACD: i_zval_ptr_dtor (zend_execute.h:82)
==9153==    by 0xA15C92: _zval_ptr_dtor (zend_execute_API.c:426)
==9153==    by 0x132A8054: phalcon_call_user_function (fcall.c:76)
==9153==    by 0x132A8810: phalcon_call_func_vparams (fcall.c:195)
==9153==    by 0x132A93C8: phalcon_call_func_params (fcall.c:375)
==9153==    by 0x134C2474: zim_Phalcon_Cache_Backend_Xcache_flush (xcache.c:573)
==9153==    by 0x132A2FDF: phalcon_execute_internal (phalcon.c:371)
==9153==    by 0xA74F4E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:552)
==9153==    by 0xA759B1: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:685)
==9153==    by 0xA7424D: execute_ex (zend_vm_execute.h:363)
==9153==

@ghost ghost mentioned this issue Oct 28, 2013
phalcon pushed a commit that referenced this issue Oct 29, 2013
@ghost ghost closed this as completed Oct 29, 2013
@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

1 participant