[Interest] valgrind

Jonathan Greig redteam316 at gmail.com
Mon Jul 8 05:29:27 CEST 2013


Alex,
Supposedly QtCreator uses one internally or something but I haven't been
able to locate it. I asked about this awhile back and thats the general
consensus. I'm pretty sure that what you are looking for is what I have
here: http://sourceforge.net/p/embroidermodder/code/178/tree/valgrind-supp/ The
valgrind-qt.supp file was made for Qt4 so if you are using Qt5, you will
probably need to generate your own suppression file. My file doesn't cover
all parts of Qt so you still may have to tweak it, but it works for what I
need :) The valgrind-misc.supp contains general suppressions for odds and
ends stuff. These two supression files were generated using the script run
on Qt4 examples and I only included supressions that am positive has
nothing to do with the example code. If you need to add more to the
supressions files, just be careful, because there is at least one Qt4
example that legitimately had a memory leak in the example code
itself(can't remember which one).

Hope that helps.


On Sun, Jul 7, 2013 at 8:36 PM, Alex Strickland <sscc at mweb.co.za> wrote:

> On 2013/07/07 09:53 PM, Thiago Macieira wrote:
> >> Are there any "official" valgrind suppression files kept anywhere?
> >
> > No. No suppression is known to be necessary for memcheck.
>
> Oh, will you tell my computer? Seriously, can you explain a bit more? I
> have googled as hard as I can and I don't know what you mean.
>
> Thanks
> --
> Regards
> Alex
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130708/3ff305a7/attachment.html>


More information about the Interest mailing list