Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save michael-grunder/bc683c2ab1263f57fcab2218cbd67b95 to your computer and use it in GitHub Desktop.

Select an option

Save michael-grunder/bc683c2ab1263f57fcab2218cbd67b95 to your computer and use it in GitHub Desktop.
redis array unit test valgrind results
==2541== Memcheck, a memory error detector
==2541== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==2541== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==2541== Command: sapi/cli/php ext/redis/tests/TestRedis.php --class RedisArray
==2541== Parent PID: 17191
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xB9026F: gc_zval_possible_root (zend_gc.c:149)
==2541== by 0xB4226F: gc_zval_check_possible_root (zend_gc.h:183)
==2541== by 0xB4243F: i_zval_ptr_dtor (zend_execute.h:86)
==2541== by 0xB42A29: zend_vm_stack_clear_multiple (zend_execute.h:308)
==2541== by 0xB46A08: zend_call_function (zend_execute_API.c:889)
==2541== by 0xB45133: call_user_function_ex (zend_execute_API.c:617)
==2541== by 0xB44F52: call_user_function (zend_execute_API.c:590)
==2541== by 0x7CCD2C: inline_call_user_function (common.h:257)
==2541== by 0x7D1DA4: ra_move_hash (redis_array_impl.c:1001)
==2541== by 0x7D2836: ra_move_key (redis_array_impl.c:1130)
==2541== by 0x7D2C09: ra_rehash_server (redis_array_impl.c:1212)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D1B11: ra_move_hash (redis_array_impl.c:983)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xB90284: gc_zval_possible_root (zend_gc.c:150)
==2541== by 0xB4226F: gc_zval_check_possible_root (zend_gc.h:183)
==2541== by 0xB4243F: i_zval_ptr_dtor (zend_execute.h:86)
==2541== by 0xB42A29: zend_vm_stack_clear_multiple (zend_execute.h:308)
==2541== by 0xB46A08: zend_call_function (zend_execute_API.c:889)
==2541== by 0xB45133: call_user_function_ex (zend_execute_API.c:617)
==2541== by 0xB44F52: call_user_function (zend_execute_API.c:590)
==2541== by 0x7CCD2C: inline_call_user_function (common.h:257)
==2541== by 0x7D1DA4: ra_move_hash (redis_array_impl.c:1001)
==2541== by 0x7D2836: ra_move_key (redis_array_impl.c:1130)
==2541== by 0x7D2C09: ra_rehash_server (redis_array_impl.c:1212)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D1B11: ra_move_hash (redis_array_impl.c:983)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xB45BDC: zend_call_function (zend_execute_API.c:753)
==2541== by 0x7D29FE: zval_rehash_callback (redis_array_impl.c:1170)
==2541== by 0x7D2B34: ra_rehash_server (redis_array_impl.c:1200)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== by 0x7C886C: zim_RedisArray__rehash (redis_array.c:583)
==2541== by 0xBAF870: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2541== by 0xBB0327: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:693)
==2541== by 0xBAEABC: execute_ex (zend_vm_execute.h:363)
==2541== by 0xBAEBA3: zend_execute (zend_vm_execute.h:388)
==2541== by 0xB5F5B3: zend_execute_scripts (zend.c:1341)
==2541== by 0xA97556: php_execute_script (main.c:2613)
==2541== by 0xC32219: do_cli (php_cli.c:998)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D28A5: zval_rehash_callback (redis_array_impl.c:1150)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xBA7E54: i_zval_ptr_dtor (zend_execute.h:76)
==2541== by 0xBADCF1: i_free_compiled_variables (zend_execute.c:1553)
==2541== by 0xBAEC6D: zend_leave_helper_SPEC (zend_vm_execute.h:399)
==2541== by 0xBB6766: ZEND_RETURN_SPEC_CONST_HANDLER (zend_vm_execute.h:2645)
==2541== by 0xBAEABC: execute_ex (zend_vm_execute.h:363)
==2541== by 0xBAEBA3: zend_execute (zend_vm_execute.h:388)
==2541== by 0xB464AE: zend_call_function (zend_execute_API.c:831)
==2541== by 0x7D29FE: zval_rehash_callback (redis_array_impl.c:1170)
==2541== by 0x7D2B34: ra_rehash_server (redis_array_impl.c:1200)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== by 0x7C886C: zim_RedisArray__rehash (redis_array.c:583)
==2541== by 0xBAF870: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D28A5: zval_rehash_callback (redis_array_impl.c:1150)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xBA7F10: i_zval_ptr_dtor (zend_execute.h:82)
==2541== by 0xBADCF1: i_free_compiled_variables (zend_execute.c:1553)
==2541== by 0xBAEC6D: zend_leave_helper_SPEC (zend_vm_execute.h:399)
==2541== by 0xBB6766: ZEND_RETURN_SPEC_CONST_HANDLER (zend_vm_execute.h:2645)
==2541== by 0xBAEABC: execute_ex (zend_vm_execute.h:363)
==2541== by 0xBAEBA3: zend_execute (zend_vm_execute.h:388)
==2541== by 0xB464AE: zend_call_function (zend_execute_API.c:831)
==2541== by 0x7D29FE: zval_rehash_callback (redis_array_impl.c:1170)
==2541== by 0x7D2B34: ra_rehash_server (redis_array_impl.c:1200)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== by 0x7C886C: zim_RedisArray__rehash (redis_array.c:583)
==2541== by 0xBAF870: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D28A5: zval_rehash_callback (redis_array_impl.c:1150)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xB42363: i_zval_ptr_dtor (zend_execute.h:76)
==2541== by 0xB42A29: zend_vm_stack_clear_multiple (zend_execute.h:308)
==2541== by 0xB46A08: zend_call_function (zend_execute_API.c:889)
==2541== by 0x7D29FE: zval_rehash_callback (redis_array_impl.c:1170)
==2541== by 0x7D2B34: ra_rehash_server (redis_array_impl.c:1200)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== by 0x7C886C: zim_RedisArray__rehash (redis_array.c:583)
==2541== by 0xBAF870: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2541== by 0xBB0327: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:693)
==2541== by 0xBAEABC: execute_ex (zend_vm_execute.h:363)
==2541== by 0xBAEBA3: zend_execute (zend_vm_execute.h:388)
==2541== by 0xB5F5B3: zend_execute_scripts (zend.c:1341)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D28A5: zval_rehash_callback (redis_array_impl.c:1150)
==2541==
==2541== Conditional jump or move depends on uninitialised value(s)
==2541== at 0xB4241F: i_zval_ptr_dtor (zend_execute.h:82)
==2541== by 0xB42A29: zend_vm_stack_clear_multiple (zend_execute.h:308)
==2541== by 0xB46A08: zend_call_function (zend_execute_API.c:889)
==2541== by 0x7D29FE: zval_rehash_callback (redis_array_impl.c:1170)
==2541== by 0x7D2B34: ra_rehash_server (redis_array_impl.c:1200)
==2541== by 0x7D2D57: ra_rehash (redis_array_impl.c:1232)
==2541== by 0x7C886C: zim_RedisArray__rehash (redis_array.c:583)
==2541== by 0xBAF870: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
==2541== by 0xBB0327: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:693)
==2541== by 0xBAEABC: execute_ex (zend_vm_execute.h:363)
==2541== by 0xBAEBA3: zend_execute (zend_vm_execute.h:388)
==2541== by 0xB5F5B3: zend_execute_scripts (zend.c:1341)
==2541== Uninitialised value was created by a stack allocation
==2541== at 0x7D28A5: zval_rehash_callback (redis_array_impl.c:1150)
==2541==
==2541==
==2541== HEAP SUMMARY:
==2541== in use at exit: 72,704 bytes in 1 blocks
==2541== total heap usage: 97,101 allocs, 97,100 frees, 253,013,122 bytes allocated
==2541==
==2541== LEAK SUMMARY:
==2541== definitely lost: 0 bytes in 0 blocks
==2541== indirectly lost: 0 bytes in 0 blocks
==2541== possibly lost: 0 bytes in 0 blocks
==2541== still reachable: 72,704 bytes in 1 blocks
==2541== suppressed: 0 bytes in 0 blocks
==2541== Reachable blocks (those to which a pointer was found) are not shown.
==2541== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2541==
==2541== For counts of detected and suppressed errors, rerun with: -v
==2541== ERROR SUMMARY: 2160 errors from 7 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment