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

SaveIndex failed (Segmentation Fault) after Delete. #78

Open
AmigoCDT opened this issue Jul 11, 2019 · 1 comment
Open

SaveIndex failed (Segmentation Fault) after Delete. #78

AmigoCDT opened this issue Jul 11, 2019 · 1 comment

Comments

@AmigoCDT
Copy link

Describe the bug
When I test SPTAG in python by your python test code. I find when I delete some data from Index, SaveIndex always get segmentation fault.

This is Delete and Save code:

def testDelete(index, x, out):
   i = SPTAG.AnnIndex.Load(index)
   ret = i.Delete(x.tobytes(), x.shape[0])
   print (ret)
   print("Del finished...................")
   i.Save(out)

SPTAG_save_err
After save tree.bin finished, segmentation fault.
Thanks for your favor.

@AmigoCDT AmigoCDT changed the title SaveIndex failed after Delete. SaveIndex failed (Segmentation Fault) after Delete. Jul 12, 2019
@MohamedAliRashad
Copy link

I have this same bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants