Skip to content

Instantly share code, notes, and snippets.

@sharewax
Created June 13, 2017 10:51
Show Gist options
  • Save sharewax/4b5d87c216be81847d74fb8ace708234 to your computer and use it in GitHub Desktop.
Save sharewax/4b5d87c216be81847d74fb8ace708234 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
==17712== Memcheck, a memory error detector
==17712== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==17712== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==17712== Command: /usr/sbin/ladvd -f -t -a -z
==17712==
ladvd 1.1.1 running
==17743== Warning: noted but unhandled ioctl 0x8983 with no size/direction hints.
==17743== This could cause spurious value errors to appear.
==17743== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==17712== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==17712== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==17712== by 0x56D3F4B: team_init_event_fd (libteam.c:891)
==17712== by 0x56D3F4B: team_init (libteam.c:660)
==17712== by 0x10DF93: ??? (in /usr/sbin/ladvd)
==17712== by 0x10EFFF: ??? (in /usr/sbin/ladvd)
==17712== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==17712== by 0x10DB9C: ??? (in /usr/sbin/ladvd)
==17712== by 0x10BE47: ??? (in /usr/sbin/ladvd)
==17712== by 0x5B19B34: (below main) (in /usr/lib64/libc-2.17.so)
==17712== Address 0xffefff4e8 is on thread 1's stack
==17712== in frame #1, created by team_init (libteam.c:560)
==17712== Uninitialised value was created by a stack allocation
==17712== at 0x10B640: ??? (in /usr/sbin/ladvd)
==17712==
==17712== Syscall param epoll_ctl(event) points to uninitialised byte(s)
==17712== at 0x5BEFCBA: epoll_ctl (in /usr/lib64/libc-2.17.so)
==17712== by 0x56D3F76: team_init_event_fd (libteam.c:891)
==17712== by 0x56D3F76: team_init (libteam.c:660)
==17712== by 0x10DF93: ??? (in /usr/sbin/ladvd)
==17712== by 0x10EFFF: ??? (in /usr/sbin/ladvd)
==17712== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==17712== by 0x10DB9C: ??? (in /usr/sbin/ladvd)
==17712== by 0x10BE47: ??? (in /usr/sbin/ladvd)
==17712== by 0x5B19B34: (below main) (in /usr/lib64/libc-2.17.so)
==17712== Address 0xffefff4e8 is on thread 1's stack
==17712== in frame #1, created by team_init (libteam.c:560)
==17712== Uninitialised value was created by a stack allocation
==17712== at 0x10B640: ??? (in /usr/sbin/ladvd)
==17712==
==17743== Warning: noted but unhandled ioctl 0x89f0 with no size/direction hints.
==17743== This could cause spurious value errors to appear.
==17743== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
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
new peer ed-n5596up-be-1(FOX1819GD31) (CDP) on interface bond0
enabling CDP on interface bond0
^C==17743==
==17743== HEAP SUMMARY:
==17743== in use at exit: 7,816 bytes in 71 blocks
==17743== total heap usage: 2,091 allocs, 2,020 frees, 905,212 bytes allocated
==17743==
==17743== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 22
==17743== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==17743== by 0x118C25: ??? (in /usr/sbin/ladvd)
==17743== by 0x10B9DE: ??? (in /usr/sbin/ladvd)
==17743== by 0x5B19B34: (below main) (in /usr/lib64/libc-2.17.so)
==17743==
==17743== LEAK SUMMARY:
==17743== definitely lost: 336 bytes in 1 blocks
==17743== indirectly lost: 3,756 bytes in 41 blocks
==17743== possibly lost: 0 bytes in 0 blocks
==17743== still reachable: 3,724 bytes in 29 blocks
==17743== suppressed: 0 bytes in 0 blocks
==17743== Reachable blocks (those to which a pointer was found) are not shown.
==17743== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17743==
==17743== For counts of detected and suppressed errors, rerun with: -v
==17743== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
unable to change CDP multicast on veth7b2ea8a: No such device
unable to change EDP multicast on veth7b2ea8a: No such device
unable to change FDP multicast on veth7b2ea8a: No such device
unable to change NDP multicast on veth7b2ea8a: No such device
unable to change CDP1 multicast on veth7b2ea8a: No such device
unable to change CDP multicast on vethf8c50c8: No such device
unable to change EDP multicast on vethf8c50c8: No such device
unable to change FDP multicast on vethf8c50c8: No such device
unable to change NDP multicast on vethf8c50c8: No such device
unable to change CDP1 multicast on vethf8c50c8: No such device
unable to change CDP multicast on veth931f6ab: No such device
unable to change CDP1 multicast on veth931f6ab: No such device
unable to change CDP multicast on vethb3347c8: No such device
unable to change EDP multicast on vethb3347c8: No such device
unable to change FDP multicast on vethb3347c8: No such device
unable to change NDP multicast on vethb3347c8: No such device
unable to change CDP1 multicast on vethb3347c8: No such device
quitting
==17712==
==17712== HEAP SUMMARY:
==17712== in use at exit: 1,528,392 bytes in 323 blocks
==17712== total heap usage: 11,860 allocs, 11,537 frees, 16,032,070 bytes allocated
==17712==
==17712== 4,092 (336 direct, 3,756 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 30
==17712== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==17712== by 0x118C25: ??? (in /usr/sbin/ladvd)
==17712== by 0x10B9DE: ??? (in /usr/sbin/ladvd)
==17712== by 0x5B19B34: (below main) (in /usr/lib64/libc-2.17.so)
==17712==
==17712== 13,888 bytes in 62 blocks are definitely lost in loss record 28 of 30
==17712== at 0x4C29975: calloc (vg_replace_malloc.c:711)
==17712== by 0x58E977A: nl_cb_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==17712== by 0x58ED3EE: nl_socket_alloc (in /usr/lib64/libnl-3.so.200.16.1)
==17712== by 0x56D41C1: team_alloc (libteam.c:403)
==17712== by 0x10DF7B: ??? (in /usr/sbin/ladvd)
==17712== by 0x10EFFF: ??? (in /usr/sbin/ladvd)
==17712== by 0x4E43A13: event_base_loop (in /usr/lib64/libevent-2.0.so.5.1.9)
==17712== by 0x10DB9C: ??? (in /usr/sbin/ladvd)
==17712== by 0x10BE47: ??? (in /usr/sbin/ladvd)
==17712== by 0x5B19B34: (below main) (in /usr/lib64/libc-2.17.so)
==17712==
==17712== LEAK SUMMARY:
==17712== definitely lost: 14,224 bytes in 63 blocks
==17712== indirectly lost: 3,756 bytes in 41 blocks
==17712== possibly lost: 0 bytes in 0 blocks
==17712== still reachable: 1,510,412 bytes in 219 blocks
==17712== suppressed: 0 bytes in 0 blocks
==17712== Reachable blocks (those to which a pointer was found) are not shown.
==17712== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17712==
==17712== For counts of detected and suppressed errors, rerun with: -v
==17712== ERROR SUMMARY: 126 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