Bug#638753: libhdf5-serial-1.8.7: threadsafe memory leaks
Control: tags -1 + moreinfo Hi, On Sun, 21 Aug 2011 17:35:26 +0200 Jerome BENOITwrote: > Package: libhdf5-serial-1.8.7 > Severity: wishlist > > Hello: > > Since a while I have noticed via valgrind some memory leaks let by the > function `H5Zfilter_avail': > the following Code reproduce the issue: > > --8><--- > // gcc -o test_H5Zfilter_avail test_H5Zfilter_avail.c -lhdf5 > // valgrind --leak-check=yes --leak-check=full --show-reachable=yes > ./test_H5Zfilter_avail > // > > #include > #include > > // http://wiki.hdfgroup.org > #ifndef H5Z_BZIP2 > #define H5Z_BZIP2 307 > #endif > > int main(int nargs, char *args[]) { > > fprintf(stderr, > "filter with identifier `%d' is %s registered\n", > H5Z_BZIP2, > (H5Zfilter_avail(H5Z_BZIP2))?"already":"not" > ); > > return (0); } > --><8- > > A closer look shows that the memory leakes are let by the threadsafe > machinery. When trying to reproduce this bug I only get 'still reachable' class memory leaks, with the very same small memory footprint no matter how many times H5Zfilter_avail was called. Is that what you experienced? I tend to consider 'still reachable' memory leaks not leaks. Especially when there're stable. Thanks, _g. signature.asc Description: OpenPGP digital signature ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#638753: libhdf5-serial-1.8.7: threadsafe memory leaks
forwarded 638753 https://jira.hdfgroup.uiuc.edu/browse/HELPDSK-121 thanks Le dimanche 21 août 2011 à 17:35 +0200, Jerome BENOIT a écrit : Since a while I have noticed via valgrind some memory leaks let by the function `H5Zfilter_avail': Forwarded to upstream even if the issue tracker seems to be private. Sylvestre ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Processed: Re: Bug#638753: libhdf5-serial-1.8.7: threadsafe memory leaks
Processing commands for cont...@bugs.debian.org: forwarded 638753 https://jira.hdfgroup.uiuc.edu/browse/HELPDSK-121 Bug #638753 [libhdf5-serial-1.8.7] libhdf5-serial-1.8.7: threadsafe memory leaks Set Bug forwarded-to-address to 'https://jira.hdfgroup.uiuc.edu/browse/HELPDSK-121'. thanks Stopping processing here. Please contact me if you need assistance. -- 638753: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638753 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#638753: libhdf5-serial-1.8.7: threadsafe memory leaks
Package: libhdf5-serial-1.8.7 Severity: wishlist Hello: Since a while I have noticed via valgrind some memory leaks let by the function `H5Zfilter_avail': the following Code reproduce the issue: --8--- // gcc -o test_H5Zfilter_avail test_H5Zfilter_avail.c -lhdf5 // valgrind --leak-check=yes --leak-check=full --show-reachable=yes ./test_H5Zfilter_avail // #include stdio.h #include hdf5.h // http://wiki.hdfgroup.org #ifndef H5Z_BZIP2 #define H5Z_BZIP2 307 #endif int main(int nargs, char *args[]) { fprintf(stderr, filter with identifier `%d' is %s registered\n, H5Z_BZIP2, (H5Zfilter_avail(H5Z_BZIP2))?already:not ); return (0); } --8- A closer look shows that the memory leakes are let by the threadsafe machinery. hth, Jerome -- System Information: Debian Release: Wheezy* APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-amd64-mbp62 (SMP w/4 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel