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

valgrind issue in clang::ASTDeclReader::VisitFriendDecl()

    XMLWordPrintable

    Details

      Description

      $ valgrind --suppressions=$ROOTSYS/etc/valgrind-root.supp root.exe -l -b -q /home/axel/build/root/github/cmake-opt/tutorials/hsimple.C
      ==21141== Memcheck, a memory error detector
      ==21141== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
      ==21141== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
      ==21141== Command: root.exe -l -b -q /home/axel/build/root/github/cmake-opt/tutorials/hsimple.C
      ==21141==
      ==21141== Conditional jump or move depends on uninitialised value(s)
      ==21141==    at 0x83EE250: clang::ASTDeclReader::VisitFriendDecl(clang::FriendDecl*) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x83EECBC: clang::ASTDeclReader::Visit(clang::Decl*) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x83EF4F5: clang::ASTReader::ReadDeclRecord(unsigned int) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x83B3B54: clang::ASTReader::GetDecl(unsigned int) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x83BC2A7: clang::ASTReader::FindExternalLexicalDecls(clang::DeclContext const*, llvm::function_ref<bool (clang::Decl::Kind)>, llvm::SmallVectorImpl<clang::Decl*>&) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x89C70C6: clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x89C719E: clang::DeclContext::decls_begin() const (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x89AC603: (anonymous namespace)::FinalOverriderCollector::Collect(clang::CXXRecordDecl const*, bool, clang::CXXRecordDecl const*, clang::CXXFinalOverriderMap&) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x89ADB0D: clang::CXXRecordDecl::getFinalOverriders(clang::CXXFinalOverriderMap&) const (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x8AC3BE0: (anonymous namespace)::FinalOverriders::FinalOverriders(clang::CXXRecordDecl const*, clang::CharUnits, clang::CXXRecordDecl const*) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x8ACD2EB: (anonymous namespace)::ItaniumVTableBuilder::ItaniumVTableBuilder(clang::ItaniumVTableContext&, clang::CXXRecordDecl const*, clang::CharUnits, bool, clang::CXXRecordDecl const*) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==    by 0x8ACD687: clang::ItaniumVTableContext::computeVTableRelatedInformation(clang::CXXRecordDecl const*) (in /home/axel/build/root/github/cmake-opt/lib/libCling.so)
      ==21141==
      root [0]
      Processing /home/axel/build/root/github/cmake-opt/tutorials/hsimple.C...
      hsimple   : Real Time =   2.67 seconds Cpu Time =   2.67 seconds
      (TFile *) 0x19e9e740

      This exists since ages...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                axel Axel Naumann
                Reporter:
                axel Axel Naumann
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: