Tuesday 15 July 2014

php - Valgrind error on mem -



php - Valgrind error on mem -

i getting next error in valgrind, when run php application. need find causing segmentation fault core dump error halt application.

==17131== thread 36: ==17131== invalid read of size 1 ==17131== @ 0x4a08ce1: memcpy (mc_replace_strmem.c:882) ==17131== 0x46574b: seek_to_tz_position (parse_tz.c:267) ==17131== 0x46587e: timelib_parse_tzfile (parse_tz.c:320) ==17131== 0x43e0ca: php_date_parse_tzfile (php_date.c:900) ==17131== 0x440cc3: get_timezone_info (php_date.c:975) ==17131== 0x443887: php_format_date (php_date.c:1228) ==17131== 0x44408e: php_date (php_date.c:1213) ==17131== 0x44411f: zif_date (php_date.c:1344) ==17131== 0x8e5411: zend_do_fcall_common_helper_spec (zend_vm_execute.h:550) ==17131== 0x8d55ba: execute_ex (zend_vm_execute.h:363) ==17131== 0x8479c8: zend_call_function (zend_execute_api.c:939) ==17131== 0x871290: zend_call_method (zend_interfaces.c:97) ==17131== address 0x1cb2e289 9 bytes within block of size 12 free'd ==17131== @ 0x4a063f0: free (vg_replace_malloc.c:446) ==17131== 0x3fc ec28 14: setlocale (in /lib64/libc-2.12.so) ==17131== 0x465765: seek_to_tz_position (parse_tz.c:269) ==17131== 0x46587e: timelib_parse_tzfile (parse_tz.c:320) ==17131== 0x43e0ca: php_date_parse_tzfile (php_date.c:900) ==17131== 0x440cc3: get_timezone_info (php_date.c:975) ==17131== 0x443887: php_format_date (php_date.c:1228) ==17131== 0x44408e: php_date (php_date.c:1213) ==17131== 0x44411f: zif_date (php_date.c:1344) ==17131== 0x8e5411: zend_do_fcall_common_helper_spec (zend_vm_execute.h:550) ==17131== 0x8d55ba: execute_ex (zend_vm_execute.h:363) ==17131== 0x8479c8: zend_call_function (zend_execute_api.c:939) ==17131==

thanks in advance.

php c linux

No comments:

Post a Comment