[ovs-dev] [bug] ovn: make check-valgrind issues

Ramu Ramamurthy ramu.ramamurthy at gmail.com
Fri Aug 19 00:18:05 UTC 2016


The following are among many reported by
"make check-valgrind" on the ovn tests. The
ones in pinctrl.c and binding.c seem real.

----

2246/valgrind.28645-==28647== 1,496 bytes in 22 blocks are definitely
lost in loss record 175 of 179
2246/valgrind.28645-==28647==    at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
2246/valgrind.28645-==28647==    by 0x4C2BACB: realloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
2246/valgrind.28645-==28647==    by 0x48E407: xrealloc (util.c:123)
2246/valgrind.28645-==28647==    by 0x4201A4: add_ipv4_netaddr.isra.0
(ovn-util.c:28)
2246/valgrind.28645-==28647==    by 0x420535: extract_lsp_addresses
(ovn-util.c:103)
2246/valgrind.28645-==28647==    by 0x4119EB:
get_nat_addresses_and_keys (pinctrl.c:1223)
2246/valgrind.28645-==28647==    by 0x4119EB: send_garp_run (pinctrl.c:1260)
2246/valgrind.28645-==28647==    by 0x4119EB: pinctrl_run (pinctrl.c:787)
2246/valgrind.28645:==28647==    by 0x407ABE: main (ovn-controller.c:451)

2258/valgrind.29417-==29419== 195 (96 direct, 99 indirect) bytes in 3
blocks are definitely lost in loss record 163 of 173
2258/valgrind.29417-==29419==    at 0x4C29BFD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
2258/valgrind.29417-==29419==    by 0x48E1E7: xmalloc (util.c:112)
2258/valgrind.29417-==29419==    by 0x435044: resize (hmap.c:100)
2258/valgrind.29417-==29419==    by 0x487F2D: hmap_insert_at (hmap.h:277)
2258/valgrind.29417-==29419==    by 0x487F2D: sset_add__ (sset.c:53)
2258/valgrind.29417-==29419==    by 0x487FE7: sset_clone (sset.c:82)
2258/valgrind.29417-==29419==    by 0x40933B: binding_run (binding.c:289)
2258/valgrind.29417:==29419==    by 0x4077B1: main (ovn-controller.c:438)


2258/valgrind.29417-==29419== 512 (384 direct, 128 indirect) bytes in
6 blocks are definitely lost in loss record 167 of 173
2258/valgrind.29417-==29419==    at 0x4C2B974: calloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
2258/valgrind.29417-==29419==    by 0x48E1B4: xcalloc (util.c:95)
2258/valgrind.29417-==29419==    by 0x4093D1: binding_run (binding.c:298)
2258/valgrind.29417:==29419==    by 0x4077B1: main (ovn-controller.c:438)



More information about the dev mailing list