From: Nicholas N. <nj...@ca...> - 2003-06-10 12:40:27
|
On Tue, 10 Jun 2003, Leonard mckinley wrote: > Just ran CVS head on an app I have and while the valgrind output is > only 926 lines long (133 flagged issues), valgrind says: > > More than 30000 total errors detected. I'm not reporting any more. > > In the coregrind_core.html docs, I notice: > > Note that the 300/30000 limits apply after suppressed errors are > removed. > > 133 vs. 30000. Is this a bug? When the same bug occurs more than once in the same place, it gets recorded each time, but only reported once. The limit is 300 distinct (ie. reported) bugs, or 30000 non-distinct (ie. recorded) bugs, whichever comes first. > Note that this is with vg_replace_malloc.c rolled back to rev 1.6 > to work around the new/delete matching issue. However I was getting > the 30000 limit before with no where near that many errors in the file. > > I'll try running with --error-limit=no for now. Do you get that many bugs on just one program, or across a range? If it's the former, you've probably just a got a really buggy program. If it's the latter, it's probably a problem with Valgrind itself. N |