I have an application that uses GTK+ and Glade; running Valgrind with the memcheck tool outputs about 2,000 errors. Does anyone have a good suppression file they can share for GTK applications?
I tried these, but each still leaves me with ~900 errors:
A copy of the code I'm working with can be found here. Do make run
to build the GUI (there is nothing but the GUI in this copy of the code).
Try this, worked for me: http://lug.rose-hulman.edu/code/projects/grits/repository/revisions/master/raw/src/gtk.suppression
I've uploaded my modified version here: paste.org/47748
Here's my valgrind command line, but I think setting G_SLICE and G_DEBUG doesn't help as much as editing the suppressions file:
valgrind --tool=memcheck --leak-check=full --num-callers=15 --suppressions=gtk.supp --log-file=vgdump ./runner
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With