ValgrindBadSuppressions has been created by Alan Conway (Mar 28, 2007).

Content:

(Observed with valgrind 3.2.1)
Valgrind sometimes produces supressions that don't work, like this:

Unknown macro: { <insert a suppression name here> Memcheck}

The identifying characteristic is that they begin with fun:_vg<something>

http://article.gmane.org/gmane.comp.debugging.valgrind/5939 explains what these symbols are.

The workaround is to replace fun:vg*_lib*<something> with fun:<something>, where something
should be a valid C or C++ mangled symbol.

The following test program demonstrates the problem

#include <stdlib.h>
int main(int argc,char**argv)

Unknown macro: { char*p = malloc(10); free(p); free(p); }

Reply via email to