Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 KB | None | 0 0
  1. [root@fs ~]# valgrind --show-leak-kinds=definite --leak-check=full /usr/local/samba/bin/net ads search CN=isaac tokengroups -P
  2. ==3441== Memcheck, a memory error detector
  3. ==3441== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==3441== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
  5. ==3441== Command: /usr/local/samba/bin/net ads search CN=isaac tokengroups -P
  6. ==3441==
  7. ==3442==
  8. ==3442== HEAP SUMMARY:
  9. ==3442== in use at exit: 171,326 bytes in 932 blocks
  10. ==3442== total heap usage: 2,225 allocs, 1,293 frees, 306,920 bytes allocated
  11. ==3442==
  12. ==3442== 98 bytes in 1 blocks are definitely lost in loss record 45 of 141
  13. ==3442== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  14. ==3442== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
  15. ==3442== by 0x86CDC0A: __talloc (talloc.c:773)
  16. ==3442== by 0x86D0C41: __talloc_strlendup (talloc.c:2417)
  17. ==3442== by 0x86D0CE3: talloc_strdup (talloc.c:2433)
  18. ==3442== by 0xFDB435C: lpcfg_string_set (loadparm.c:594)
  19. ==3442== by 0xFDB5EB1: handle_debug_list (loadparm.c:1243)
  20. ==3442== by 0xFDB72EC: set_variable (loadparm.c:1776)
  21. ==3442== by 0xFDB76A3: lpcfg_do_global_parameter (loadparm.c:1828)
  22. ==3442== by 0xFDB7CD5: lpcfg_set_cmdline (loadparm.c:1954)
  23. ==3442== by 0x84673BB: lp_set_cmdline (loadparm.c:2693)
  24. ==3442== by 0x140F14: main (net.c:994)
  25. ==3442==
  26. ==3442== 440 (232 direct, 208 indirect) bytes in 1 blocks are definitely lost in loss record 120 of 141
  27. ==3442== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  28. ==3442== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
  29. ==3442== by 0x86CDC0A: __talloc (talloc.c:773)
  30. ==3442== by 0x86CDFA3: _talloc_named_const (talloc.c:930)
  31. ==3442== by 0x86D1678: _talloc_array (talloc.c:2721)
  32. ==3442== by 0x74834C8: str_list_make_v3 (util_strlist_v3.c:58)
  33. ==3442== by 0x7483738: str_list_make_v3_const (util_strlist_v3.c:127)
  34. ==3442== by 0x845B64F: init_globals (loadparm.c:545)
  35. ==3442== by 0x846A91D: lp_load_ex (loadparm.c:3877)
  36. ==3442== by 0x846AE6F: lp_load_initial_only (loadparm.c:4026)
  37. ==3442== by 0x141156: main (net.c:1033)
  38. ==3442==
  39. ==3442== LEAK SUMMARY:
  40. ==3442== definitely lost: 330 bytes in 2 blocks
  41. ==3442== indirectly lost: 208 bytes in 2 blocks
  42. ==3442== possibly lost: 69,280 bytes in 193 blocks
  43. ==3442== still reachable: 101,508 bytes in 735 blocks
  44. ==3442== suppressed: 0 bytes in 0 blocks
  45. ==3442== Reachable blocks (those to which a pointer was found) are not shown.
  46. ==3442== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  47. ==3442==
  48. ==3442== For counts of detected and suppressed errors, rerun with: -v
  49. ==3442== ERROR SUMMARY: 89 errors from 89 contexts (suppressed: 0 from 0)
  50. search failed: No logon servers are currently available to service the logon request.
  51. ==3441==
  52. ==3441== HEAP SUMMARY:
  53. ==3441== in use at exit: 134,050 bytes in 490 blocks
  54. ==3441== total heap usage: 172,849 allocs, 172,359 frees, 10,160,153 bytes allocated
  55. ==3441==
  56. ==3441== 8 bytes in 1 blocks are definitely lost in loss record 31 of 333
  57. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  58. ==3441== by 0x7479C4D: smb_memdup (util.c:659)
  59. ==3441== by 0xB98B68B: secrets_fetch (secrets.c:117)
  60. ==3441== by 0xB98E287: secrets_fetch_machine_password (machine_account_secrets.c:683)
  61. ==3441== by 0x188A78: net_use_krb_machine_account (net_util.c:275)
  62. ==3441== by 0x14147D: main (net.c:1115)
  63. ==3441==
  64. ==3441== 33 bytes in 1 blocks are definitely lost in loss record 133 of 333
  65. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  66. ==3441== by 0xD39CA6F: vasprintf (in /usr/lib64/libc-2.25.so)
  67. ==3441== by 0xD379923: asprintf (in /usr/lib64/libc-2.25.so)
  68. ==3441== by 0x188AAE: net_use_krb_machine_account (net_util.c:277)
  69. ==3441== by 0x14147D: main (net.c:1115)
  70. ==3441==
  71. ==3441== 98 bytes in 1 blocks are definitely lost in loss record 210 of 333
  72. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  73. ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
  74. ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
  75. ==3441== by 0x86D0C41: __talloc_strlendup (talloc.c:2417)
  76. ==3441== by 0x86D0CE3: talloc_strdup (talloc.c:2433)
  77. ==3441== by 0xFDB435C: lpcfg_string_set (loadparm.c:594)
  78. ==3441== by 0xFDB5EB1: handle_debug_list (loadparm.c:1243)
  79. ==3441== by 0xFDB72EC: set_variable (loadparm.c:1776)
  80. ==3441== by 0xFDB76A3: lpcfg_do_global_parameter (loadparm.c:1828)
  81. ==3441== by 0xFDB7CD5: lpcfg_set_cmdline (loadparm.c:1954)
  82. ==3441== by 0x84673BB: lp_set_cmdline (loadparm.c:2693)
  83. ==3441== by 0x140F14: main (net.c:994)
  84. ==3441==
  85. ==3441== 219 (96 direct, 123 indirect) bytes in 1 blocks are definitely lost in loss record 281 of 333
  86. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  87. ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
  88. ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
  89. ==3441== by 0x86CF4B9: talloc_init (talloc.c:1584)
  90. ==3441== by 0x6762145: ads_connect (ldap.c:662)
  91. ==3441== by 0x142509: ads_startup_int (net_ads.c:307)
  92. ==3441== by 0x142705: ads_startup (net_ads.c:354)
  93. ==3441== by 0x148C7D: net_ads_search (net_ads.c:2434)
  94. ==3441== by 0x1899BC: net_run_function (net_util.c:508)
  95. ==3441== by 0x14AE6E: net_ads (net_ads.c:3473)
  96. ==3441== by 0x1899BC: net_run_function (net_util.c:508)
  97. ==3441== by 0x1414EF: main (net.c:1124)
  98. ==3441==
  99. ==3441== 440 (232 direct, 208 indirect) bytes in 1 blocks are definitely lost in loss record 303 of 333
  100. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  101. ==3441== by 0x86CDA78: __talloc_with_prefix (talloc.c:732)
  102. ==3441== by 0x86CDC0A: __talloc (talloc.c:773)
  103. ==3441== by 0x86CDFA3: _talloc_named_const (talloc.c:930)
  104. ==3441== by 0x86D1678: _talloc_array (talloc.c:2721)
  105. ==3441== by 0x74834C8: str_list_make_v3 (util_strlist_v3.c:58)
  106. ==3441== by 0x7483738: str_list_make_v3_const (util_strlist_v3.c:127)
  107. ==3441== by 0x845B64F: init_globals (loadparm.c:545)
  108. ==3441== by 0x846A91D: lp_load_ex (loadparm.c:3877)
  109. ==3441== by 0x846AE6F: lp_load_initial_only (loadparm.c:4026)
  110. ==3441== by 0x141156: main (net.c:1033)
  111. ==3441==
  112. ==3441== 44,060 (448 direct, 43,612 indirect) bytes in 1 blocks are definitely lost in loss record 333 of 333
  113. ==3441== at 0x4C2EB6B: malloc (vg_replace_malloc.c:299)
  114. ==3441== by 0x8474024: smb_xmalloc_array (util.c:1625)
  115. ==3441== by 0x6770FCD: ads_init (ads_struct.c:140)
  116. ==3441== by 0x1422EF: ads_startup_int (net_ads.c:263)
  117. ==3441== by 0x142705: ads_startup (net_ads.c:354)
  118. ==3441== by 0x148C7D: net_ads_search (net_ads.c:2434)
  119. ==3441== by 0x1899BC: net_run_function (net_util.c:508)
  120. ==3441== by 0x14AE6E: net_ads (net_ads.c:3473)
  121. ==3441== by 0x1899BC: net_run_function (net_util.c:508)
  122. ==3441== by 0x1414EF: main (net.c:1124)
  123. ==3441==
  124. ==3441== LEAK SUMMARY:
  125. ==3441== definitely lost: 915 bytes in 6 blocks
  126. ==3441== indirectly lost: 43,943 bytes in 180 blocks
  127. ==3441== possibly lost: 65,328 bytes in 167 blocks
  128. ==3441== still reachable: 23,864 bytes in 137 blocks
  129. ==3441== suppressed: 0 bytes in 0 blocks
  130. ==3441== Reachable blocks (those to which a pointer was found) are not shown.
  131. ==3441== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  132. ==3441==
  133. ==3441== For counts of detected and suppressed errors, rerun with: -v
  134. ==3441== ERROR SUMMARY: 67 errors from 67 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement