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

[Bug]: Segment fault in restart test #1967

Open
1 task done
JinHai-CN opened this issue Oct 4, 2024 · 0 comments
Open
1 task done

[Bug]: Segment fault in restart test #1967

JinHai-CN opened this issue Oct 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JinHai-CN
Copy link
Contributor

JinHai-CN commented Oct 4, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Actual behavior

https://github.com/infiniflow/infinity/actions/runs/11172190665/job/31060703175

==56380==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x5c7027c0d102 bp 0x7ffc19b53050 sp 0x7ffc19b53000 T0)
==56380==The signal is caused by a READ memory access.
==56380==Hint: address points to the zero page.
    #0 0x5c7027c0d102 in std::__1::shared_ptr<infinity::DataType>::shared_ptr[abi:ne180100](std::__1::shared_ptr<infinity::DataType> const&) /usr/local/include/c++/v1/__memory/shared_ptr.h:565:82
    #1 0x5c7027c25f22 in infinity::BlockEntry@block_entry::GetColumnType(unsigned long) const /infinity/src/storage/meta/entry/block_entry.cpp:609:12
    #2 0x5c7027c07885 in infinity::BlockColumnEntry@block_column_entry::NewReplayBlockColumnEntry(infinity::BlockEntry@block_entry const*, unsigned long, infinity::BufferManager@buffer_manager*, unsigned int, unsigned long, unsigned long) /infinity/src/storage/meta/entry/block_column_entry.cpp:120:47
    #3 0x5c7027b1f4be in infinity::Catalog@catalog::LoadFromEntryDelta(std::__1::unique_ptr<infinity::CatalogDeltaEntry@catalog_delta_entry, std::__1::default_delete<infinity::CatalogDeltaEntry@catalog_delta_entry>>, infinity::BufferManager@buffer_manager*) /infinity/src/storage/meta/catalog.cpp:798:21
    #4 0x5c7027b18e9e in infinity::Catalog@catalog::LoadFromFiles(infinity::FullCatalogFileInfo@log_file const&, std::__1::vector<infinity::DeltaCatalogFileInfo@log_file, std::__1::allocator<infinity::DeltaCatalogFileInfo@log_file>> const&, infinity::BufferManager@buffer_manager*) /infinity/src/storage/meta/catalog.cpp:544:18
    #5 0x5c7027f56f57 in infinity::Storage@storage::AttachCatalog(infinity::FullCatalogFileInfo@log_file const&, std::__1::vector<infinity::DeltaCatalogFileInfo@log_file, std::__1::allocator<infinity::DeltaCatalogFileInfo@log_file>> const&) /infinity/src/storage/storage.cpp:398:20
    #6 0x5c702812f147 in infinity::WalManager@wal_manager::ReplayWalFile(infinity::StorageMode@wal_manager) /infinity/src/storage/wal/wal_manager.cpp:680:15
    #7 0x5c7027f52503 in infinity::Storage@storage::SetStorageMode(infinity::StorageMode@wal_manager) /infinity/src/storage/storage.cpp:142:54
    #8 0x5c70279eedea in infinity::InfinityContext@infinity_context::ChangeRole(infinity::NodeRole@peer_task, 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>>, short) /infinity/src/main/infinity_context.cpp:111:31
    #9 0x5c70279ed950 in infinity::InfinityContext@infinity_context::Init(std::__1::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>> const&, bool, infinity::DefaultConfig@config*) /infinity/src/main/infinity_context.cpp:81:39
    #10 0x5c70277760d8 in main /infinity/src/bin/infinity_main.cpp:[178](https://github.com/infiniflow/infinity/actions/runs/11172190665/job/31060703175#step:10:179):33
    #11 0x73e112df8554 in __libc_start_main (/lib64/libc.so.6+0x22554) (BuildId: 1a8fb61bb4614a483833d5334202ab50edda2a25)
    #12 0x5c702769cec6 in _start (/infinity/cmake-build-debug/src/infinity+0xae0ec6)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /infinity/src/storage/meta/entry/block_entry.cpp:609:12 in infinity::BlockEntry@block_entry::GetColumnType(unsigned long) const
==56380==ABORTING
@JinHai-CN JinHai-CN added the bug Something isn't working label Oct 4, 2024
@small-turtle-1 small-turtle-1 mentioned this issue Oct 8, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants