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

TDF: Crash in Snapshot (RecursiveRemove-related)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • master
    • 6.12/00
    • Other
    • None
    • any

    Description

      Links to some of the failures:
      http://cdash.cern.ch/testDetails.php?test=32342036&build=423256
      http://cdash.cern.ch/testDetails.php?test=32324139&build=422983

      Some "memtesting" builds warn of a use-after-delete problem.

      Here is the stacktrace of the thread that crashed – destruction of TFile, call to RecursiveRemove, crash:

      #9  0x000003ff78a86784 in TestBit (f=33554432, this=0x77359400) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/TObject.h:172
      #10 TList::RecursiveRemove (this=0x324cae50, obj=0x3ff50000b70) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/core/cont/src/TList.cxx:720
      #11 0x000003ff78a824f4 in THashList::RecursiveRemove (this=0x324de710, obj=0x3ff50000b70) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/core/cont/src/THashList.cxx:295
      #12 0x000003ff78923348 in TROOT::RecursiveRemove (this=0x3ff78cb5570 <ROOT::Internal::GetROOT1()::alloc>, obj=0x3ff50000b70) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/core/base/src/TROOT.cxx:2393
      #13 0x000003ff7a575488 in ROOT::CallRecursiveRemoveIfNeeded (obj=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/TROOT.h:387
      #14 0x000003ff78a05828 in TNamed::~TNamed (this=0x3ff50000b70, __in_chrg=<optimized out>) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/core/base/src/TNamed.cxx:45
      #15 0x000003ff789e9d3c in TDirectory::~TDirectory (this=0x3ff50000b70, __in_chrg=<optimized out>) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/core/base/src/TDirectory.cxx:103
      #16 0x000003ff78f65a5c in TDirectoryFile::~TDirectoryFile (this=0x3ff50000b70, __in_chrg=<optimized out>) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/io/io/src/TDirectoryFile.cxx:179
      #17 0x000003ff78f74c44 in TFile::~TFile (this=0x3ff50000b70, __in_chrg=<optimized out>) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/io/io/src/TFile.cxx:545
      #18 0x000003ff78f74c68 in TFile::~TFile (this=0x3ff50000b70, __in_chrg=<optimized out>) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/io/io/src/TFile.cxx:573
      #19 0x000003ff79439f90 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1435
      #20 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #21 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #22 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #23 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #24 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #25 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #26 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #27 0x000003ff7943a590 in TChain::LoadTree (this=0x3ff50202f10, entry=15) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/tree/src/TChain.cxx:1547
      #28 0x000003ff7a5bbe48 in ROOT::Internal::TTreeView::GetTreeReader (this=0x3ff50214ff0, start=16, end=17) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/ROOT/TTreeProcessorMT.hxx:272
      #29 0x000003ff7a5b9e58 in ROOT::TTreeProcessorMT::<lambda(const ROOT::Internal::TreeViewCluster&)>::operator()(const ROOT::Internal::TreeViewCluster &) const (__closure=0x3ffdcbb04b8, c=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/root/tree/treeplayer/src/TTreeProcessorMT.cxx:115
      #30 0x000003ff7a5b9fa8 in ROOT::TThreadExecutor::<lambda(unsigned int)>::operator()(unsigned int) const (__closure=0x3ffdcbb04d8, i=16) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/ROOT/TThreadExecutor.hxx:143
      #31 0x000003ff7a5ba17c in std::_Function_handler<void(unsigned int), ROOT::TThreadExecutor::Foreach(F, std::vector<T, std::allocator<_T2> >&) [with F = ROOT::TTreeProcessorMT::Process(std::function<void(TTreeReader&)>)::<lambda(const ROOT::Internal::TreeViewCluster&)>; T = ROOT::Internal::TreeViewCluster]::<lambda(unsigned int)> >::_M_invoke(const std::_Any_data &, <unknown type in /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/lib/libTreePlayer.so, CU 0x355483, DIE 0x377662>) (__functor=..., __args#0=<unknown type in /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/lib/libTreePlayer.so, CU 0x355483, DIE 0x377662>) at /usr/include/c++/6.3.0/functional:1731
      #32 0x000003ff7a53e020 in std::function<void (unsigned int)>::operator()(unsigned int) const (this=0x3ffdcbb04d8, __args#0=16) at /usr/include/c++/6.3.0/functional:2127
      #33 0x000003ff78d99e40 in tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>::operator()(tbb::blocked_range<unsigned int> const&) const (this=0x3ff6dcd7a58, r=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/tbb/parallel_for.h:162
      #34 0x000003ff78d98d90 in tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>::run_body(tbb::blocked_range<unsigned int>&) (this=0x3ff6dcd7a40, r=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/tbb/parallel_for.h:102
      #35 0x000003ff78d98ac4 in tbb::interface9::internal::balancing_partition_type<tbb::interface9::internal::adaptive_mode<tbb::interface9::internal::auto_partition_type> >::work_balance<tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>, tbb::blocked_range<unsigned int> >(tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>&, tbb::blocked_range<unsigned int>&) (this=0x3ff6dcd7a68, start=..., range=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/tbb/partitioner.h:444
      #36 0x000003ff78d98828 in tbb::interface9::internal::partition_type_base<tbb::interface9::internal::auto_partition_type>::execute<tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>, tbb::blocked_range<unsigned int> >(tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>&, tbb::blocked_range<unsigned int>&) (this=0x3ff6dcd7a68, start=..., range=...) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/tbb/partitioner.h:255
      #37 0x000003ff78d98654 in tbb::interface9::internal::start_for<tbb::blocked_range<unsigned int>, tbb::internal::parallel_for_body<std::function<void (unsigned int)>, unsigned int>, tbb::auto_partitioner const>::execute() (this=0x3ff6dcd7a40) at /data/sftnight/build/workspace/root-nightly-master/BUILDTYPE/Debug/COMPILER/native/LABEL/arm64/build/include/tbb/parallel_for.h:127
      #38 0x000003ff7821f9d0 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0x3ff6dccbe00, parent=..., child=<optimized out>) at ../../src/tbb/custom_scheduler.h:501
      #39 0x000003ff78219568 in tbb::internal::arena::process (this=0x3ff6dcdf780, s=...) at ../../src/tbb/arena.cpp:159
      #40 0x000003ff78217c94 in tbb::internal::market::process (this=0x3ff6dce3a00, j=...) at ../../src/tbb/market.cpp:677
      #41 0x000003ff78213b78 in tbb::internal::rml::private_worker::run (this=0x3ff6dcd9080) at ../../src/tbb/private_server.cpp:271
      #42 0x000003ff78213e74 in tbb::internal::rml::private_worker::thread_routine (arg=<optimized out>) at ../../src/tbb/private_server.cpp:224
      #43 0x000003ff783d7bb0 in start_thread () from /lib64/libpthread.so.0
      #44 0x000003ff7832a680 in thread_start () from /lib64/libc.so.6

      Attachments

        Issue Links

          Activity

            People

              pcanal Philippe Canal
              eguiraud Enrico Guiraud
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: