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: Seg Fault on index.add in Rust #193

Closed
2 tasks done
tiagoml98 opened this issue Aug 7, 2023 · 4 comments
Closed
2 tasks done

Bug: Seg Fault on index.add in Rust #193

tiagoml98 opened this issue Aug 7, 2023 · 4 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@tiagoml98
Copy link

Describe the bug

I receive a segmentation fault when trying to add to an index in Rust, the error can be a direct segmentation fault or a "process didn't exit successfully", even when trying code from the docs. Is there something I am missing?

Steps to reproduce

Create IndexOptions, create index, create a vector slice, and pass it into index.add() alongside a key

Expected behavior

Index should add with no issues and be able to be searchable

USearch version

1.1.1

Operating System

Windows, Arch Linux

Hardware architecture

x86

Which interface are you using?

C++ implementation

Contact Details

tiagoml98@gmail.com

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@tiagoml98 tiagoml98 added bug Something isn't working invalid This doesn't seem right labels Aug 7, 2023
@ashvardanian
Copy link
Contributor

Can you share the code? Did you reserve capacity ahead of time? @tiagoml98

@ashvardanian
Copy link
Contributor

This passes CI, so should probably work.

@tiagoml98
Copy link
Author

I think that was it, thanks for the help!

@ashvardanian
Copy link
Contributor

@tiagoml98, great! Let us know once you build something cool with it! Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants