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

ROOT startup loads HepMC dictionaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      CentOS 7

      gcc 8.3.1

      CMSSW integration build based on root master

      Description

      Hi,

       

      We noticed that just starting root (e.g. root executable, or "import ROOT" in python) causes the dictionary for HepMC to be loaded. If the dictionaries are removed by hand, we get the following printouts

       

      Warning in <TClass::Init>: no dictionary for class HepMC::GenVertex is available
      Warning in <TClass::Init>: no dictionary for class HepMC::GenParticle is available

       

      Inserting a breakpoint for write() in gdb gives the stack trace in (a), and seems to originate from classes.rules.

      Cheers,
      Matti

       

      (a)

      #7 0x00007ff3c331a178 in Warning (location=0x7ff3c351cdbe "TClass::Init", fmt=0x7ff3c351cd00 "no dictionary for class %s is available")
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/base/src/TError.cxx:336}}
      {{#8 0x00007ff3c33f6947 in TClass::Init (this=0x37cd050, name=0x325eb30 "HepMC::GenVertex", cversion=1, typeinfo=0x0, isa=0x0, dfil=0x0, ifil=0x0, dl=-1, il=-1, givenInfo=0x0, }}
      {{ silent=false) at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:1481}}
      #9 0x00007ff3c33f475c in TClass::TClass (this=0x37cd050, name=0x325eb30 "HepMC::GenVertex", cversion=1, silent=false)
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:1124}}
      #10 0x00007ff3bc8b1870 in TCling::GenerateTClass (this=0x1926af0, classname=0x325eb30 "HepMC::GenVertex", emulation=false, silent=false)
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/metacling/src/TCling.cxx:4220}}
      #11 0x00007ff3c33fc344 in TClass::GetClass (name=0x358d3a0 "HepMC::GenVertex", load=true, silent=false)
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:3112}}
      #12 0x00007ff3c33f821b in TClass::AddRule (rule=0x37d95f0 "HepMC::GenVertex m_event", ' ' <repeats 13 times>, "attributes=NotOwner")
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:1830}}
      #13 0x00007ff3c33f7f06 in (anonymous namespace)::ReadRulesContent (f=0x276ee90)
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:1701}}
      #14 0x00007ff3c33f8067 in TClass::ReadRules ()
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/meta/src/TClass.cxx:1760}}
      #15 0x00007ff3c32dfcb3 in TROOT::InitInterpreter (this=0x7ff3c3630a60 <ROOT::Internal::GetROOT1()::alloc>)
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/base/src/TROOT.cxx:2147}}
      #16 0x00007ff3c32d934b in ROOT::Internal::GetROOT2 ()
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/base/src/TROOT.cxx:388}}
      #17 0x00007ff3c32d984c in ROOT::GetROOT () at /data/cmsbld/jenkins/workspace/build-any-ib/w/BUILD/slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/base/src/TROOT.cxx:521
      #18 0x00007ff3c32e1a83 in TROOT::Initialize ()
      {{ at /.../slc7_amd64_gcc820/lcg/root/6.19.01-himbmo/root-6.19.01/core/base/src/TROOT.cxx:2857}}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vvasilev Vasil Georgiev Vasilev
                Reporter:
                mkortela Matti Kortelainen
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: