==1298== ==1298== ERROR SUMMARY: 5571 errors from 10 contexts (suppressed: 5683 from 3) ==1298== malloc/free: in use at exit: 111,402,651 bytes in 157,314 blocks. ==1298== malloc/free: 1,316,741 allocs, 1,159,427 frees, 529,537,434 bytes allocated. ==1298== For counts of detected errors, rerun with: -v ==1298== searching for pointers to 157,314 not-freed blocks. ==1298== checked 120,383,720 bytes. ==1298== ==1298== Thread 1: ==1298== ==1298== 8 bytes in 1 blocks are possibly lost in loss record 1 of 49 ==1298== at 0x4023D6E: malloc (vg_replace_malloc.c:207) ==1298== by 0x4023EEF: realloc (vg_replace_malloc.c:429) ==1298== by 0x427A902: (within /lib/i686/cmov/libc-2.7.so) ==1298== by 0x427B76A: glob64 (in /lib/i686/cmov/libc-2.7.so) ==1298== by 0x80CDC0A: config_text_file_load (config.c:1228) ==1298== by 0x80D0D8B: ast_config_internal_load (config.c:2084) ==1298== by 0x80D0E1C: ast_config_load2 (config.c:2103) ==1298== by 0x55A7F2B: load_config (app_voicemail.c:11630) ==1298== by 0x55ABA60: reload (app_voicemail.c:12757) ==1298== by 0x811761B: ast_module_reload (loader.c:737) ==1298== by 0x80C3949: handle_core_reload (cli.c:324) ==1298== by 0x80CB0C0: ast_cli_command_full (cli.c:2488) ==1298== ==1298== ==1298== 134 bytes in 3 blocks are possibly lost in loss record 14 of 49 ==1298== at 0x4023D6E: malloc (vg_replace_malloc.c:207) ==1298== by 0x4279CF3: (within /lib/i686/cmov/libc-2.7.so) ==1298== by 0x427BF46: glob64 (in /lib/i686/cmov/libc-2.7.so) ==1298== by 0x80CDC0A: config_text_file_load (config.c:1228) ==1298== by 0x80D0D8B: ast_config_internal_load (config.c:2084) ==1298== by 0x80D0E1C: ast_config_load2 (config.c:2103) ==1298== by 0x56D5605: iax_provision_reload (iax2-provision.c:530) ==1298== by 0x56CB610: reload_config (chan_iax2.c:13421) ==1298== by 0x56CB697: reload (chan_iax2.c:13447) ==1298== by 0x811761B: ast_module_reload (loader.c:737) ==1298== by 0x80C3949: handle_core_reload (cli.c:324) ==1298== by 0x80CB0C0: ast_cli_command_full (cli.c:2488) ==1298== ==1298== ==1298== 4,952 bytes in 35 blocks are possibly lost in loss record 32 of 49 ==1298== at 0x4021E22: calloc (vg_replace_malloc.c:397) ==1298== by 0x4010C7B: _dl_allocate_tls (in /lib/ld-2.7.so) ==1298== by 0x4476672: pthread_create@@GLIBC_2.1 (in /lib/i686/cmov/libpthread-2.7.so) ==1298== by 0x8197457: ast_pthread_create_stack (utils.c:1058) ==1298== by 0x817F09A: add_notify (localtime.c:329) ==1298== by 0x817F561: tzload (localtime.c:706) ==1298== by 0x8181172: ast_tzset (localtime.c:1436) ==1298== by 0x818168E: ast_localtime (localtime.c:1549) ==1298== by 0x811F7AF: ast_log (logger.c:1168) ==1298== by 0x8120255: __ast_verbose_ap (logger.c:1436) ==1298== by 0x812028D: __ast_verbose (logger.c:1444) ==1298== by 0x8083FE6: main (asterisk.c:3340) ==1298== ==1298== ==1298== 11,113 (1,752 direct, 9,361 indirect) bytes in 219 blocks are definitely lost in loss record 37 of 49 ==1298== at 0x4023D6E: malloc (vg_replace_malloc.c:207) ==1298== by 0x4023EEF: realloc (vg_replace_malloc.c:429) ==1298== by 0x427A902: (within /lib/i686/cmov/libc-2.7.so) ==1298== by 0x427B76A: glob64 (in /lib/i686/cmov/libc-2.7.so) ==1298== by 0x80CDC0A: config_text_file_load (config.c:1228) ==1298== by 0x80D0D8B: ast_config_internal_load (config.c:2084) ==1298== by 0x80D0E1C: ast_config_load2 (config.c:2103) ==1298== by 0x5679C4D: load_config (cdr_manager.c:63) ==1298== by 0x567A5FD: reload (cdr_manager.c:218) ==1298== by 0x811761B: ast_module_reload (loader.c:737) ==1298== by 0x80C3949: handle_core_reload (cli.c:324) ==1298== by 0x80CB0C0: ast_cli_command_full (cli.c:2488) ==1298== ==1298== ==1298== 133,128 bytes in 86 blocks are possibly lost in loss record 44 of 49 ==1298== at 0x4021E22: calloc (vg_replace_malloc.c:397) ==1298== by 0x8118DF0: ast_reentrancy_init (lock.h:446) ==1298== by 0x8118D85: __ast_pthread_mutex_init (lock.c:66) ==1298== by 0x814B3AB: ast_context_find_or_create (pbx.c:6966) ==1298== by 0x814B9E2: context_merge (pbx.c:7082) ==1298== by 0x814BD69: ast_merge_contexts_and_delete (pbx.c:7159) ==1298== by 0x4EE0945: pbx_load_module (pbx_config.c:1762) ==1298== by 0x4EE0A4D: reload (pbx_config.c:1792) ==1298== by 0x811761B: ast_module_reload (loader.c:737) ==1298== by 0x80C3949: handle_core_reload (cli.c:324) ==1298== by 0x80CB0C0: ast_cli_command_full (cli.c:2488) ==1298== by 0x80CB1F6: ast_cli_command_multiple_full (cli.c:2511) ==1298== ==1298== ==1298== 308,467 (305,716 direct, 2,751 indirect) bytes in 5,385 blocks are definitely lost in loss record 45 of 49 ==1298== at 0x4021E22: calloc (vg_replace_malloc.c:397) ==1298== by 0x8194E75: _ast_calloc (utils.h:480) ==1298== by 0x80CB50B: ast_variable_new (config.c:236) ==1298== by 0x402C1BB: realtime_mysql (res_config_mysql.c:403) ==1298== by 0x80D0EC9: ast_load_realtime_helper (config.c:2120) ==1298== by 0x80D0F4A: ast_load_realtime (config.c:2149) ==1298== by 0x4F93FDA: realtime_peer (chan_sip.c:4661) ==1298== by 0x4F94C64: find_peer (chan_sip.c:4894) ==1298== by 0x4FFBB5E: sip_devicestate (chan_sip.c:25545) ==1298== by 0x80DA167: _ast_device_state (devicestate.c:348) ==1298== by 0x80DA1AA: ast_device_state (devicestate.c:363) ==1298== by 0x8141752: ast_extension_state2 (pbx.c:4218) ==1298== ==1298== ==1298== 704,872 bytes in 740 blocks are possibly lost in loss record 46 of 49 ==1298== at 0x4021E22: calloc (vg_replace_malloc.c:397) ==1298== by 0x8194E75: _ast_calloc (utils.h:480) ==1298== by 0x819526B: ast_str_create (strings.h:405) ==1298== by 0x8196ED9: handle_show_locks (utils.c:881) ==1298== by 0x80C9CFD: __ast_cli_register (cli.c:2056) ==1298== by 0x80CA03B: ast_cli_register (cli.c:2110) ==1298== by 0x80CA064: ast_cli_register_multiple (cli.c:2121) ==1298== by 0x8198F97: ast_utils_init (utils.c:1976) ==1298== by 0x80837CC: main (asterisk.c:3214) ==1298== ==1298== ==1298== 2,747,700 bytes in 1,775 blocks are definitely lost in loss record 47 of 49 ==1298== at 0x4021E22: calloc (vg_replace_malloc.c:397) ==1298== by 0x8118DF0: ast_reentrancy_init (lock.h:446) ==1298== by 0x8118D85: __ast_pthread_mutex_init (lock.c:66) ==1298== by 0x814B3AB: ast_context_find_or_create (pbx.c:6966) ==1298== by 0x4E1DF8B: ast_compile_ael2 (pval.c:4502) ==1298== by 0x4F0FFC6: pbx_load_module (pbx_ael.c:181) ==1298== by 0x4F1044E: load_module (pbx_ael.c:280) ==1298== by 0x81178B4: start_resource (loader.c:785) ==1298== by 0x81181B1: load_resource_list (loader.c:973) ==1298== by 0x81187FB: load_modules (loader.c:1126) ==1298== by 0x80859F6: main (asterisk.c:3815) ==1298== ==1298== LEAK SUMMARY: ==1298== definitely lost: 3,055,168 bytes in 7,379 blocks. ==1298== indirectly lost: 12,112 bytes in 392 blocks. ==1298== possibly lost: 843,094 bytes in 865 blocks. ==1298== still reachable: 107,492,277 bytes in 148,678 blocks. ==1298== suppressed: 0 bytes in 0 blocks. ==1298== Reachable blocks (those to which a pointer was found) are not shown. ==1298== To see them, rerun with: --leak-check=full --show-reachable=yes