-
Notifications
You must be signed in to change notification settings - Fork 12
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
DuckDB fails to create an HNSW index. #46
Comments
Are you compiling DuckDB yourself but using the nightly pre-built vss binary, or are you compiling vss too? |
|
Ok, so you did not compile vss from source? My guess is that the issue is related to ASAN being enabled in DuckDB, but not in the vss extension, causing the false positive error when executing the vss code. If that is the case this is not a bug, you just need to compile vss with asan enabled as part of your duckdb build or disable asan when building duckdb. |
How can I disable AddressSanitizer (ASAN)? @Maxxen |
But if you want to build DuckDB WITH vss yourself (not using the pre-built nightly version you download when you run INSTALL vss), you should read this: https://github.com/duckdb/duckdb/tree/main/extension#readme |
Thank you for sharing! By modifying the code, you successfully executed the |
The issue is still the same, you're running a locally built DuckDB (built in debug mode), but loading a released vss binary (built in release mode), I don't think there is any guarantee that it will work. You should make sure to build the vss extension locally (in debug) mode as well, the docs I linked explain how that works. |
When running a locally compiled program in debug mode (Mac OS m1), entering any invalid SQL statement (without loading plugins) causes the program to crash directly instead of returning an error.On my macOS system, the program seems to behave differently compared to Linux. When running in debug mode on Linux, I can see that errors are being caught, and the program does not crash. |
Resolved by utilizing the default macOS C++ build tools. The primary issue was a mismatch in the libwind version. @Maxxen |
What happens?
If following the Versioning of Extensions documentation leads to a crash after creating a new table, inserting data into a vector table, and creating an index, it likely indicates an issue with the database setup, extension compatibility, or versioning.
To Reproduce
OS:
macos 14.2.1
DuckDB Version:
v1.1.4-dev4271 d707b4432b
DuckDB Client:
cli
Hardware:
Apple M1 Pro
Full Name:
xuanwei zhang
Affiliation:
kipdata
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a source build
Did you include all relevant data sets for reproducing the issue?
No - Other reason (please specify in the issue body)
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: