microsoft / microsoft/SPTAG

Building a 1000W BKT index crashes

Open
#410 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

Describe the bug
I crashed when building a BKT index using 1000W, 10 dimension data, and the core file shows a crash in the following code.
image
I tried to move the part of the shuffling algorithm out of the concurrent part, and the core phenomenon disappeared.
image

Desktop (please complete the following information):

  • OS: Linux Ubuntu 22.04.3 LTS
  • gcc Version: 11.4.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the BKT index build with the 1000W, 10-dimension dataset on Ubuntu 22.04.3 with GCC 11.4.0, then inspect the core dump and the concurrent shuffling code shown in the issue. Done means the build no longer crashes under this configuration, with regression coverage for the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.