Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] ship valgrind suppressions?
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-02-23 13:32:25


Sure, let's ship it in the tarball.

On Feb 23, 2012, at 1:28 PM, Brice Goglin wrote:

> Hello,
>
> "make check" doesn't report any single memory leak under valgrind
> anymore in trunk... except those from external libs such as libpci and
> libxml. I created the attached suppressions file to hide them when
> valgrind'ing hwloc programs. Just pass --suppressions=hwloc.supp to
> valgrind.
>
> For the record, the reason we need this is:
> * libpci and libxml use libz, which initializes global state without
> ever freeing it.
> * libxml only frees it global state in xmlCleanupParser(), but we
> stopped calling it in hwloc because the program may still be using
> libxml when hwloc stops using it.
>
> Should we ship this suppressions file in the tarball? At least having it
> somewhere online may be a good idea?
>
> Brice
>
> <hwloc.supp>_______________________________________________
> hwloc-devel mailing list
> hwloc-devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/