[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 295089] New: can not annotate source for both helgrind and drd
From:       rich prohaska <prohaska7 () gmail ! com>
Date:       2012-02-29 19:48:28
Message-ID: bug-295089-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=295089

           Summary: can not annotate source for both helgrind and drd
           Product: valgrind
           Version: 3.7.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: jseward@acm.org
        ReportedBy: prohaska7@gmail.com


Version:           3.7.0 (using Devel) 
OS:                Linux

helgrind.h and drd.h both define ANNOTATE_BENIGN_RACE.  this makes it difficult
to tell both of these tools to ignore data races.  why can't the #defines be
unique?

Reproducible: Always

Steps to Reproduce:
#include <valgrind/helgrind.h> #include <valgrind/drd.h>, ignore some variables
with DRD_IGNORE_VAR and VALGRIND_HG_DISABLE_CHECKING, and then run helgrind
and/or drd on the resulting binary.

Actual Results:  
valgrind --quiet --tool=helgrind --error-exitcode=1
--suppressions=helgrind.suppressions ./test_groupcommit_count.tdb -q -n 1 -p
hgrind 
==32179== ---Thread-Announcement------------------------------------------
==32179== 
==32179== Thread #1 is the program's root thread
==32179== 
==32179== ----------------------------------------------------------------
==32179== 
==32179== Thread #1: Unimplemented client request macro
"ANNOTATE_BENIGN_RACE_SIZED"
==32179==    at 0x4C4B5A3: toku_txn_status_drd_ignore (txn.c:793)


Expected Results:  
helgrind and drd should both work.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic