-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[DF] gtest-tree-dataframe-test-dataframe-snapshot fails with AddressSanitizer #11222
Copy link
Copy link
Closed
Closed
Copy link
Labels
Description
Crash report:
382: [ RUN ] RDFSnapshotMore.MissingSizeBranch
382: RDataFrame::Run: event loop was interrupted
382: =================================================================
382: ==1908070==ERROR: AddressSanitizer: heap-use-after-free on address 0x616000fc64c8 at pc 0x00000072c4d3 bp 0x7ffd3dbf1940 sp 0x7ffd3dbf1930
382: WRITE of size 1 at 0x616000fc64c8 thread T0
382: #0 0x72c4d2 in ROOT::Internal::RDF::SnapshotHelper<ROOT::VecOps::RVec<float> >::GetSampleCallback()::'lambda'(unsigned int, ROOT::RDF::RSampleInfo const&)::operator()(unsigned int, ROOT::RDF::RSampleInfo const&) /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RDF/ActionHelpers.hxx:1612:92
382: #1 0x72c4d2 in std::_Function_handler<void (unsigned int, ROOT::RDF::RSampleInfo const&), ROOT::Internal::RDF::SnapshotHelper<ROOT::VecOps::RVec<float> >::GetSampleCallback()::'lambda'(unsigned int, ROOT::RDF::RSampleInfo const&)>::_M_invoke(std::_Any_data const&, unsigned int&&, ROOT::RDF::RSampleInfo const&) /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/std_function.h:297:2
382: #2 0x7f0554a2f5ac in std::function<void (unsigned int, ROOT::RDF::RSampleInfo const&)>::operator()(unsigned int, ROOT::RDF::RSampleInfo const&) const /usr/bin/../lib/gcc/x86_64-redhat-linux/8/../../../../include/c++/8/bits/std_function.h:687:14
382: #3 0x7f0554a2f5ac in ROOT::Detail::RDF::RLoopManager::RunAndCheckFilters(unsigned int, long long) /home/jhahnfel/ROOT/src/tree/dataframe/src/RLoopManager.cxx:660:10
382: #4 0x7f0554a30ca8 in ROOT::Detail::RDF::RLoopManager::RunTreeReader() /home/jhahnfel/ROOT/src/tree/dataframe/src/RLoopManager.cxx:568:10
382: #5 0x7f0554a3ace0 in ROOT::Detail::RDF::RLoopManager::Run() /home/jhahnfel/ROOT/src/tree/dataframe/src/RLoopManager.cxx:846:32
382: #6 0x5ecb22 in ROOT::RDF::RResultPtr<ROOT::RDataFrame>::TriggerRun() /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RResultPtr.hxx:383:18
382: #7 0x5ecb22 in ROOT::RDF::RResultPtr<ROOT::RDataFrame>::Get() /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RResultPtr.hxx:169:10
382: #8 0x5ecb22 in ROOT::RDF::RResultPtr<ROOT::RDataFrame>::operator*() /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RResultPtr.hxx:229:15
382: #9 0x5ecb22 in ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager, void>::Snapshot(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, ROOT::RDF::RSnapshotOptions const&) /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RDF/RInterface.hxx:1140:10
382: #10 0x5be335 in ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager, void>::Snapshot(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, std::initializer_list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, ROOT::RDF::RSnapshotOptions const&) /home/jhahnfel/ROOT/src/tree/dataframe/inc/ROOT/RDF/RInterface.hxx:1202:14
382: #11 0x512932 in RDFSnapshotMore_MissingSizeBranch_Test::TestBody() /home/jhahnfel/ROOT/src/tree/dataframe/test/dataframe_snapshot.cxx:903:18
(already discussed and work-in-progress)
Reactions are currently unavailable