Hi, Valgrind reports the error below on # make check-valgrind TESTSUITEFLAGS='1055' Testcase 1055: ofproto-dpif - Bridge IPFIX statistics check
I'm not sure if it's a false positive or not, it looks like the memory is allocated by bridge level IPFIX test but error is triggerred from flow stat request (handle_ipfix_flow_stats_request) valgrind --version valgrind-3.11.0 ==56149== Syscall param socketcall.sendto(msg) points to uninitialised byte(s) ==56149== at 0x571102F: send (in /usr/lib64/libpthread-2.22.so) ==56149== by 0x52DAE3: fd_send (stream-fd.c:128) ==56149== by 0x4E5526: stream_send (stream.c:372) ==56149== by 0x52E63B: vconn_stream_send (vconn-stream.c:202) ==56149== by 0x4EFE9F: do_send (vconn.c:685) ==56149== by 0x4D5EC0: try_send (rconn.c:1130) ==56149== by 0x4D5FD8: rconn_send__ (rconn.c:765) ==56149== by 0x4D6004: rconn_send (rconn.c:794) ==56149== by 0x444655: ofconn_send (connmgr.c:1550) ==56149== by 0x444655: ofconn_send_reply (connmgr.c:1072) ==56149== by 0x444655: ofconn_send_replies (connmgr.c:1083) ==56149== by 0x4200F5: handle_ipfix_flow_stats_request (ofproto.c:916) ==56149== by 0x4200F5: handle_openflow__ (ofproto.c:7425) ==56149== by 0x4200F5: handle_openflow (ofproto.c:7475) ==56149== by 0x445BA2: ofconn_run (connmgr.c:1376) ==56149== by 0x445BA2: connmgr_run (connmgr.c:320) ==56149== by 0x41A4A5: ofproto_run (ofproto.c:1820) ==56149== by 0x409FD3: bridge_run__ (bridge.c:2893) ==56149== by 0x40F168: bridge_run (bridge.c:2950) ==56149== by 0x4062C4: main (ovs-vswitchd.c:112) ==56149== Address 0x9c8bf5c is 108 bytes inside a block of size 1,112 alloc'd ==56149== at 0x4C28C50: malloc (vg_replace_malloc.c:298) ==56149== by 0x4C2AC1C: realloc (vg_replace_malloc.c:785) ==56149== by 0x4ED314: xrealloc (util.c:123) ==56149== by 0x4BF6B7: ofpbuf_resize__ (ofpbuf.c:244) ==56149== by 0x4A249F: ofpraw_put__ (ofp-msgs.c:726) ==56149== by 0x4A2992: ofpraw_alloc_xid (ofp-msgs.c:594) ==56149== by 0x4A2992: ofpraw_alloc_reply (ofp-msgs.c:608) ==56149== by 0x4A2B54: ofpraw_alloc_stats_reply (ofp-msgs.c:644) ==56149== by 0x4A2E07: ofpmp_init (ofp-msgs.c:930) ==56149== by 0x42011A: handle_ipfix_bridge_stats_request (ofproto.c:892) ==56149== by 0x42011A: handle_openflow__ (ofproto.c:7422) ==56149== by 0x42011A: handle_openflow (ofproto.c:7475) ==56149== by 0x445BA2: ofconn_run (connmgr.c:1376) ==56149== by 0x445BA2: connmgr_run (connmgr.c:320) ==56149== by 0x41A4A5: ofproto_run (ofproto.c:1820) ==56149== by 0x409FD3: bridge_run__ (bridge.c:2893) ==56149== by 0x40F168: bridge_run (bridge.c:2950) ==56149== by 0x4062C4: main (ovs-vswitchd.c:112) ==56149== Uninitialised value was created by a heap allocation ==56149== at 0x4C28C50: malloc (vg_replace_malloc.c:298) ==56149== by 0x4C2AC1C: realloc (vg_replace_malloc.c:785) ==56149== by 0x4ED314: xrealloc (util.c:123) ==56149== by 0x4BF6B7: ofpbuf_resize__ (ofpbuf.c:244) ==56149== by 0x4A249F: ofpraw_put__ (ofp-msgs.c:726) ==56149== by 0x4A2992: ofpraw_alloc_xid (ofp-msgs.c:594) ==56149== by 0x4A2992: ofpraw_alloc_reply (ofp-msgs.c:608) ==56149== by 0x4A2B54: ofpraw_alloc_stats_reply (ofp-msgs.c:644) ==56149== by 0x4A2E07: ofpmp_init (ofp-msgs.c:930) ==56149== by 0x42011A: handle_ipfix_bridge_stats_request (ofproto.c:892) ==56149== by 0x42011A: handle_openflow__ (ofproto.c:7422) ==56149== by 0x42011A: handle_openflow (ofproto.c:7475) ==56149== by 0x445BA2: ofconn_run (connmgr.c:1376) ==56149== by 0x445BA2: connmgr_run (connmgr.c:320) ==56149== by 0x41A4A5: ofproto_run (ofproto.c:1820) ==56149== by 0x409FD3: bridge_run__ (bridge.c:2893) ==56149== by 0x40F168: bridge_run (bridge.c:2950) ==56149== by 0x4062C4: main (ovs-vswitchd.c:112) Regards, William _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev