Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==21262== Memcheck, a memory error detector
- ==21262== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
- ==21262== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
- ==21262== Command: nft add element nat2 subnettoip {2.2.2.0/24:50.50.50.12}
- ==21262==
- ==21262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
- ==21262== at 0x58196F3: __sendto_nocancel (syscall-template.S:81)
- ==21262== by 0x4201C2: nft_mnl_talk (mnl.c:80)
- ==21262== by 0x4217BC: mnl_nft_set_dump (mnl.c:788)
- ==21262== by 0x417A7B: netlink_list_sets (netlink.c:1268)
- ==21262== by 0x407E37: cache_init_objects (rule.c:76)
- ==21262== by 0x407E37: cache_init (rule.c:130)
- ==21262== by 0x407E37: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262== Address 0xffeff622d is on thread 1's stack
- ==21262== in frame #2, created by mnl_nft_set_dump (mnl.c:766)
- ==21262==
- ==21262== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
- ==21262== at 0x58196F3: __sendto_nocancel (syscall-template.S:81)
- ==21262== by 0x4201C2: nft_mnl_talk (mnl.c:80)
- ==21262== by 0x421AB2: mnl_nft_setelem_get (mnl.c:917)
- ==21262== by 0x417DAA: netlink_get_setelems (netlink.c:1575)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262== Address 0xffeff621d is on thread 1's stack
- ==21262== in frame #2, created by mnl_nft_setelem_get (mnl.c:908)
- ==21262==
- ==21262== Warning: set address range perms: large range [0x8d05040, 0x28d05040) (undefined)
- ==21262== Warning: set address range perms: large range [0x8d05028, 0x28d05058) (noaccess)
- ==21262== Warning: set address range perms: large range [0x5a04d048, 0x7a04d048) (undefined)
- ==21262== Warning: set address range perms: large range [0x3a04c028, 0x5a04c060) (noaccess)
- ==21262== Warning: set address range perms: large range [0x8d05040, 0x28d05040) (undefined)
- ==21262== Warning: set address range perms: large range [0x3a04c048, 0x5a04c048) (undefined)
- utils.c:38: Memory allocation failure
- ==21262==
- ==21262== HEAP SUMMARY:
- ==21262== in use at exit: 1,626,675,132 bytes in 147,492 blocks
- ==21262== total heap usage: 262,359 allocs, 114,867 frees, 2,712,744,636 bytes allocated
- ==21262==
- ==21262== 0 bytes in 1 blocks are definitely lost in loss record 1 of 51
- ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
- ==21262== by 0x504B049: nftnl_set_set_data (set.c:174)
- ==21262== by 0x504B9F5: nft_set_nlmsg_parse (set.c:518)
- ==21262== by 0x4205BA: set_cb (mnl.c:753)
- ==21262== by 0x4E37377: mnl_cb_run (in /lib/x86_64-linux-gnu/libmnl.so.0.1.0)
- ==21262== by 0x420213: nft_mnl_recv (mnl.c:56)
- ==21262== by 0x420213: nft_mnl_talk (mnl.c:83)
- ==21262== by 0x4217BC: mnl_nft_set_dump (mnl.c:788)
- ==21262== by 0x417A7B: netlink_list_sets (netlink.c:1268)
- ==21262== by 0x407E37: cache_init_objects (rule.c:76)
- ==21262== by 0x407E37: cache_init (rule.c:130)
- ==21262== by 0x407E37: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262==
- ==21262== 8 bytes in 1 blocks are definitely lost in loss record 12 of 51
- ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
- ==21262== by 0x41FA28: xmalloc (utils.c:36)
- ==21262== by 0x54CB047: __gmpz_init (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
- ==21262== by 0x41EA51: interval_map_decompose (segtree.c:617)
- ==21262== by 0x417E0B: netlink_get_setelems (netlink.c:1591)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262==
- ==21262== 16 bytes in 1 blocks are definitely lost in loss record 17 of 51
- ==21262== at 0x4C2AF2E: realloc (vg_replace_malloc.c:692)
- ==21262== by 0x41FA58: xrealloc (utils.c:44)
- ==21262== by 0x54D1B39: __gmpz_realloc (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
- ==21262== by 0x54D37B0: __gmpz_sub (in /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0)
- ==21262== by 0x41EC5C: interval_map_decompose (segtree.c:667)
- ==21262== by 0x417E0B: netlink_get_setelems (netlink.c:1591)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262==
- ==21262== 136 bytes in 1 blocks are possibly lost in loss record 32 of 51
- ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
- ==21262== by 0x41FA8D: xmalloc (utils.c:36)
- ==21262== by 0x41FA8D: xzalloc (utils.c:54)
- ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
- ==21262== by 0x40CB68: set_elem_expr_alloc (expression.c:942)
- ==21262== by 0x415A75: netlink_delinearize_setelem (netlink.c:1504)
- ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
- ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262==
- ==21262== 136 bytes in 1 blocks are possibly lost in loss record 33 of 51
- ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
- ==21262== by 0x41FA8D: xmalloc (utils.c:36)
- ==21262== by 0x41FA8D: xzalloc (utils.c:54)
- ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
- ==21262== by 0x40CACF: mapping_expr_alloc (expression.c:806)
- ==21262== by 0x415B99: netlink_delinearize_setelem (netlink.c:1545)
- ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
- ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262==
- ==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
- ==21262== at 0x4C28C20: malloc (vg_replace_malloc.c:296)
- ==21262== by 0x41FA8D: xmalloc (utils.c:36)
- ==21262== by 0x41FA8D: xzalloc (utils.c:54)
- ==21262== by 0x40BDE0: expr_alloc (expression.c:33)
- ==21262== by 0x40CACF: mapping_expr_alloc (expression.c:806)
- ==21262== by 0x415B99: netlink_delinearize_setelem (netlink.c:1545)
- ==21262== by 0x504D930: nft_set_elem_foreach (set_elem.c:727)
- ==21262== by 0x417DD4: netlink_get_setelems (netlink.c:1586)
- ==21262== by 0x407E9C: cache_init_objects (rule.c:84)
- ==21262== by 0x407E9C: cache_init (rule.c:130)
- ==21262== by 0x407E9C: cache_update (rule.c:147)
- ==21262== by 0x41147A: cmd_evaluate_add (evaluate.c:2738)
- ==21262== by 0x41147A: cmd_evaluate (evaluate.c:3044)
- ==21262== by 0x42FEDE: nft_parse (parser_bison.y:626)
- ==21262== by 0x406A2C: nft_run (main.c:230)
- ==21262== by 0x406635: main (main.c:361)
- ==21262==
- ==21262== LEAK SUMMARY:
- ==21262== definitely lost: 2,227,976 bytes in 16,385 blocks
- ==21262== indirectly lost: 2,227,952 bytes in 16,382 blocks
- ==21262== possibly lost: 272 bytes in 2 blocks
- ==21262== still reachable: 1,622,218,932 bytes in 114,723 blocks
- ==21262== suppressed: 0 bytes in 0 blocks
- ==21262== Reachable blocks (those to which a pointer was found) are not shown.
- ==21262== To see them, rerun with: --leak-check=full --show-leak-kinds=all
- ==21262==
- ==21262== For counts of detected and suppressed errors, rerun with: -v
- ==21262== Use --track-origins=yes to see where uninitialised values come from
- ==21262== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment