[ovs-dev] [PATCH] tests: Add track-origins flag to valgrind.

Ben Pfaff blp at ovn.org
Thu Sep 5 15:18:18 UTC 2019


On Tue, Sep 03, 2019 at 06:07:26PM +0300, Ilya Maximets wrote:
> Useful for tracking where the uninitialized memory came from.
> Report example:
> 
>   Thread 13 revalidator11:
>   Conditional jump or move depends on uninitialised value(s)
>      at 0x4C35D96: __memcmp_sse4_1 (in vgpreload_memcheck.so)
>      by 0x9D4404: ofpbuf_equal (ofpbuf.h:273)
>      by 0x9D4404: revalidate_ukey__ (ofproto-dpif-upcall.c:2219)
>      <...>
>      by 0x6AF488E: clone (clone.S:95)
>    Uninitialised value was created by a stack allocation
>      at 0x9D4450: compose_slow_path (ofproto-dpif-upcall.c:1062)
> 
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>

Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list