Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REALM] Realm::DynamicTable<Realm::DynamicTableAllocator<Realm::SparsityMapImplWrapper>>::has_entry() race #1818

Open
Jacobfaib opened this issue Jan 7, 2025 · 2 comments
Assignees
Labels

Comments

@Jacobfaib
Copy link
Contributor

WARNING: ThreadSanitizer: data race (pid=2205)
  Read of size 4 at 0x7b9400084808 by thread T30:
    #0 Realm::DynamicTable<Realm::DynamicTableAllocator<Realm::SparsityMapImplWrapper, 10ul, 4ul> >::has_entry(unsigned long long) const /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_table.inl:244 (librealm.so.1+0xade22d)
    #1 Realm::RuntimeImpl::free_sparsity_impl(Realm::SparsityMapImplWrapper*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/runtime_impl.cc:3142 (librealm.so.1+0xac23c7)
    #2 Realm::SparsityMapImplWrapper::recycle() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/sparsity_impl.cc:259 (librealm.so.1+0x834eda)
    #3 Realm::SparsityMapImplWrapper::remove_references(unsigned int, Realm::Event) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/sparsity_impl.cc:319 (librealm.so.1+0x835918)
    #4 Realm::SparsityMapRefCounter::remove_references(unsigned int, Realm::Event) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/sparsity_impl.cc:67 (librealm.so.1+0x835b00)
    #5 Realm::SparsityMap<2, long long>::destroy(Realm::Event, unsigned int) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/sparsity_impl.cc:131 (librealm.so.1+0x84a4a7)
    #6 Realm::IndexSpace<2, long long>::destroy(Realm::Event) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/indexspace.inl:446 (liblegion.so.1+0x168bf3d)
    #7 Legion::Internal::IndexSpaceOperationT<2, long long>::tighten_index_space() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.inl:1605 (liblegion.so.1+0x168bf3d)
    #8 Legion::Internal::IndexSpaceExpression::handle_tighten_index_space(void const*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:6536 (liblegion.so.1+0x1042aa2)
    ...

  Previous write of size 8 at 0x7b9400084808 by thread T25:
    #0 operator new(unsigned long) ../../../../libsanitizer/tsan/tsan_new_delete.cpp:64 (libtsan.so.0+0x6fedf)
    #1 Realm::DynamicTable<Realm::DynamicTableAllocator<Realm::SparsityMapImplWrapper, 10ul, 4ul> >::new_tree_node(int, unsigned long long, unsigned long long, int, Realm::SparsityMapImplWrapper**, Realm::SparsityMapImplWrapper**) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_table.inl:203 (librealm.so.1+0xae5672)
    #2 Realm::DynamicTable<Realm::DynamicTableAllocator<Realm::SparsityMapImplWrapper, 10ul, 4ul> >::lookup_entry(unsigned long long, int, Realm::SparsityMapImplWrapper**, Realm::SparsityMapImplWrapper**) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_table.inl:333 (librealm.so.1+0xae593b)
    #3 Realm::DynamicTableFreeList<Realm::DynamicTableAllocator<Realm::SparsityMapImplWrapper, 10ul, 4ul> >::alloc_entry() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_table.inl:499 (librealm.so.1+0xae5da5)
    #4 Realm::RuntimeImpl::get_available_sparsity_impl(int) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/runtime_impl.cc:3135 (librealm.so.1+0xad1132)
    #5 Realm::UnionOperation<2, long long>::add_union(std::vector<Realm::IndexSpace<2, long long>, std::allocator<Realm::IndexSpace<2, long long> > > const&) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/setops.cc:1646 (librealm.so.1+0x745c6a)
    #6 Realm::IndexSpace<2, long long>::compute_union(std::vector<Realm::IndexSpace<2, long long>, std::allocator<Realm::IndexSpace<2, long long> > > const&, Realm::IndexSpace<2, long long>&, Realm::ProfilingRequestSet const&, Realm::Event) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/deppart/setops.cc:490 (librealm.so.1+0x746630)
    #7 Legion::Internal::IndexSpaceUnion<2, long long>::IndexSpaceUnion(std::vector<Legion::Internal::IndexSpaceExpression*, std::allocator<Legion::Internal::IndexSpaceExpression*> > const&, Legion::Internal::RegionTreeForest*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.inl:2067 (liblegion.so.1+0x169216d)
    #8 void Legion::Internal::UnionOpCreator::demux<Realm::DynamicTemplates::Int<2>, long long>(Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.h:1820 (liblegion.so.1+0x10e4c45)
    #9 void Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper2<Legion::Internal::UnionOpCreator, Realm::DynamicTemplates::Int<2> >::demux<long long, Legion::Internal::UnionOpCreator*>(Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:190 (liblegion.so.1+0x10e4c45)
    #10 void Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm>::DemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper2<Legion::Internal::UnionOpCreator, Realm::DynamicTemplates::Int<2> >, 2>::demux<Legion::Internal::UnionOpCreator*>(int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:37 (liblegion.so.1+0x10e4c45)
    #11 void Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> >::DemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper2<Legion::Internal::UnionOpCreator, Realm::DynamicTemplates::Int<2> >, 1>::demux<Legion::Internal::UnionOpCreator*>(int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:39 (liblegion.so.1+0x10e4c45)
    #12 void Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > >::DemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper2<Legion::Internal::UnionOpCreator, Realm::DynamicTemplates::Int<2> >, 0>::demux<Legion::Internal::UnionOpCreator*>(int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:39 (liblegion.so.1+0x10e4c45)
    #13 void Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > >::demux<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper2<Legion::Internal::UnionOpCreator, Realm::DynamicTemplates::Int<2> >, Legion::Internal::UnionOpCreator*>(int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:79 (liblegion.so.1+0x10e4c45)
    #14 void Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>::demux<Realm::DynamicTemplates::Int<2>, Legion::Internal::UnionOpCreator*>(unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:215 (liblegion.so.1+0x10e4c45)
    #15 void Realm::DynamicTemplates::IntDemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, 1, 1>::demux<unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.h:213 (liblegion.so.1+0x10e4c45)
    #16 void Realm::DynamicTemplates::IntDemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, 1, 2>::demux<unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.h:215 (liblegion.so.1+0x10e4f01)
    #17 void Realm::DynamicTemplates::IntDemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, 1, 3>::demux<unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.h:215 (liblegion.so.1+0x10e4f01)
    #18 void Realm::DynamicTemplates::IntDemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, 1, 4>::demux<unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.h:215 (liblegion.so.1+0x10e4f01)
    #19 void Realm::DynamicTemplates::IntDemuxHelper<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, 1, 5>::demux<unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.h:215 (liblegion.so.1+0x10e4f01)
    #20 void Realm::DynamicTemplates::IntList<1, 6>::demux<Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::DemuxHelper1<Legion::Internal::UnionOpCreator>, unsigned int, Legion::Internal::UnionOpCreator*>(int, unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:154 (liblegion.so.1+0x10e4f01)
    #21 void Realm::DynamicTemplates::ListProduct2<Realm::DynamicTemplates::IntList<1, 6>, Realm::DynamicTemplates::TypeListElem<int, Realm::DynamicTemplates::TypeListElem<unsigned int, Realm::DynamicTemplates::TypeListElem<long long, Realm::DynamicTemplates::TypeListTerm> > > >::demux<Legion::Internal::UnionOpCreator, Legion::Internal::UnionOpCreator*>(unsigned int, Legion::Internal::UnionOpCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/dynamic_templates.inl:241 (liblegion.so.1+0x10e4f01)
    #22 Legion::Internal::UnionOpCreator::create_operation() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.h:1825 (liblegion.so.1+0x10e4f01)
    #23 Legion::Internal::OperationCreator::consume() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:6998 (liblegion.so.1+0x1042ec5)
    #24 Legion::Internal::ExpressionTrieNode::find_or_create_operation(std::vector<Legion::Internal::IndexSpaceExpression*, std::allocator<Legion::Internal::IndexSpaceExpression*> > const&, Legion::Internal::OperationCreator&) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:7227 (liblegion.so.1+0x1080e62)
    #25 Legion::Internal::RegionTreeForest::union_index_spaces(std::vector<Legion::Internal::IndexSpaceExpression*, std::allocator<Legion::Internal::IndexSpaceExpression*> > const&, Legion::Internal::OperationCreator*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:5610 (liblegion.so.1+0x108153e)
    #26 Legion::Internal::RegionTreeForest::union_index_spaces(Legion::Internal::IndexSpaceExpression*, Legion::Internal::IndexSpaceExpression*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:5390 (liblegion.so.1+0x10a84e1)
    #27 Legion::Internal::EquivalenceSet::record_partial_valid_instance(Legion::Internal::LogicalView*, Legion::Internal::IndexSpaceExpression*, SSETLBitMask<256u>, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:14791 (liblegion.so.1+0x921ad0)
    #28 void Legion::Internal::EquivalenceSet::record_instances<Legion::Internal::InstanceView>(Legion::Internal::IndexSpaceExpression*, bool, SSETLBitMask<256u> const&, Legion::Internal::FieldMaskSet<Legion::Internal::InstanceView, (Legion::Internal::AllocationType)104, false> const&) <null> (liblegion.so.1+0x9c2e4e)
    #29 Legion::Internal::EquivalenceSet::update_set(Legion::Internal::UpdateAnalysis&, Legion::Internal::IndexSpaceExpression*, bool, SSETLBitMask<256u> const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:13504 (liblegion.so.1+0x9678cb)
    #30 Legion::Internal::UpdateAnalysis::perform_analysis(Legion::Internal::EquivalenceSet*, Legion::Internal::IndexSpaceExpression*, bool, SSETLBitMask<256u> const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:9260 (liblegion.so.1+0x969167)
    #31 Legion::Internal::EquivalenceSet::analyze(Legion::Internal::PhysicalAnalysis&, Legion::Internal::IndexSpaceExpression*, bool, SSETLBitMask<256u>, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:12478 (liblegion.so.1+0x93682f)
    #32 Legion::Internal::PhysicalAnalysis::analyze(Legion::Internal::EquivalenceSet*, SSETLBitMask<256u> const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, Legion::Internal::RtEvent, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:7608 (liblegion.so.1+0x936b75)
    #33 Legion::Internal::PhysicalAnalysis::perform_traversal(Legion::Internal::RtEvent, Legion::Internal::VersionInfo const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:7763 (liblegion.so.1+0x936e15)
    #34 Legion::Internal::CollectiveCopyFillAnalysis::perform_traversal(Legion::Internal::RtEvent, Legion::Internal::VersionInfo const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_analysis.cc:8518 (liblegion.so.1+0x9371a6)
    #35 Legion::Internal::RegionTreeForest::physical_perform_updates(Legion::RegionRequirement const&, Legion::Internal::VersionInfo const&, Legion::Internal::Operation*, unsigned int, Legion::Internal::ApEvent, Legion::Internal::ApEvent, Legion::Internal::InstanceSet const&, std::vector<Legion::Internal::PhysicalManager*, std::allocator<Legion::Internal::PhysicalManager*> > const&, Legion::Internal::PhysicalTraceInfo const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, Legion::Internal::UpdateAnalysis*&, char const*, unsigned long long, bool, bool, bool, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:1931 (liblegion.so.1+0x10a256b)
    #36 Legion::Internal::RegionTreeForest::physical_perform_updates_and_registration(Legion::RegionRequirement const&, Legion::Internal::VersionInfo const&, Legion::Internal::Operation*, unsigned int, Legion::Internal::ApEvent, Legion::Internal::ApEvent, Legion::Internal::InstanceSet const&, std::vector<Legion::Internal::PhysicalManager*, std::allocator<Legion::Internal::PhysicalManager*> > const&, Legion::Internal::PhysicalTraceInfo const&, std::set<Legion::Internal::RtEvent, std::less<Legion::Internal::RtEvent>, std::allocator<Legion::Internal::RtEvent> >&, char const*, unsigned long long, bool, bool, bool) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/region_tree.cc:2011 (liblegion.so.1+0x10a2979)
    #37 Legion::Internal::SingleTask::map_all_regions(Legion::Internal::MustEpochOp*, Legion::Internal::TaskOp::DeferMappingArgs const*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_tasks.cc:4305 (liblegion.so.1+0xeb8016)
    #38 Legion::Internal::PointTask::perform_mapping(Legion::Internal::MustEpochOp*, Legion::Internal::TaskOp::DeferMappingArgs const*) /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_tasks.cc:7906 (liblegion.so.1+0xec5c04)
    #39 Legion::Internal::SingleTask::trigger_mapping() /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/legion/legion_tasks.cc:2533 (liblegion.so.1+0xe72782)
@lightsighter
Copy link
Contributor

I suspect that this is just an artifact of some things in the dynamic table data structure not using std::atomic in the right places to placate the thread sanitizer. Assigning to @apryakhin to triage.

@apryakhin
Copy link
Contributor

I will look into this

@apryakhin apryakhin added the bug label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants