Displaying 2 results from an estimated 2 matches for "_dl_allocate_tls".
2018 Dec 02
0
[PATCH nbdkit 2/4] valgrind: Add --show-leak-kinds=all and comprehensive list of suppressions.
...RACT, STRICT LIABILITY,
+# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+
+# Allow thread-local storage from pthread_create to leak.
+{
+ glibc_1
+ Memcheck:Leak
+ fun:calloc
+ ...
+ fun:_dl_allocate_tls
+}
+
+# Suppress leaks from dlopen. When running under valgrind we
+# deliberately don't run dlclose because otherwise valgrind cannot
+# print symbols. So it's expected that dlopen will leak.
+{
+ glibc_2
+ Memcheck:Leak
+ ...
+ obj:/usr/lib*/libdl-*
+}
+
+# bindtextdomain leaks.
+{...
2018 Dec 02
10
[PATCH nbdkit 0/4] Multiple valgrind improvements and possible security fix.
I worked out why valgrind wasn't being applied to nbdkit when run by
many of the tests (patches 1-2). Unfortunately I'm not able to make
it actually fail tests when valgrind fails. Although the situation is
marginally improved in that you can now manually examine the *.log
files and find valgrind failures that way. Also adds valgrinding of
the Python plugin (patch 3).
Along the way I