-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Supabase CLI (Docker local) pg_vector with index crashes Postgres #1074
Comments
I wasn't able to reproduce this locally with Could you please try
then connect on 5535 and try running your setup script
and let me know what result you get |
I followed the instructions and it seems to crash there too:
This is what the docker logs show when inserting the data:
Full log:
I found a bug report that looks somewhat related: pgvector/pgvector#389 |
Similar to that thread, are you also running CentOS? |
No. I'm running Ubuntu 24.04 LTS. Full system specs in the original bug report. The similarities are that I use pg_vector and get the same error: "Illegal instruction". My googling only gives results related to the build flags that they discuss also in that related bug report. I wanted to link it if it gives any insight on what might be happening. Unfortunately, I don't have the skills to asses if that is actually related in any way. |
Bug report
Describe the bug
Supabase (or more specifically Postgres) crashes whenever an indexing happens on a vector column.
Error in the Docker logs:
server process (PID 604) was terminated by signal 4: Illegal instruction
To Reproduce
Steps to reproduce the behavior:
npx supabase init
npx supabase start
docker logs <db container> -f
and observe the logsAll should be ok now.
Error: Connection terminated unexpectedly
If you switch the order of the index creation and the insert, i.e. first insert data then create the index, the same error happens.
The same error happens also with the
ivfflat
index and all distance operators.Expected behavior
An index is created successfully.
System information
Linux xx 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional context
The above works on hosted Supabase.
The text was updated successfully, but these errors were encountered: