pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #874: The server terminated abnormally when SELECT vector using <=>
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #874: The server terminated abnormally when SELECT vector using <=>
@ 2025-07-15 06:57 "BESTLyc (@BESTLyc)" <noreply+BESTLyc@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: BESTLyc (@BESTLyc) @ 2025-07-15 06:57 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Here is my env.
<img width="836" height="186" alt="Image" src="https://github.com/user-attachments/assets/12399008-e8d2-436d-8f05-a5ab814c9ae7"; />

I running the same pgsql in another server which with inter CPU is ok.But running on my AMD E-350 Processor failed.Is it a compatibility issue?

Here is the client log
```
psql (15.8 (Debian 15.8-0+deb12u1))
Type "help" for help.

postgres=# EXPLAIN ANALYZE
WITH target AS (
  SELECT vector FROM face_vector_1 WHERE face_id = 83466
)
SELECT
  f.face_id,
  f.vector <=> t.vector AS distance
FROM face_vector_1 f, target t
ORDER BY distance
LIMIT 5;
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
The connection to the server was lost. Attempting reset: Failed.
!?> 
```

Here is the server log
```
2025-07-15 14:50:18.517 CST [73108] LOG:  server process (PID 87301) was terminated by signal 4: Illegal instruction
2025-07-15 14:50:18.517 CST [73108] DETAIL:  Failed process was running: EXPLAIN ANALYZE
        WITH target AS (
          SELECT vector FROM face_vector_1 WHERE face_id = 83466
        )
        SELECT
          f.face_id,
          f.vector <=> t.vector AS distance
        FROM face_vector_1 f, target t
        ORDER BY distance
        LIMIT 5;
2025-07-15 14:50:18.518 CST [73108] LOG:  terminating any other active server processes
2025-07-15 14:50:18.531 CST [87302] FATAL:  the database system is in recovery mode
2025-07-15 14:50:18.543 CST [73108] LOG:  all server processes terminated; reinitializing
2025-07-15 14:50:18.635 CST [87303] LOG:  database system was interrupted; last known up at 2025-07-15 14:41:12 CST
2025-07-15 14:50:18.761 CST [87303] LOG:  database system was not properly shut down; automatic recovery in progress
2025-07-15 14:50:18.778 CST [87303] LOG:  redo starts at 1/83C9C4D8
2025-07-15 14:50:18.778 CST [87303] LOG:  invalid record length at 1/83C9C510: wanted 24, got 0
2025-07-15 14:50:18.779 CST [87303] LOG:  redo done at 1/83C9C4D8 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
2025-07-15 14:50:18.806 CST [87304] LOG:  checkpoint starting: end-of-recovery immediate wait
2025-07-15 14:50:18.875 CST [87304] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.016 s, total=0.085 s; sync files=2, longest=0.009 s, average=0.008 s; distance=0 kB, estimate=0 kB
2025-07-15 14:50:18.901 CST [73108] LOG:  database system is ready to accept connections
```

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #874: The server terminated abnormally when SELECT vector using <=>
@ 2025-07-15 07:08 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-07-15 07:08 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @BESTLyc, see the docs on [portability](https://github.com/pgvector/pgvector?tab=readme-ov-file#portability).

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #874: The server terminated abnormally when SELECT vector using <=>
@ 2025-07-15 07:08 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-07-15 07:08 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2025-07-15 07:08 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-15 06:57 [pgvector/pgvector] issue #874: The server terminated abnormally when SELECT vector using <=> "BESTLyc (@BESTLyc)" <noreply+BESTLyc@github.com>
2025-07-15 07:08 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-07-15 07:08 ` "ankane (@ankane)" <noreply+ankane@github.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox