Skip to content

Instantly share code, notes, and snippets.

@sharewax
Created June 13, 2017 11:47
Show Gist options
  • Save sharewax/4fb83a37696e1e7979ad26a2d77e7a3f to your computer and use it in GitHub Desktop.
Save sharewax/4fb83a37696e1e7979ad26a2d77e7a3f to your computer and use it in GitHub Desktop.
~]# valgrind --vgdb=no --leak-check=full --track-origins=yes /usr/sbin/ladvd -f -t -a -z
==2107== Memcheck, a memory error detector
==2107== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==2107== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==2107== Command: /usr/sbin/ladvd -f -t -a -z
==2107==
ladvd 1.1.1 running
==2128== Warning: noted but unhandled ioctl 0x8983 with no size/direction hints.
==2128== This could cause spurious value errors to appear.
==2128== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==2107== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==2107== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==2107== by 0x56D3F4B: team_init_event_fd (libteam.c:891)
==2107== by 0x56D3F4B: team_init (libteam.c:660)
==2107== by 0x10DF93: parent_libteam (parent.c:456)
==2107== by 0x10EFFF: parent_req (parent.c:249)
==2107== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==2107== by 0x10DB9C: parent_init (parent.c:152)
==2107== by 0x10BE47: main (main.c:262)
==2107== Address 0xffefff4e8 is on thread 1's stack
==2107== in frame #1, created by team_init (libteam.c:560)
==2107== Uninitialised value was created by a stack allocation
==2107== at 0x10B640: ??? (in /usr/sbin/ladvd)
==2107==
==2107== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==2107== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==2107== by 0x56D3F76: team_init_event_fd (libteam.c:891)
==2107== by 0x56D3F76: team_init (libteam.c:660)
==2107== by 0x10DF93: parent_libteam (parent.c:456)
==2107== by 0x10EFFF: parent_req (parent.c:249)
==2107== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==2107== by 0x10DB9C: parent_init (parent.c:152)
==2107== by 0x10BE47: main (main.c:262)
==2107== Address 0xffefff4e8 is on thread 1's stack
==2107== in frame #1, created by team_init (libteam.c:560)
==2107== Uninitialised value was created by a stack allocation
==2107== at 0x10B640: ??? (in /usr/sbin/ladvd)
==2107==
==2128== Warning: noted but unhandled ioctl 0x89f0 with no size/direction hints.
==2128== This could cause spurious value errors to appear.
==2128== 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
^C==2128==
==2128== HEAP SUMMARY:
==2128== in use at exit: 7,816 bytes in 71 blocks
==2128== total heap usage: 2,805 allocs, 2,734 frees, 1,206,614 bytes allocated
==2128==
==2128== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 22
==2128== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==2128== by 0x118C25: compat_init_setproctitle (setproctitle.c:88)
==2128== by 0x10B9DE: main (main.c:80)
==2128==
==2128== LEAK SUMMARY:
==2128== definitely lost: 336 bytes in 1 blocks
==2128== indirectly lost: 3,756 bytes in 41 blocks
==2128== possibly lost: 0 bytes in 0 blocks
==2128== still reachable: 3,724 bytes in 29 blocks
==2128== suppressed: 0 bytes in 0 blocks
==2128== Reachable blocks (those to which a pointer was found) are not shown.
==2128== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2128==
==2128== For counts of detected and suppressed errors, rerun with: -v
==2128== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
unable to change CDP multicast on veth0a16b6e: No such device
unable to change EDP multicast on veth0a16b6e: No such device
unable to change FDP multicast on veth0a16b6e: No such device
unable to change NDP multicast on veth0a16b6e: No such device
unable to change CDP1 multicast on veth0a16b6e: No such device
unable to change CDP multicast on vethe9f538e: No such device
unable to change EDP multicast on vethe9f538e: No such device
unable to change FDP multicast on vethe9f538e: No such device
unable to change NDP multicast on vethe9f538e: No such device
unable to change CDP1 multicast on vethe9f538e: No such device
unable to change CDP multicast on vethc16e1d6: No such device
unable to change EDP multicast on vethc16e1d6: No such device
unable to change FDP multicast on vethc16e1d6: No such device
unable to change NDP multicast on vethc16e1d6: No such device
unable to change CDP1 multicast on vethc16e1d6: No such device
unable to change CDP multicast on vethb4a4fd4: No such device
unable to change EDP multicast on vethb4a4fd4: No such device
unable to change CDP1 multicast on vethc16e1d6: No such device
unable to change CDP multicast on vethb4a4fd4: No such device
unable to change EDP multicast on vethb4a4fd4: No such device
unable to change FDP multicast on vethb4a4fd4: No such device
unable to change NDP multicast on vethb4a4fd4: No such device
unable to change CDP1 multicast on vethb4a4fd4: No such device
unable to change CDP multicast on veth9ad27a8: No such device
unable to change EDP multicast on veth9ad27a8: No such device
unable to change FDP multicast on veth9ad27a8: No such device
unable to change NDP multicast on veth9ad27a8: No such device
unable to change CDP1 multicast on veth9ad27a8: No such device
quitting
==2107==
==2107== HEAP SUMMARY:
==2107== in use at exit: 1,533,120 bytes in 345 blocks
==2107== total heap usage: 15,703 allocs, 15,358 frees, 20,911,602 bytes allocated
==2107==
==2107== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 30
==2107== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==2107== by 0x118C25: compat_init_setproctitle (setproctitle.c:88)
==2107== by 0x10B9DE: main (main.c:80)
==2107==
==2107== 18,592 bytes in 83 blocks are definitely lost in loss record 28 of 30
==2107== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==2107== by 0x58E977A: nl_cb_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==2107== by 0x58ED3EE: nl_socket_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==2107== by 0x56D41C1: team_alloc (libteam.c:403)
==2107== by 0x10DF7B: parent_libteam (parent.c:450)
==2107== by 0x10EFFF: parent_req (parent.c:249)
==2107== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==2107== by 0x10DB9C: parent_init (parent.c:152)
==2107== by 0x10BE47: main (main.c:262)
==2107==
==2107== LEAK SUMMARY:
==2107== definitely lost: 18,928 bytes in 84 blocks
==2107== indirectly lost: 3,756 bytes in 41 blocks
==2107== possibly lost: 0 bytes in 0 blocks
==2107== still reachable: 1,510,436 bytes in 220 blocks
==2107== suppressed: 0 bytes in 0 blocks
==2107== Reachable blocks (those to which a pointer was found) are not shown.
==2107== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==2107==
==2107== For counts of detected and suppressed errors, rerun with: -v
==2107== ERROR SUMMARY: 168 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