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

clang assertion in debug builds with Python

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.20/00
    • Component/s: None
    • Labels:
      None
    • Environment:

      LHCb nightly builds against ROOT master

      Description

      Some of our tests fail because of this clang assertion:

      python: /mnt/build/jenkins/workspace/build/projects/ROOT-HEAD/src/ROOT/HEAD/interpreter/llvm/src/tools/clang/lib/CodeGen/CGExpr.cpp:2312: clang::CodeGen::LValue clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(const clang::DeclRefExpr*): Assertion `(ND->isUsed(false) || !isa<VarDecl>(ND) || !E->getLocation().isValid()) && "Should not use decl without marking it used!"' failed.
      

      I'll try to prepare a reproducer ASAP (if possible).

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              clemenci Marco Clemencic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: