Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9812

Large amount of valgrind complaints

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • High
    • Resolution: Fixed
    • 6.16/00, 6.14/06
    • 6.18/00
    • Core Libraries
    • None

    Description

      Running valgrind on the latest ROOT version causes a lot of complaints about "Conditional jump or move depends on uninitialised value(s)" errors. As simple example to reproduce is to run

      valgrind --num-callers=30 --log-file=valgrind.txt --gen-suppressions=all \
        --error-limit=no --suppressions=$ROOTSYS/etc/valgrind-root.supp \
        --track-origins=yes -v \ 
       root.exe -l -q -e 'std::cout << "hello world\n";'
      

      This yields 183 errors from 46 contexts. See the attached valgrind.txt for the full output.

      My suspicion is that the TObject constructor now is inlined and thus the suppression in place stops working and any use of fBits of a stack allocated object will trigger this warning.

      Attachments

        Activity

          People

            pcanal Philippe Canal
            9784214ad6c464d2626b Martin Ritter
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: