==10481== Syscall param write(buf) points to unaddressable byte(s) ==10481== at 0x599B280: __write_nocancel (in /lib64/libc-2.5.so) ==10481== by 0x5CD276: php_stdiop_write (plain_wrapper.c:312) ==10481== by 0x5C55B2: _php_stream_write_buffer (streams.c:932) ==10481== by 0x5C58A7: _php_stream_write (streams.c:1043) ==10481== by 0x4BE9A4: phar_flush (phar.c:3080) ==10481== by 0x4AC763: phar_wrapper_rename (stream.c:983) ==10481== by 0x536192: zif_rename (file.c:1527) ==10481== by 0x64E948: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:313) ==10481== by 0x653C77: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1563) ==10481== by 0x64DB94: execute (zend_vm_execute.h:104) ==10481== by 0x61F478: zend_execute_scripts (zend.c:1199) ==10481== by 0x5AB754: php_execute_script (main.c:2088) ==10481== Address 0x5f218e0 is 0 bytes inside a block of size 4 free'd ==10481== at 0x4C2292E: free (vg_replace_malloc.c:323) ==10481== by 0x5FAC0A: _efree (zend_alloc.c:2293) ==10481== by 0x4AC2F6: phar_wrapper_rename (stream.c:924) ==10481== by 0x536192: zif_rename (file.c:1527) ==10481== by 0x64E948: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:313) ==10481== by 0x653C77: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1563) ==10481== by 0x64DB94: execute (zend_vm_execute.h:104) ==10481== by 0x61F478: zend_execute_scripts (zend.c:1199) ==10481== by 0x5AB754: php_execute_script (main.c:2088) ==10481== by 0x6C12C3: main (php_cli.c:1155) ==10481== ==10481== Invalid free() / delete / delete[] ==10481== at 0x4C2292E: free (vg_replace_malloc.c:323) ==10481== by 0x5FAC0A: _efree (zend_alloc.c:2293) ==10481== by 0x4B5936: destroy_phar_manifest_entry (phar.c:417) ==10481== by 0x62F397: zend_hash_destroy (zend_hash.c:526) ==10481== by 0x4B5318: phar_destroy_phar_data (phar.c:227) ==10481== by 0x4B567D: destroy_phar_data_only (phar.c:321) ==10481== by 0x4B5745: destroy_phar_data (phar.c:367) ==10481== by 0x62F397: zend_hash_destroy (zend_hash.c:526) ==10481== by 0x4C0CAD: zm_deactivate_phar (phar.c:3691) ==10481== by 0x6287BB: module_registry_cleanup (zend_API.c:2119) ==10481== by 0x62F97E: zend_hash_apply (zend_hash.c:673) ==10481== by 0x61E617: zend_deactivate_modules (zend.c:877) ==10481== Address 0x5f218e0 is 0 bytes inside a block of size 4 free'd ==10481== at 0x4C2292E: free (vg_replace_malloc.c:323) ==10481== by 0x5FAC0A: _efree (zend_alloc.c:2293) ==10481== by 0x4AC2F6: phar_wrapper_rename (stream.c:924) ==10481== by 0x536192: zif_rename (file.c:1527) ==10481== by 0x64E948: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:313) ==10481== by 0x653C77: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1563) ==10481== by 0x64DB94: execute (zend_vm_execute.h:104) ==10481== by 0x61F478: zend_execute_scripts (zend.c:1199) ==10481== by 0x5AB754: php_execute_script (main.c:2088) ==10481== by 0x6C12C3: main (php_cli.c:1155)