We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/infiniflow/infinity/actions/runs/13025609091/job/36334066330?pr=2490
[ RUN ] TestWithDifferentParams/CheckpointTest.test_index_replay_with_full_and_delta_checkpoint2/1
AddressSanitizer:DEADLYSIGNAL ================================================================= ==237397==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x55ef9696ffbc bp 0x7f5f609dff30 sp 0x7f5f609dfcc0 T57) ==237397==The signal is caused by a READ memory access. ==237397==Hint: address points to the zero page. [15:09:30.102] [237397] [info] WAL manager is stopped. [15:09:30.102] [237397] [info] TxnManager::Stop already stopped #0 0x55ef9696ffbc in infinity::MemIndexTracer@memindex_tracer::IncreaseMemoryUsage(unsigned long) /infinity/src/storage/tracer/memindex_tracer.cppm:89:41 #1 0x55ef99148455 in infinity::BaseMemIndex@base_memindex::IncreaseMemoryUsageBase(unsigned long) /infinity/src/storage/tracer/base_memindex.cpp:27:22 #2 0x55ef98337274 in infinity::MemoryIndexer@memory_indexer::IncreaseMemoryUsage(unsigned long) /infinity/src/storage/invertedindex/memory_indexer.cpp:489:19 #3 0x55ef9833dac0 in infinity::MemoryIndexer@memory_indexer::GetOrAddPosting(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /infinity/src/storage/invertedindex/memory_indexer.cpp:451:9 #4 0x55ef983483a4 in infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const /infinity/src/storage/invertedindex/memory_indexer.cpp:150:106 #5 0x55ef98348337 in decltype(std::declval<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1&>()(std::declval<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>())) std::__1::__invoke[abi:ne180100]<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/local/include/c++/v1/__type_traits/invoke.h:344:25 #6 0x55ef983482d7 in std::__1::shared_ptr<infinity::PostingWriter@posting_writer> std::__1::__invoke_void_return_wrapper<std::__1::shared_ptr<infinity::PostingWriter@posting_writer>, false>::__call[abi:ne180100]<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/local/include/c++/v1/__type_traits/invoke.h:411:12 #7 0x55ef98348297 in std::__1::__function::__alloc_func<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1, std::__1::allocator<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1>, std::__1::shared_ptr<infinity::PostingWriter@posting_writer> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()[abi:ne180100](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/local/include/c++/v1/__functional/function.h:169:12 #8 0x55ef98346a4b in std::__1::__function::__func<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1, std::__1::allocator<infinity::MemoryIndexer@memory_indexer::Insert(std::__1::shared_ptr<infinity::ColumnVector@column_vector>, unsigned int, unsigned int, bool)::$_1>, std::__1::shared_ptr<infinity::PostingWriter@posting_writer> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/local/include/c++/v1/__functional/function.h:311:10 #9 0x55ef982b5cce in std::__1::__function::__value_func<std::__1::shared_ptr<infinity::PostingWriter@posting_writer> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()[abi:ne180100](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const /usr/local/include/c++/v1/__functional/function.h:428:12 #10 0x55ef982914a7 in std::__1::function<std::__1::shared_ptr<infinity::PostingWriter@posting_writer> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const /usr/local/include/c++/v1/__functional/function.h:981:10 #11 0x55ef9828db5d in infinity::ColumnInverter@column_inverter::GeneratePosting() /infinity/src/storage/invertedindex/column_inverter.cpp:231:23 #12 0x55ef983349e2 in infinity::MemoryIndexer@memory_indexer::CommitSync(unsigned long) /infinity/src/storage/invertedindex/memory_indexer.cpp:285:44 #13 0x55ef98353cb3 in infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0::operator()(int) const /infinity/src/storage/invertedindex/memory_indexer.cpp:222:33 #14 0x55ef98353b08 in decltype(std::declval<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&>()(std::declval<int>())) std::__1::__invoke[abi:ne180100]<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&, int>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&, int&&) /usr/local/include/c++/v1/__type_traits/invoke.h:344:25 #15 0x55ef98353728 in std::__1::__packaged_task_func<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0, std::__1::allocator<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>, void (int)>::operator()(int&&) /usr/local/include/c++/v1/future:1442:10 #16 0x55ef9836465d in std::__1::__packaged_task_function<void (int)>::operator()(int) const /usr/local/include/c++/v1/future:1593:10 #17 0x55ef983643d3 in std::__1::packaged_task<void (int)>::operator()(int) /usr/local/include/c++/v1/future:1754:5 #18 0x55ef983562a2 in std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)::operator()(int) const /infinity/third_party/ctpl/ctpl_stl.h:262:17 #19 0x55ef98356278 in decltype(std::declval<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>()(std::declval<int>())) std::__1::__invoke[abi:ne180100]<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)&, int>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&, int&&) /usr/local/include/c++/v1/__type_traits/invoke.h:344:25 #20 0x55ef983561dc in void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ne180100]<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)&, int>(std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)&, int&&) /usr/local/include/c++/v1/__type_traits/invoke.h:419:5 #21 0x55ef983561b4 in std::__1::__function::__alloc_func<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int), std::__1::allocator<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)>, void (int)>::operator()[abi:ne180100](int&&) /usr/local/include/c++/v1/__functional/function.h:169:12 #22 0x55ef98354870 in std::__1::__function::__func<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int), std::__1::allocator<std::__1::future<decltype(fp(0))> ctpl::thread_pool::push<infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0>(infinity::MemoryIndexer@memory_indexer::Commit(bool)::$_0&&)::'lambda'(int)>, void (int)>::operator()(int&&) /usr/local/include/c++/v1/__functional/function.h:311:10 #23 0x55ef960744bb in std::__1::__function::__value_func<void (int)>::operator()[abi:ne180100](int&&) const /usr/local/include/c++/v1/__functional/function.h:428:12 #24 0x55ef960737ea in std::__1::function<void (int)>::operator()(int) const /usr/local/include/c++/v1/__functional/function.h:981:10 #25 0x55ef96072fa8 in ctpl::thread_pool::set_thread(int)::'lambda'()::operator()() const /infinity/third_party/ctpl/ctpl_stl.h:289:25 #26 0x55ef96072d64 in decltype(std::declval<ctpl::thread_pool::set_thread(int)::'lambda'()>()()) std::__1::__invoke[abi:ne180100]<ctpl::thread_pool::set_thread(int)::'lambda'()>(ctpl::thread_pool::set_thread(int)::'lambda'()&&) /usr/local/include/c++/v1/__type_traits/invoke.h:344:25 #27 0x55ef96072d3c in void std::__1::__thread_execute[abi:ne180100]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, ctpl::thread_pool::set_thread(int)::'lambda'()>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, ctpl::thread_pool::set_thread(int)::'lambda'()>&, std::__1::__tuple_indices<...>) /usr/local/include/c++/v1/__thread/thread.h:193:3 #28 0x55ef960729b5 in void* std::__1::__thread_proxy[abi:ne180100]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, ctpl::thread_pool::set_thread(int)::'lambda'()>>(void*) /usr/local/include/c++/v1/__thread/thread.h:202:3 #29 0x55ef95a4e4c8 in asan_thread_start(void*) /root/llvm-project-18.1.8.src/compiler-rt/lib/asan/asan_interceptors.cpp:239:28 #30 0x7f5fa5422ea4 in start_thread pthread_create.c #31 0x7f5fa4a27b0c in clone (/lib64/libc.so.6+0xfeb0c) (BuildId: 1a8fb61bb4614a483833d5334202ab50edda2a25) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /infinity/src/storage/tracer/memindex_tracer.cppm:89:41 in infinity::MemIndexTracer@memindex_tracer::IncreaseMemoryUsage(unsigned long) Thread T57 created by T0 here: #0 0x55ef95a365a1 in pthread_create /root/llvm-project-18.1.8.src/compiler-rt/lib/asan/asan_interceptors.cpp:250:3 #1 0x55ef95bd8c48 in std::__1::__libcpp_thread_create[abi:ne180100](unsigned long*, void* (*)(void*), void*) /usr/local/include/c++/v1/__threading_support:317:10 #2 0x55ef96072527 in std::__1::thread::thread<ctpl::thread_pool::set_thread(int)::'lambda'()&, void>(ctpl::thread_pool::set_thread(int)::'lambda'()&) /usr/local/include/c++/v1/__thread/thread.h:212:14 #3 0x55ef96068710 in ctpl::thread_pool::set_thread(int) /infinity/third_party/ctpl/ctpl_stl.h:304:40 #4 0x55ef96066938 in ctpl::thread_pool::resize(int) /infinity/third_party/ctpl/ctpl_stl.h:171:31 #5 0x55ef97645e3d in infinity::InfinityContext@infinity_context::SetIndexThreadPool() /infinity/src/main/infinity_context.cpp:510:28 #6 0x55ef97640a29 in infinity::InfinityContext@infinity_context::ChangeServerRole(infinity::NodeRole, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned short) /infinity/src/main/infinity_context.cpp:234:13 #7 0x55ef97644e12 in infinity::InfinityContext@infinity_context::InitPhase2(bool) /infinity/src/main/infinity_context.cpp:97:39 #8 0x55ef95c3bde8 in BufferObjTest_test1_Test::TestBody() /infinity/src/unit_test/storage/buffer/buffer_obj.cpp:93:43 #9 0x55ef9c5d9a98 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /infinity/third_party/googletest/googletest/src/gtest.cc:2599:10 #10 0x55ef9c589141 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /infinity/third_party/googletest/googletest/src/gtest.cc:2635:14 #11 0x55ef9c54d715 in testing::Test::Run() /infinity/third_party/googletest/googletest/src/gtest.cc:2674:5 #12 0x55ef9c54eda7 in testing::TestInfo::Run() /infinity/third_party/googletest/googletest/src/gtest.cc:2853:11 #13 0x55ef9c54ff05 in testing::TestSuite::Run() /infinity/third_party/googletest/googletest/src/gtest.cc:3012:30 #14 0x55ef9c56e936 in testing::internal::UnitTestImpl::RunAllTests() /infinity/third_party/googletest/googletest/src/gtest.cc:5870:44 #15 0x55ef9c5da5b8 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /infinity/third_party/googletest/googletest/src/gtest.cc:2599:10 #16 0x55ef9c58d806 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /infinity/third_party/googletest/googletest/src/gtest.cc:2635:14 #17 0x55ef9c56dd09 in testing::UnitTest::Run() /infinity/third_party/googletest/googletest/src/gtest.cc:5444:10 #18 0x55ef95a90190 in RUN_ALL_TESTS() /infinity/third_party/googletest/googletest/include/gtest/gtest.h:2293:73 #19 0x55ef95a90126 in main /infinity/src/unit_test/main.cpp:19:12 #20 0x7f5fa494b554 in __libc_start_main (/lib64/libc.so.6+0x22554) (BuildId: 1a8fb61bb4614a483833d5334202ab50edda2a25) ==237397==ABORTING
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for the same bug?
Actual behavior and How to reproduce it
https://github.com/infiniflow/infinity/actions/runs/13025609091/job/36334066330?pr=2490
[ RUN ] TestWithDifferentParams/CheckpointTest.test_index_replay_with_full_and_delta_checkpoint2/1
Expected behavior
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: