|
From: DAVID D. <dav...@gm...> - 2011-01-10 19:46:45
|
Hi,
I am having a problem suppressing problems I would like to ignore with
Valgrind 3.6.0. My command is:
valgrind --leak-check=full --error-limit=no
--suppressions=/path/to/file.supp --gen-suppressions=all
--log-file=/path/to/log/file.log /path/to/program/that/will/run
As you can see, Valgrind generates my suppressions and I have a parser that
creates my file.supp file.
Also, an example of my suppression file looks like
{
<insert a suppression name here>
Memcheck:Leak
fun:_vgrZU_libcZdsoZa_malloc
fun:FcConfigCreate
fun:_ZN19QApplicationPrivate9constructEP9_XDisplaymm
fun:_ZN12QApplicationC1ERiPPci
fun:main
}
{
<insert a suppression name here>
Memcheck:Leak
fun:_vgrZU_libcZdsoZa_calloc
fun:XkbUseExtension
obj:*
obj:*
obj:*
obj:*
}
It is thousands of lines of suppressions similar to this. When I use this
suppression file however though nothing is suppressed as confirmed by my
Leak Summary. Valgrind will then give me the exact same suppressions,
letter for letter in that same test.
Basically, Valgrind generates the same suppressions over and over but never
suppresses anything from my suppression files, which have exact identical
suppressions.
Can someone please help me? Not sure if I have a syntax problem, process
problem, or a problem in the tool itself.
Thank you
|