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

ROOT crash while looping over nanoAOD file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 6.18/00
    • Fix Version/s: None
    • Component/s: I/O
    • Labels:
      None
    • Environment:

      CentOS 7, ROOT from LCG nightlies (see description and attached log for details)

       

    • Development:

      Description

      While testing parallel branch processing performance with a modified version of the tutorial imt001_parBranchProcessing.C, I discovered that using the original CMS file  used ny Enric to create the tutorial caused ROOT to crash from simply loading the "Events" tree and calling TTree::GetEntry for each entry. The modified macro, and the log of how I set things up and run the test are attached. The macro uses the file directly from http, but if you copy the file locally and run, the same crash happens. Also, the reported time for IMT is slower than for the sequential execution, no matter how many threads are used.

      olhswep04 imt $ source /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/latest/x86_64-centos7-gcc8-dbg/setup.sh
      olhswep04 imt $ which root
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/bin/root
      olhswep04 imt $ root --version
      ROOT Version: 6.19/01
      Built for linuxx8664gcc on Aug 21 2019, 06:49:00
      From heads/master@v6-19-01-874-g874622f
      olhswep04 imt $ $(root-config --cxx --cflags --libs) -o imt imt.cc
      olhswep04 imt $ ./imt 32
      <lots of warnings and other output>
      *** Error in `./imt': munmap_chunk(): invalid pointer: 0x0000000005061910 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x7f754)[0x7ff50caf4754]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZN9__gnu_cxx13new_allocatorIcE10deallocateEPcm+0x20)[0x7ff511e88c62]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZNSt16allocator_traitsISaIcEE10deallocateERS0_Pcm+0x2b)[0x7ff511e86e09]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_destroyEm+0x44)[0x7ff511e83e38]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv+0x36)[0x7ff511e83568]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev+0x18)[0x7ff511e7cf7e]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(+0x2d357a)[0x7ff511e4c57a]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libCore.so(_ZN6TClass10DestructorEPvb+0x74)[0x7ff511fbd68e]
      /cvmfs/sft-nightlies.cern.ch/lcg/views/dev3/Wed/x86_64-centos7-gcc8-dbg/lib/libRIO.so(_ZN13TStreamerInfo14DestructorImplEPvb+0xed8)[0x7ff5114e9892]
      <lots more output, see attached log for details>

        Attachments

        1. imt.cc
          2 kB
        2. imt.log
          61 kB
        3. imt-debug.log
          39 kB

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              amadio Guilherme Amadio
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: