[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#918960: libgl1-mesa-dri: lacks valgrind support



tags 918960 + patch
thanks

On Fri, Jan 11, 2019 at 01:29:35AM +0100, Momchil wrote:
> I would like you to compile the library with valgrind support turned on or
> create a separate package where the feature is turned on. This allows one to
> use valgrind to check for memory leaks in applications. In case the feature is
> not compiled, valgrind reports tons of memory problems with applications using
> OpenGL for example.

Note that this is utterly trivial; just add a Build-Dependency on valgrind,
and the build system will take care of the rest. My understanding is that
this has zero impact on runtime performance; it just adds a few very short
instruction sequences after each DRM allocation, only picked up when running
under Valgrind.

I tried rebuilding with the b-d in question, and indeed, the torrent of
Valgrind errors went away almost entirely.

> Please also refer to my other report Bug#918895: libdrm2:
> lacks valgrind support.

It looks as if libdrm2 is already built with Valgrind support.

/* Steinar */
-- 
Homepage: https://www.sesse.net/


Reply to: