Guest User

Untitled

a guest
Dec 11th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.22 KB | None | 0 0
  1. ==21262== Memcheck, a memory error detector
  2. ==21262== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==21262== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
  4. ==21262== Command: nft add element nat2 subnettoip {2.2.2.0/24:50.50.50.12}
  5. ==21262==
  6. ==21262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
  7. ==21262== at 0x58196F3: __sendto_nocancel (syscall-template.S:81)
  8. ==21262== by 0x4201C2: nft_mnl_talk (mnl.c:80)
  9. ==21262== by 0x4217BC: mnl_nft_set_dump (mnl.c:788)
  10. ==21262== by 0x417A7B: netlink_list_sets (netlink.c:1268)
  11. ==21262== by 0x407E37: cache_init_objects (rule.c:76)
  12. ==21262== by 0x407E37: cache_init (rule.c:130)
  13. ==21262== by 0x407E37: cache_update (rule.c:147)
  14. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  15. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  16. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  17. ==21262== by 0x406A2C: nft_run (main.c:230)
  18. ==21262== by 0x406635: main (main.c:361)
  19. ==21262== Address 0xffeff622d is on thread 1's stack
  20. ==21262== in frame #2, created by mnl_nft_set_dump (mnl.c:766)
  21. ==21262==
  22. ==21262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
  23. ==21262== at 0x58196F3: __sendto_nocancel (syscall-template.S:81)
  24. ==21262== by 0x4201C2: nft_mnl_talk (mnl.c:80)
  25. ==21262== by 0x421AB2: mnl_nft_setelem_get (mnl.c:917)
  26. ==21262== by 0x417DAA: netlink_get_setelems (netlink.c:1575)
  27. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  28. ==21262== by 0x407E9C: cache_init (rule.c:130)
  29. ==21262== by 0x407E9C: cache_update (rule.c:147)
  30. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  31. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  32. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  33. ==21262== by 0x406A2C: nft_run (main.c:230)
  34. ==21262== by 0x406635: main (main.c:361)
  35. ==21262== Address 0xffeff621d is on thread 1's stack
  36. ==21262== in frame #2, created by mnl_nft_setelem_get (mnl.c:908)
  37. ==21262==
  38. ==21262== Warning: set address range perms: large range [0x8d05040, 0x28d05040) (undefined)
  39. ==21262== Warning: set address range perms: large range [0x8d05028, 0x28d05058) (noaccess)
  40. ==21262== Warning: set address range perms: large range [0x5a04d048, 0x7a04d048) (undefined)
  41. ==21262== Warning: set address range perms: large range [0x3a04c028, 0x5a04c060) (noaccess)
  42. ==21262== Warning: set address range perms: large range [0x8d05040, 0x28d05040) (undefined)
  43. ==21262== Warning: set address range perms: large range [0x3a04c048, 0x5a04c048) (undefined)
  44. utils.c:38: Memory allocation failure
  45. ==21262==
  46. ==21262== HEAP SUMMARY:
  47. ==21262== in use at exit: 1,626,675,132 bytes in 147,492 blocks
  48. ==21262== total heap usage: 262,359 allocs, 114,867 frees, 2,712,744,636 bytes allocated
  49. ==21262==
  50. ==21262== 0 bytes in 1 blocks are definitely lost in loss record 1 of 51
  51. ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  52. ==21262== by 0x504B049: nftnl_set_set_data (set.c:174)
  53. ==21262== by 0x504B9F5: nft_set_nlmsg_parse (set.c:518)
  54. ==21262== by 0x4205BA: set_cb (mnl.c:753)
  55. ==21262== by 0x4E37377: mnl_cb_run (in /lib/x86_64-linux-gnu/libmnl.so.0.1.0)
  56. ==21262== by 0x420213: nft_mnl_recv (mnl.c:56)
  57. ==21262== by 0x420213: nft_mnl_talk (mnl.c:83)
  58. ==21262== by 0x4217BC: mnl_nft_set_dump (mnl.c:788)
  59. ==21262== by 0x417A7B: netlink_list_sets (netlink.c:1268)
  60. ==21262== by 0x407E37: cache_init_objects (rule.c:76)
  61. ==21262== by 0x407E37: cache_init (rule.c:130)
  62. ==21262== by 0x407E37: cache_update (rule.c:147)
  63. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  64. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  65. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  66. ==21262== by 0x406A2C: nft_run (main.c:230)
  67. ==21262==
  68. ==21262== 8 bytes in 1 blocks are definitely lost in loss record 12 of 51
  69. ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  70. ==21262== by 0x41FA28: xmalloc (utils.c:36)
  71. ==21262== by 0x54CB047: __gmpz_init (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
  72. ==21262== by 0x41EA51: interval_map_decompose (segtree.c:617)
  73. ==21262== by 0x417E0B: netlink_get_setelems (netlink.c:1591)
  74. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  75. ==21262== by 0x407E9C: cache_init (rule.c:130)
  76. ==21262== by 0x407E9C: cache_update (rule.c:147)
  77. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  78. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  79. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  80. ==21262== by 0x406A2C: nft_run (main.c:230)
  81. ==21262== by 0x406635: main (main.c:361)
  82. ==21262==
  83. ==21262== 16 bytes in 1 blocks are definitely lost in loss record 17 of 51
  84. ==21262== at 0x4C2AF2E: realloc (vg_replace_malloc.c:692)
  85. ==21262== by 0x41FA58: xrealloc (utils.c:44)
  86. ==21262== by 0x54D1B39: __gmpz_realloc (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
  87. ==21262== by 0x54D37B0: __gmpz_sub (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
  88. ==21262== by 0x41EC5C: interval_map_decompose (segtree.c:667)
  89. ==21262== by 0x417E0B: netlink_get_setelems (netlink.c:1591)
  90. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  91. ==21262== by 0x407E9C: cache_init (rule.c:130)
  92. ==21262== by 0x407E9C: cache_update (rule.c:147)
  93. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  94. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  95. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  96. ==21262== by 0x406A2C: nft_run (main.c:230)
  97. ==21262== by 0x406635: main (main.c:361)
  98. ==21262==
  99. ==21262== 136 bytes in 1 blocks are possibly lost in loss record 32 of 51
  100. ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  101. ==21262== by 0x41FA8D: xmalloc (utils.c:36)
  102. ==21262== by 0x41FA8D: xzalloc (utils.c:54)
  103. ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
  104. ==21262== by 0x40CB68: set_elem_expr_alloc (expression.c:942)
  105. ==21262== by 0x415A75: netlink_delinearize_setelem (netlink.c:1504)
  106. ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
  107. ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
  108. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  109. ==21262== by 0x407E9C: cache_init (rule.c:130)
  110. ==21262== by 0x407E9C: cache_update (rule.c:147)
  111. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  112. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  113. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  114. ==21262== by 0x406A2C: nft_run (main.c:230)
  115. ==21262== by 0x406635: main (main.c:361)
  116. ==21262==
  117. ==21262== 136 bytes in 1 blocks are possibly lost in loss record 33 of 51
  118. ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  119. ==21262== by 0x41FA8D: xmalloc (utils.c:36)
  120. ==21262== by 0x41FA8D: xzalloc (utils.c:54)
  121. ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
  122. ==21262== by 0x40CACF: mapping_expr_alloc (expression.c:806)
  123. ==21262== by 0x415B99: netlink_delinearize_setelem (netlink.c:1545)
  124. ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
  125. ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
  126. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  127. ==21262== by 0x407E9C: cache_init (rule.c:130)
  128. ==21262== by 0x407E9C: cache_update (rule.c:147)
  129. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  130. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  131. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  132. ==21262== by 0x406A2C: nft_run (main.c:230)
  133. ==21262== by 0x406635: main (main.c:361)
  134. ==21262==
  135. ==21262== 4,455,904 (2,227,952 direct, 2,227,952 indirect) bytes in 16,382 blocks are definitely lost in loss record 48 of 51
  136. ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
  137. ==21262== by 0x41FA8D: xmalloc (utils.c:36)
  138. ==21262== by 0x41FA8D: xzalloc (utils.c:54)
  139. ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
  140. ==21262== by 0x40CACF: mapping_expr_alloc (expression.c:806)
  141. ==21262== by 0x415B99: netlink_delinearize_setelem (netlink.c:1545)
  142. ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
  143. ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
  144. ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
  145. ==21262== by 0x407E9C: cache_init (rule.c:130)
  146. ==21262== by 0x407E9C: cache_update (rule.c:147)
  147. ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
  148. ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
  149. ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
  150. ==21262== by 0x406A2C: nft_run (main.c:230)
  151. ==21262== by 0x406635: main (main.c:361)
  152. ==21262==
  153. ==21262== LEAK SUMMARY:
  154. ==21262== definitely lost: 2,227,976 bytes in 16,385 blocks
  155. ==21262== indirectly lost: 2,227,952 bytes in 16,382 blocks
  156. ==21262== possibly lost: 272 bytes in 2 blocks
  157. ==21262== still reachable: 1,622,218,932 bytes in 114,723 blocks
  158. ==21262== suppressed: 0 bytes in 0 blocks
  159. ==21262== Reachable blocks (those to which a pointer was found) are not shown.
  160. ==21262== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  161. ==21262==
  162. ==21262== For counts of detected and suppressed errors, rerun with: -v
  163. ==21262== Use --track-origins=yes to see where uninitialised values come from
  164. ==21262== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment