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

ROOT 6.20/02 can't generate a dictionary for ATLAS's EventLoop package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.20/02
    • Fix Version/s: 6.22/00, 6.20/06
    • Component/s: Cling, Dictionaries
    • Labels:
    • Environment:

      x86_64-ubuntu1804-gcc7-dbg, but I guess any debug build would do.

      Description

      Hi,

      There may be another new issue in ROOT 6.20's dictionary generation code, over what we already discussed.

      While trying to build the ATLAS analysis software release against 6.20/02, I was seeing a lot of our unit tests failing. So I tried to build everything in debug mode, as I was suspecting that at least a number of the failures would be related to ROOT-10777.

      However, I wasn't even able to complete the build in debug mode. While trying to generate the dictionary for our EventLoop library (https://gitlab.cern.ch/atlas/athena/-/blob/21.2/PhysicsAnalysis/D3PDTools/EventLoop/CMakeLists.txt#L20-33), the rootcling executable crashes. With the following backtrace:

      Starting program: /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/bin/rootcling -f EventLoopCintDict.cxx -s libEventLoop.so -rml libEventLoop.so -rmf EventLoop.dsomap -DHAVE_PRETTY_FUNCTION -DHAVE_64_BITS -D__IDENTIFIER_64BIT__ -DATLAS -DROOTCORE -DXAOD_STANDALONE -DXAOD_ANALYSIS -DROOTCORE_RELEASE_SERIES=25 -DPACKAGE_VERSION=\"EventLoop-00-00-00\" -DPACKAGE_VERSION_UQ=EventLoop-00-00-00 -DUSE_CMAKE -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/RootCoreUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/SampleHandler" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgTools" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgMessaging" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccessInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccess" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/CxxUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainersInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainers" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthLinksSA" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODCore" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODEventFormat" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgTools" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgMessaging" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccessInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccess" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/CxxUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainersInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainers" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthLinksSA" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODCore" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODEventFormat" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Tools/PathResolver" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgTools" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgMessaging" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccessInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccess" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/CxxUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainersInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainers" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthLinksSA" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODCore" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODEventFormat" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Tools/PathResolver" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/RootCoreUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/SampleHandler" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/build-dbg/RootCore/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/RootCoreUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/SampleHandler" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgTools" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthToolSupport/AsgMessaging" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccessInterfaces" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/xAODRootAccess" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthContainers" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/AthLinksSA" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Control/CxxUtils" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODCore" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/include" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Event/xAOD/xAODEventFormat" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/AnaAlgorithm" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/AnaAlgorithm" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/athena/Tools/PathResolver" -I"/media/krasznaa/WD_1TB_Linux/projects/externals/build-dbg/RootCore/include" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Algorithm.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/AnaAlgorithmWrapper.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/BatchDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/BatchJob.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/BatchSegment.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/BatchSample.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/CondorDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/DirectDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/GEDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Job.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/KubernetesDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/LLDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/LSFDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/LocalDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/OutputStream.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/MetricsSvc.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/SoGEDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/TorqueDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/VomsProxySvc.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/SlurmDriver.h" "/media/krasznaa/WD_1TB_Linux/projects/externals/athena/PhysicsAnalysis/D3PDTools/EventLoop/Root/LinkDef.h"
      warning: File "/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/lib/libCore.so-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
      To enable execution of this file add
              add-auto-load-safe-path /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/lib/libCore.so-gdb.py
      line to your configuration file "/home/krasznaa/.gdbinit".
      To completely disable this security protection add
              set auto-load safe-path /
      line to your configuration file "/home/krasznaa/.gdbinit".
      For more information about this security protection see the
      "Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
              info "(gdb)Auto-loading safe path"
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Warning in <TClass::Init>: no dictionary for class SH::SamplePtr is available
      rootcling: /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/interpreter/cling/lib/Interpreter/IncrementalParser.cpp:407: cling::IncrementalParser::~IncrementalParser(): Assertion `(T->getState() == Transaction::kCommitted || T->getState() == Transaction::kRolledBackWithErrors || T->getState() == Transaction::kNumStates || T->getState() == Transaction::kRolledBack) && "Not committed?"' failed.
       
      Program received signal SIGABRT, Aborted.
      __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) bt
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007ffff1f2c801 in __GI_abort () at abort.c:79
      #2  0x00007ffff1f1c39a in __assert_fail_base (fmt=0x7ffff20a37d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
          assertion=assertion@entry=0x7ffff590ea68 "(T->getState() == Transaction::kCommitted || T->getState() == Transaction::kRolledBackWithErrors || T->getState() == Transaction::kNumStates || T->getState() == Transaction::kRolledBack) && \"Not commi"..., 
          file=file@entry=0x7ffff590e990 "/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/interpreter/cling/lib/Interpreter/IncrementalParser.cpp", 
          line=line@entry=407, function=function@entry=0x7ffff590f9a0 <cling::IncrementalParser::~IncrementalParser()::__PRETTY_FUNCTION__> "cling::IncrementalParser::~IncrementalParser()") at assert.c:92
      #3  0x00007ffff1f1c412 in __GI___assert_fail (
          assertion=0x7ffff590ea68 "(T->getState() == Transaction::kCommitted || T->getState() == Transaction::kRolledBackWithErrors || T->getState() == Transaction::kNumStates || T->getState() == Transaction::kRolledBack) && \"Not commi"..., 
          file=0x7ffff590e990 "/media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/interpreter/cling/lib/Interpreter/IncrementalParser.cpp", line=407, 
          function=0x7ffff590f9a0 <cling::IncrementalParser::~IncrementalParser()::__PRETTY_FUNCTION__> "cling::IncrementalParser::~IncrementalParser()") at assert.c:101
      #4  0x00007ffff349ae2a in cling::IncrementalParser::~IncrementalParser() ()
         from /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/lib/libCling.so
      #5  0x00007ffff3421201 in cling::Interpreter::~Interpreter() ()
         from /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/lib/libCling.so
      #6  0x00007ffff3421669 in cling::Interpreter::~Interpreter() [clone .localalias.489] ()
         from /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/install/AnalysisBaseExternals/21.2.124/InstallArea/x86_64-ubuntu1804-gcc7-dbg/lib/libCling.so
      #7  0x00007ffff32577b2 in std::default_delete<cling::Interpreter>::operator() (this=0x55555580cb78, __ptr=0x55555580d940) at /usr/include/c++/7/bits/unique_ptr.h:78
      #8  0x00007ffff325175d in std::unique_ptr<cling::Interpreter, std::default_delete<cling::Interpreter> >::~unique_ptr (this=0x55555580cb78, __in_chrg=<optimized out>)
          at /usr/include/c++/7/bits/unique_ptr.h:263
      #9  0x00007ffff32f2a0b in TCling::~TCling (this=0x55555580c940, __in_chrg=<optimized out>)
          at /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/core/metacling/src/TCling.cxx:1448
      #10 0x00007ffff32f2aec in TCling::~TCling (this=0x55555580c940, __in_chrg=<optimized out>)
          at /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/core/metacling/src/TCling.cxx:1461
      #11 0x00007ffff258249a in TROOT::~TROOT (this=0x7ffff2be0e80 <ROOT::Internal::GetROOT1()::alloc>, __in_chrg=<optimized out>)
          at /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/core/base/src/TROOT.cxx:1027
      #12 0x00007ffff257f608 in at_exit_of_TROOT () at /media/krasznaa/WD_1TB_Linux/projects/externals/externals-dbg/build/AnalysisBaseExternals/src/ROOT/core/base/src/TROOT.cxx:297
      #13 0x00007ffff1f2f041 in __run_exit_handlers (status=0, listp=0x7ffff22d7718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
      #14 0x00007ffff1f2f13a in __GI_exit (status=<optimized out>) at exit.c:139
      #15 0x00007ffff1f0db9e in __libc_start_main (main=0x555555554ce1 <main(int, char**)>, argc=109, argv=0x7fffffff9c28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
          stack_end=0x7fffffff9c18) at ../csu/libc-start.c:344
      #16 0x0000555555554bfa in _start ()
      (gdb)
      

      Have you seen anything like this before? If not, I'll try to create a reproducer that would be a bit easier to use than what I have locally now...

      Cheers,
      Attila

      P.S. Pinging Nils Erik Krumnack.

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              akraszna Attila Krasznahorkay
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: