|
From: Tom Hu <to...@ci...> - 2004-08-19 22:07:38
|
This is very simple error. The error looks like it does not like my file
format:
x> valgrind --tool=memcheck --suppressions=/users/tomhu/log5.supp
./my_program
==4293== Memcheck, a memory error detector for x86-linux.
==4293== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
==4293== Using valgrind-2.1.1, a program supervision framework for
x86-linux.
==4293== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
==4293== FATAL: in suppressions file: `/users/tomhu/log5.supp': syntax
error on: {
==4293== exiting now.
My syppression file /users/tomhu/log5.supp:
#
#
{
__memcpyy
Memcheck:Cond
fun:memcmp
fun:ikev2_sa_compare
fun:avl_search
fun:wavl_search
}
{
__memcpyy2
Memcheck:Cond
fun:ikev2_sa_compare
fun:avl_search
fun:wavl_search
fun:ikev2_find_sa
}
Thanks
Tom Hu
|
|
From: Dimitri Papadopoulos-O. <pap...@sh...> - 2004-08-20 08:05:18
|
Hi,
> This is very simple error. The error looks like it does not like my file
> format:
>
> x> valgrind --tool=memcheck --suppressions=/users/tomhu/log5.supp
> ./my_program
> ==4293== Memcheck, a memory error detector for x86-linux.
> ==4293== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward.
> ==4293== Using valgrind-2.1.1, a program supervision framework for
> x86-linux.
> ==4293== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward.
> ==4293== FATAL: in suppressions file: `/users/tomhu/log5.supp': syntax
> error on: {
> ==4293== exiting now.
I can't repdroduce that, at least not with Valgrind 2.1.2. Maybe there
are hidden characters in your suppresion file, such as DOS line feeds?
Dimitri
|