server mode crash frequently.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5k
- Forks
- 622
- Avg merge
- 8h 37m
- Merged PRs (30d)
- 5
Description
call stack:
0 __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:527
#1 0x00007f96341bb76a in std::basic_streambuf<char, std::char_traits >::xsgetn(char*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00007f96341872e3 in std::basic_filebuf<char, std::char_traits >::xsgetn(char*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007f96341944bd in std::istream::read(char*, long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x0000565324d916a8 in SPTAG::FileMetadataSet::GetMetadata(int) const ()
#5 0x0000565324d3977f in SPTAG::BKT::Index::SearchIndex(SPTAG::QueryResult&) const ()
#6 0x0000565324dab607 in SPTAG::Service::SearchExecutor::ExecuteInternal() ()
#7 0x0000565324dab21c in SPTAG::Service::SearchExecutor::Execute() ()
#8 0x0000565324daeb71 in SPTAG::Service::SearchService::SearchHanlder(unsigned int, SPTAG::Socket::Packet) ()
#9 0x0000565324dc08c5 in void std::__invoke_impl<void, void (SPTAG::Service::SearchService::&)(unsigned int, SPTAG::Socket::Packet), SPTAG::Service::SearchService&, unsigned int&, SPTAG::Socket::Packet&>(std::__invoke_memfun_deref, void (SPTAG::Service::SearchService::&)(unsigned int, SPTAG::Socket::Packet), SPTAG::Service::SearchService&, unsigned int&, SPTAG::Socket::Packet&) ()
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the server-mode search path shown in the stack trace, following SearchService::SearchHanlder through SearchExecutor::ExecuteInternal and BKT::Index::SearchIndex. Inspect FileMetadataSet::GetMetadata, especially its file-read operation, and reproduce the crash with a server-mode search. Done means identifying and fixing the crash and confirming that the same search path no longer fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, distributed-systems, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100