Skip to content

Instantly share code, notes, and snippets.

@sharewax
Created June 14, 2017 07:08
Show Gist options
  • Save sharewax/47f8ac1c3680a22986f6e616d683e2f2 to your computer and use it in GitHub Desktop.
Save sharewax/47f8ac1c3680a22986f6e616d683e2f2 to your computer and use it in GitHub Desktop.
~]# valgrind --vgdb=no --leak-check=full --track-origins=yes /usr/sbin/ladvd -f -a -z
==21894== Memcheck, a memory error detector
==21894== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==21894== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==21894== Command: /usr/sbin/ladvd -f -a -z
==21894==
ladvd 1.1.1 running
==21916== Warning: noted but unhandled ioctl 0x8983 with no size/direction hints.
==21916== This could cause spurious value errors to appear.
==21916== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==21894== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==21894== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==21894== by 0x56D3F4B: team_init_event_fd (libteam.c:891)
==21894== by 0x56D3F4B: team_init (libteam.c:660)
==21894== by 0x10DF93: parent_libteam (parent.c:456)
==21894== by 0x10EFFF: parent_req (parent.c:249)
==21894== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==21894== by 0x10DB9C: parent_init (parent.c:152)
==21894== by 0x10BE47: main (main.c:262)
==21894== Address 0xffefff4e8 is on thread 1's stack
==21894== in frame #1, created by team_init (libteam.c:560)
==21894== Uninitialised value was created by a stack allocation
==21894== at 0x10B640: ??? (in /usr/sbin/ladvd)
==21894==
==21894== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==21894== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==21894== by 0x56D3F76: team_init_event_fd (libteam.c:891)
==21894== by 0x56D3F76: team_init (libteam.c:660)
==21894== by 0x10DF93: parent_libteam (parent.c:456)
==21894== by 0x10EFFF: parent_req (parent.c:249)
==21894== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==21894== by 0x10DB9C: parent_init (parent.c:152)
==21894== by 0x10BE47: main (main.c:262)
==21894== Address 0xffefff4e8 is on thread 1's stack
==21894== in frame #1, created by team_init (libteam.c:560)
==21894== Uninitialised value was created by a stack allocation
==21894== at 0x10B640: ??? (in /usr/sbin/ladvd)
==21894==
==21916== Warning: noted but unhandled ioctl 0x89f0 with no size/direction hints.
==21916== This could cause spurious value errors to appear.
==21916== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
new peer ed-n5596up-be-1(FOX1819GD31) (CDP) on interface bond0
enabling CDP on interface bond0
new peer ed-n5596up-be-2 (LLDP) on interface enp7s0f0
enabling LLDP on interface enp7s0f0
new peer ed-n5596up-be-1 (LLDP) on interface bond0
enabling LLDP on interface bond0
new peer ed-n5596up-be-2(FOX1820GXLN) (CDP) on interface enp7s0f0
enabling CDP on interface enp7s0f0
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
unable to configure socket filter for vethafae0c4
opening raw socket failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
libteam: get_ifinfo_list: get_ifinfo_list: nl_recvmsgs failed
^C==21916==
==21916== HEAP SUMMARY:
==21916== in use at exit: 7,805 bytes in 70 blocks
==21916== total heap usage: 103,639 allocs, 103,569 frees, 45,535,213 bytes allocated
==21916==
==21916== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 22
==21916== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==21916== by 0x118C25: compat_init_setproctitle (setproctitle.c:88)
==21916== by 0x10B9DE: main (main.c:80)
==21916==
==21916== LEAK SUMMARY:
==21916== definitely lost: 336 bytes in 1 blocks
==21916== indirectly lost: 3,756 bytes in 41 blocks
==21916== possibly lost: 0 bytes in 0 blocks
==21916== still reachable: 3,713 bytes in 28 blocks
==21916== suppressed: 0 bytes in 0 blocks
==21916== Reachable blocks (those to which a pointer was found) are not shown.
==21916== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==21916==
==21916== For counts of detected and suppressed errors, rerun with: -v
==21916== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
unable to change CDP multicast on veth26ce459: No such device
unable to change EDP multicast on veth26ce459: No such device
unable to change FDP multicast on veth26ce459: No such device
unable to change NDP multicast on veth26ce459: No such device
unable to change CDP1 multicast on veth26ce459: No such device
...tons of
unable to change CDP1 multicast on veth0e253fc: No such device
unable to change CDP multicast on veth4a44144: No such device
unable to change EDP multicast on veth4a44144: No such device
unable to change FDP multicast on veth4a44144: No such device
unable to change NDP multicast on veth4a44144: No such device
unable to change CDP1 multicast on veth4a44144: No such device
quitting
==21894==
==21894== HEAP SUMMARY:
==21894== in use at exit: 2,243,797 bytes in 3,673 blocks
==21894== total heap usage: 595,386 allocs, 591,713 frees, 754,064,914 bytes allocated
==21894==
==21894== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 26 of 30
==21894== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==21894== by 0x118C25: compat_init_setproctitle (setproctitle.c:88)
==21894== by 0x10B9DE: main (main.c:80)
==21894==
==21894== 723,072 bytes in 3,228 blocks are definitely lost in loss record 29 of 30
==21894== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==21894== by 0x58E977A: nl_cb_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==21894== by 0x58ED3EE: nl_socket_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==21894== by 0x56D41C1: team_alloc (libteam.c:403)
==21894== by 0x10DF7B: parent_libteam (parent.c:450)
==21894== by 0x10EFFF: parent_req (parent.c:249)
==21894== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==21894== by 0x10DB9C: parent_init (parent.c:152)
==21894== by 0x10BE47: main (main.c:262)
==21894==
==21894== LEAK SUMMARY:
==21894== definitely lost: 723,408 bytes in 3,229 blocks
==21894== indirectly lost: 3,756 bytes in 41 blocks
==21894== possibly lost: 0 bytes in 0 blocks
==21894== still reachable: 1,516,633 bytes in 403 blocks
==21894== suppressed: 0 bytes in 0 blocks
==21894== Reachable blocks (those to which a pointer was found) are not shown.
==21894== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==21894==
==21894== For counts of detected and suppressed errors, rerun with: -v
==21894== ERROR SUMMARY: 6458 errors from 4 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment