==3173== Memcheck, a memory error detector. ==3173== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==3173== Using LibVEX rev 1854, a library for dynamic binary translation. ==3173== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==3173== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework. ==3173== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==3173== For more details, rerun with: -v ==3173== ==3173== My PID = 3173, parent PID = 22862. Prog and args are: ==3173== ./php ==3173== ==3173== Invalid write of size 1 ==3173== at 0x4C23336: memcpy (mc_replace_strmem.c:402) ==3173== by 0x5435C0: php_zlib_inflate_filter (zlib_filter.c:98) ==3173== by 0x76DD49: php_stream_fill_read_buffer (streams.c:480) ==3173== by 0x76E406: _php_stream_read (streams.c:605) ==3173== by 0x6D495A: zif_fread (file.c:1786) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== Address 0x69d25c0 is 0 bytes after a block of size 2,048 alloc'd ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x544027: php_zlib_filter_create (zlib_filter.c:311) ==3173== by 0x7754CD: php_stream_filter_create (filter.c:275) ==3173== by 0x73DC44: apply_filter_to_stream (streamsfuncs.c:1188) ==3173== by 0x73DE91: zif_stream_filter_append (streamsfuncs.c:1241) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== ==3173== Invalid write of size 1 ==3173== at 0x4C2331C: memcpy (mc_replace_strmem.c:402) ==3173== by 0x5435C0: php_zlib_inflate_filter (zlib_filter.c:98) ==3173== by 0x76DD49: php_stream_fill_read_buffer (streams.c:480) ==3173== by 0x76E406: _php_stream_read (streams.c:605) ==3173== by 0x6D495A: zif_fread (file.c:1786) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== Address 0x69d25c1 is 1 bytes after a block of size 2,048 alloc'd ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x544027: php_zlib_filter_create (zlib_filter.c:311) ==3173== by 0x7754CD: php_stream_filter_create (filter.c:275) ==3173== by 0x73DC44: apply_filter_to_stream (streamsfuncs.c:1188) ==3173== by 0x73DE91: zif_stream_filter_append (streamsfuncs.c:1241) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== ==3173== Invalid write of size 1 ==3173== at 0x4C23324: memcpy (mc_replace_strmem.c:402) ==3173== by 0x5435C0: php_zlib_inflate_filter (zlib_filter.c:98) ==3173== by 0x76DD49: php_stream_fill_read_buffer (streams.c:480) ==3173== by 0x76E406: _php_stream_read (streams.c:605) ==3173== by 0x6D495A: zif_fread (file.c:1786) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== Address 0x69d25c2 is 2 bytes after a block of size 2,048 alloc'd ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x544027: php_zlib_filter_create (zlib_filter.c:311) ==3173== by 0x7754CD: php_stream_filter_create (filter.c:275) ==3173== by 0x73DC44: apply_filter_to_stream (streamsfuncs.c:1188) ==3173== by 0x73DE91: zif_stream_filter_append (streamsfuncs.c:1241) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== ==3173== Invalid write of size 1 ==3173== at 0x4C2332D: memcpy (mc_replace_strmem.c:402) ==3173== by 0x5435C0: php_zlib_inflate_filter (zlib_filter.c:98) ==3173== by 0x76DD49: php_stream_fill_read_buffer (streams.c:480) ==3173== by 0x76E406: _php_stream_read (streams.c:605) ==3173== by 0x6D495A: zif_fread (file.c:1786) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== Address 0x69d25c3 is 3 bytes after a block of size 2,048 alloc'd ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x544027: php_zlib_filter_create (zlib_filter.c:311) ==3173== by 0x7754CD: php_stream_filter_create (filter.c:275) ==3173== by 0x73DC44: apply_filter_to_stream (streamsfuncs.c:1188) ==3173== by 0x73DE91: zif_stream_filter_append (streamsfuncs.c:1241) ==3173== by 0x811633: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:638) ==3173== by 0x818ADC: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2017) ==3173== by 0x810017: execute (zend_vm_execute.h:410) ==3173== by 0x7D8715: zend_execute_scripts (zend.c:1195) ==3173== by 0x7553FA: php_execute_script (main.c:2329) ==3173== by 0x90E214: main (php_cli.c:1253) ==3173== ==3173== ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 129 from 3) ==3173== malloc/free: in use at exit: 4,597 bytes in 13 blocks. ==3173== malloc/free: 15,930 allocs, 15,917 frees, 3,336,850 bytes allocated. ==3173== For counts of detected errors, rerun with: -v ==3173== searching for pointers to 13 not-freed blocks. ==3173== checked 574,688 bytes. ==3173== ==3173== ==3173== 9 bytes in 1 blocks are indirectly lost in loss record 1 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x458DB5: read_location (parse_tz.c:207) ==3173== by 0x4593E3: timelib_parse_tzfile (parse_tz.c:324) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 14 bytes in 1 blocks are indirectly lost in loss record 2 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x6107DF1: strdup (in /lib/libc-2.7.so) ==3173== by 0x459ADF: timelib_tzinfo_ctor (timelib.c:109) ==3173== by 0x45939E: timelib_parse_tzfile (parse_tz.c:318) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== ==3173== ==3173== 27 bytes in 1 blocks are indirectly lost in loss record 3 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x45886F: read_types (parse_tz.c:139) ==3173== by 0x4593D6: timelib_parse_tzfile (parse_tz.c:323) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 32 bytes in 1 blocks are still reachable in loss record 4 of 12 ==3173== at 0x4C203E4: calloc (vg_replace_malloc.c:397) ==3173== by 0x59163DF: (within /lib/libdl-2.7.so) ==3173== by 0x5915F20: dlopen (in /lib/libdl-2.7.so) ==3173== by 0x6C992C: php_load_extension (dl.c:144) ==3173== by 0x75D48E: php_load_php_extension_cb (php_ini.c:351) ==3173== by 0x7C8781: zend_llist_apply (zend_llist.c:193) ==3173== by 0x75E176: php_ini_register_extensions (php_ini.c:747) ==3173== by 0x754CC2: php_module_startup (main.c:2056) ==3173== by 0x90C9DE: php_cli_startup (php_cli.c:425) ==3173== by 0x90D7E7: main (php_cli.c:801) ==3173== ==3173== ==3173== 1,709 (72 direct, 1,637 indirect) bytes in 1 blocks are definitely lost in loss record 5 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x421F18: php_date_parse_tzfile (php_date.c:821) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== by 0x75D48E: php_load_php_extension_cb (php_ini.c:351) ==3173== ==3173== ==3173== 112 bytes in 1 blocks are indirectly lost in loss record 6 of 12 ==3173== at 0x4C203E4: calloc (vg_replace_malloc.c:397) ==3173== by 0x459AD2: timelib_tzinfo_ctor (timelib.c:108) ==3173== by 0x45939E: timelib_parse_tzfile (parse_tz.c:318) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 150 bytes in 2 blocks are indirectly lost in loss record 7 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A6B77: _emalloc (zend_alloc.c:2373) ==3173== by 0x7A6D75: _safe_emalloc (zend_alloc.c:2479) ==3173== by 0x7A6F94: _ecalloc (zend_alloc.c:2502) ==3173== by 0x7E7D75: _zend_hash_add_or_update (zend_hash.c:210) ==3173== by 0x421FDF: php_date_parse_tzfile (php_date.c:831) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== ==3173== ==3173== 220 bytes in 1 blocks are indirectly lost in loss record 8 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x458731: read_types (parse_tz.c:126) ==3173== by 0x4593D6: timelib_parse_tzfile (parse_tz.c:323) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 221 bytes in 1 blocks are indirectly lost in loss record 9 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x45862F: read_transistions (parse_tz.c:101) ==3173== by 0x4593C9: timelib_parse_tzfile (parse_tz.c:322) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 640 bytes in 1 blocks are still reachable in loss record 10 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x4011459: (within /lib/ld-2.7.so) ==3173== by 0x4011A54: (within /lib/ld-2.7.so) ==3173== by 0x400D3B5: (within /lib/ld-2.7.so) ==3173== by 0x401114A: (within /lib/ld-2.7.so) ==3173== by 0x5915FBA: (within /lib/libdl-2.7.so) ==3173== by 0x400D3B5: (within /lib/ld-2.7.so) ==3173== by 0x591636B: (within /lib/libdl-2.7.so) ==3173== by 0x5915F20: dlopen (in /lib/libdl-2.7.so) ==3173== by 0x6C992C: php_load_extension (dl.c:144) ==3173== by 0x75D48E: php_load_php_extension_cb (php_ini.c:351) ==3173== by 0x7C8781: zend_llist_apply (zend_llist.c:193) ==3173== ==3173== ==3173== 884 bytes in 1 blocks are indirectly lost in loss record 11 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x458554: read_transistions (parse_tz.c:91) ==3173== by 0x4593C9: timelib_parse_tzfile (parse_tz.c:322) ==3173== by 0x421F8E: php_date_parse_tzfile (php_date.c:829) ==3173== by 0x4222C2: get_timezone_info (php_date.c:939) ==3173== by 0x423D52: php_format_date (php_date.c:1188) ==3173== by 0x7519B5: php_log_err (main.c:553) ==3173== by 0x752BD0: php_error_cb (main.c:971) ==3173== by 0x7D7D4A: zend_error (zend.c:1021) ==3173== by 0x7523E7: php_verror (main.c:775) ==3173== by 0x7524FA: php_error_docref0 (main.c:787) ==3173== by 0x6C9A95: php_load_extension (dl.c:214) ==3173== ==3173== ==3173== 2,216 bytes in 1 blocks are still reachable in loss record 12 of 12 ==3173== at 0x4C2260E: malloc (vg_replace_malloc.c:207) ==3173== by 0x7A7259: alloc_globals_ctor (zend_alloc.c:2595) ==3173== by 0x7A72D4: start_memory_manager (zend_alloc.c:2618) ==3173== by 0x7D7300: zend_startup (zend.c:625) ==3173== by 0x7546FE: php_module_startup (main.c:1887) ==3173== by 0x90C9DE: php_cli_startup (php_cli.c:425) ==3173== by 0x90D7E7: main (php_cli.c:801) ==3173== ==3173== LEAK SUMMARY: ==3173== definitely lost: 72 bytes in 1 blocks. ==3173== indirectly lost: 1,637 bytes in 9 blocks. ==3173== possibly lost: 0 bytes in 0 blocks. ==3173== still reachable: 2,888 bytes in 3 blocks. ==3173== suppressed: 0 bytes in 0 blocks.