Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@fs ~]# valgrind --show-leak-kinds=definite --leak-check=full /usr/local/samba/bin/net ads search CN=isaac tokengroups -P
- ==3441== Memcheck, a memory error detector
- ==3441== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==3441== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
- ==3441== Command: /usr/local/samba/bin/net ads search CN=isaac tokengroups -P
- ==3441==
- ==3442==
- ==3442== HEAP SUMMARY:
- ==3442== in use at exit: 171,326 bytes in 932 blocks
- ==3442== total heap usage: 2,225 allocs, 1,293 frees, 306,920 bytes allocated
- ==3442==
- ==3442== 98 bytes in 1 blocks are definitely lost in loss record 45 of 141
- ==3442== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3442== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
- ==3442== by 0x86CDC0A: __talloc (talloc.c:773)
- ==3442== by 0x86D0C41: __talloc_strlendup (talloc.c:2417)
- ==3442== by 0x86D0CE3: talloc_strdup (talloc.c:2433)
- ==3442== by 0xFDB435C: lpcfg_string_set (loadparm.c:594)
- ==3442== by 0xFDB5EB1: handle_debug_list (loadparm.c:1243)
- ==3442== by 0xFDB72EC: set_variable (loadparm.c:1776)
- ==3442== by 0xFDB76A3: lpcfg_do_global_parameter (loadparm.c:1828)
- ==3442== by 0xFDB7CD5: lpcfg_set_cmdline (loadparm.c:1954)
- ==3442== by 0x84673BB: lp_set_cmdline (loadparm.c:2693)
- ==3442== by 0x140F14: main (net.c:994)
- ==3442==
- ==3442== 440 (232 direct, 208 indirect) bytes in 1 blocks are definitely lost in loss record 120 of 141
- ==3442== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3442== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
- ==3442== by 0x86CDC0A: __talloc (talloc.c:773)
- ==3442== by 0x86CDFA3: _talloc_named_const (talloc.c:930)
- ==3442== by 0x86D1678: _talloc_array (talloc.c:2721)
- ==3442== by 0x74834C8: str_list_make_v3 (util_strlist_v3.c:58)
- ==3442== by 0x7483738: str_list_make_v3_const (util_strlist_v3.c:127)
- ==3442== by 0x845B64F: init_globals (loadparm.c:545)
- ==3442== by 0x846A91D: lp_load_ex (loadparm.c:3877)
- ==3442== by 0x846AE6F: lp_load_initial_only (loadparm.c:4026)
- ==3442== by 0x141156: main (net.c:1033)
- ==3442==
- ==3442== LEAK SUMMARY:
- ==3442== definitely lost: 330 bytes in 2 blocks
- ==3442== indirectly lost: 208 bytes in 2 blocks
- ==3442== possibly lost: 69,280 bytes in 193 blocks
- ==3442== still reachable: 101,508 bytes in 735 blocks
- ==3442== suppressed: 0 bytes in 0 blocks
- ==3442== Reachable blocks (those to which a pointer was found) are not shown.
- ==3442== To see them, rerun with: --leak-check=full --show-leak-kinds=all
- ==3442==
- ==3442== For counts of detected and suppressed errors, rerun with: -v
- ==3442== ERROR SUMMARY: 89 errors from 89 contexts (suppressed: 0 from 0)
- search failed: No logon servers are currently available to service the logon request.
- ==3441==
- ==3441== HEAP SUMMARY:
- ==3441== in use at exit: 134,050 bytes in 490 blocks
- ==3441== total heap usage: 172,849 allocs, 172,359 frees, 10,160,153 bytes allocated
- ==3441==
- ==3441== 8 bytes in 1 blocks are definitely lost in loss record 31 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0x7479C4D: smb_memdup (util.c:659)
- ==3441== by 0xB98B68B: secrets_fetch (secrets.c:117)
- ==3441== by 0xB98E287: secrets_fetch_machine_password (machine_account_secrets.c:683)
- ==3441== by 0x188A78: net_use_krb_machine_account (net_util.c:275)
- ==3441== by 0x14147D: main (net.c:1115)
- ==3441==
- ==3441== 33 bytes in 1 blocks are definitely lost in loss record 133 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0xD39CA6F: vasprintf (in /usr/lib64/libc-2.25.so)
- ==3441== by 0xD379923: asprintf (in /usr/lib64/libc-2.25.so)
- ==3441== by 0x188AAE: net_use_krb_machine_account (net_util.c:277)
- ==3441== by 0x14147D: main (net.c:1115)
- ==3441==
- ==3441== 98 bytes in 1 blocks are definitely lost in loss record 210 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
- ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
- ==3441== by 0x86D0C41: __talloc_strlendup (talloc.c:2417)
- ==3441== by 0x86D0CE3: talloc_strdup (talloc.c:2433)
- ==3441== by 0xFDB435C: lpcfg_string_set (loadparm.c:594)
- ==3441== by 0xFDB5EB1: handle_debug_list (loadparm.c:1243)
- ==3441== by 0xFDB72EC: set_variable (loadparm.c:1776)
- ==3441== by 0xFDB76A3: lpcfg_do_global_parameter (loadparm.c:1828)
- ==3441== by 0xFDB7CD5: lpcfg_set_cmdline (loadparm.c:1954)
- ==3441== by 0x84673BB: lp_set_cmdline (loadparm.c:2693)
- ==3441== by 0x140F14: main (net.c:994)
- ==3441==
- ==3441== 219 (96 direct, 123 indirect) bytes in 1 blocks are definitely lost in loss record 281 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
- ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
- ==3441== by 0x86CF4B9: talloc_init (talloc.c:1584)
- ==3441== by 0x6762145: ads_connect (ldap.c:662)
- ==3441== by 0x142509: ads_startup_int (net_ads.c:307)
- ==3441== by 0x142705: ads_startup (net_ads.c:354)
- ==3441== by 0x148C7D: net_ads_search (net_ads.c:2434)
- ==3441== by 0x1899BC: net_run_function (net_util.c:508)
- ==3441== by 0x14AE6E: net_ads (net_ads.c:3473)
- ==3441== by 0x1899BC: net_run_function (net_util.c:508)
- ==3441== by 0x1414EF: main (net.c:1124)
- ==3441==
- ==3441== 440 (232 direct, 208 indirect) bytes in 1 blocks are definitely lost in loss record 303 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
- ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
- ==3441== by 0x86CDFA3: _talloc_named_const (talloc.c:930)
- ==3441== by 0x86D1678: _talloc_array (talloc.c:2721)
- ==3441== by 0x74834C8: str_list_make_v3 (util_strlist_v3.c:58)
- ==3441== by 0x7483738: str_list_make_v3_const (util_strlist_v3.c:127)
- ==3441== by 0x845B64F: init_globals (loadparm.c:545)
- ==3441== by 0x846A91D: lp_load_ex (loadparm.c:3877)
- ==3441== by 0x846AE6F: lp_load_initial_only (loadparm.c:4026)
- ==3441== by 0x141156: main (net.c:1033)
- ==3441==
- ==3441== 44,060 (448 direct, 43,612 indirect) bytes in 1 blocks are definitely lost in loss record 333 of 333
- ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
- ==3441== by 0x8474024: smb_xmalloc_array (util.c:1625)
- ==3441== by 0x6770FCD: ads_init (ads_struct.c:140)
- ==3441== by 0x1422EF: ads_startup_int (net_ads.c:263)
- ==3441== by 0x142705: ads_startup (net_ads.c:354)
- ==3441== by 0x148C7D: net_ads_search (net_ads.c:2434)
- ==3441== by 0x1899BC: net_run_function (net_util.c:508)
- ==3441== by 0x14AE6E: net_ads (net_ads.c:3473)
- ==3441== by 0x1899BC: net_run_function (net_util.c:508)
- ==3441== by 0x1414EF: main (net.c:1124)
- ==3441==
- ==3441== LEAK SUMMARY:
- ==3441== definitely lost: 915 bytes in 6 blocks
- ==3441== indirectly lost: 43,943 bytes in 180 blocks
- ==3441== possibly lost: 65,328 bytes in 167 blocks
- ==3441== still reachable: 23,864 bytes in 137 blocks
- ==3441== suppressed: 0 bytes in 0 blocks
- ==3441== Reachable blocks (those to which a pointer was found) are not shown.
- ==3441== To see them, rerun with: --leak-check=full --show-leak-kinds=all
- ==3441==
- ==3441== For counts of detected and suppressed errors, rerun with: -v
- ==3441== ERROR SUMMARY: 67 errors from 67 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement