|
From: Rakesh S. <rak...@gm...> - 2007-12-27 00:18:59
|
Hi - I am trying to helgrind on my current application and it reports a lot of errors due to race conditions. My application uses a library and helgrind reports some errors in the library. Possible data race during write of size 4 at 0x8185100 at :: <library code> While the correct way is to work with the library developers on the issue - I was curious if there is a way we can specify a filter to suppress helgrind error calls on certain functions to reduce the clutter and to identify unique race condition errors. Thanks for the help. |
|
From: Konstantin S. <kon...@gm...> - 2007-12-27 14:35:08
|
Is this what you need? http://www.valgrind.org/docs/manual/manual-core.html#manual-core.suppress On Dec 27, 2007 3:19 AM, Rakesh Sinha <rak...@gm...> wrote: > Hi - > I am trying to helgrind on my current application and it reports a lot > of errors due to race conditions. > My application uses a library and helgrind reports some errors in the > library. > > Possible data race during write of size 4 at 0x8185100 > at :: <library code> > > While the correct way is to work with the library developers on the > issue - I was curious if there is a way we can specify a filter to suppress > helgrind error calls on certain functions to reduce the clutter and to > identify unique race condition errors. > > Thanks for the help. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > |
|
From: Rakesh S. <rak...@gm...> - 2007-12-27 18:29:31
|
Thanks Konstantin. This is what I was looking for. --suppressions=/path/to/file.supp, option to valgrind with a custom suppressions file - helped me to narrow down the errors. On Dec 27, 2007 6:35 AM, Konstantin Serebryany < kon...@gm...> wrote: > Is this what you need? > http://www.valgrind.org/docs/manual/manual-core.html#manual-core.suppress > > On Dec 27, 2007 3:19 AM, Rakesh Sinha < rak...@gm...> wrote: > > > Hi - > > I am trying to helgrind on my current application and it reports a > > lot of errors due to race conditions. > > My application uses a library and helgrind reports some errors in the > > library. > > > > Possible data race during write of size 4 at 0x8185100 > > at :: <library code> > > > > While the correct way is to work with the library developers on the > > issue - I was curious if there is a way we can specify a filter to suppress > > helgrind error calls on certain functions to reduce the clutter and to > > identify unique race condition errors. > > > > Thanks for the help. > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > > |