pg.ddx.io pgvector/pgvector GitHub issues and pull requests
help / color / mirror / Atom feedFrom: YoimiyaLoveMe (@YoimiyaLoveMe) <noreply+YoimiyaLoveMe@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #893: server process was terminated by signal 11: Segmentation fault WHEN SELECT
Date: Fri, 29 Aug 2025 12:16:51 +0000
Message-ID: <gh-pgvector-pgvector-893-c3236844532@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-893@github.com>
References: <gh-pgvector-pgvector-893@github.com>
@ankane Thanks for reply. Here are some details:
1.PostgreSQL 16.10 and Ubuntu 22.04
2.pgvector v0.8.0 (commit 2627c5ff775ae6d7aef0c430121ccf857842d2f2)
3.install PG and pgvector-python using apt
4.\d msong:
```
Table "public.msong"
Column | Type | Collation | Nullable | Default
-----------+-------------+-----------+----------+-----------------------------------
id | bigint | | not null | nextval('msong_id_seq'::regclass)
embedding | vector(420) | | |
Indexes:
"msong_hnsw" hnsw (embedding vector_l2_ops)
```
5.EXPLAIN (ANALYZE, BUFFERS, SETTINGS)
As mentioned before, the 'error' sql can work normally when executed alone
```
Limit (cost=817.91..838.10 rows=10 width=1704) (actual time=182.130..183.762 rows=10 loops=1)
Buffers: shared hit=63 read=1040
-> Index Scan using msong_hnsw on msong (cost=817.91..2004745.44 rows=992272 width=1704) (actual time=182.128..183.758 rows=10 loops=1)
Order By: (embedding <-> '[6.20394,6.728592,5.577673,4.068038,4.304356,3.973755,4.196032,2.736797,2.730896,4.767528,2.230103,3.867867,2.512264,2.447017,2.31352,2
.026915,2.926622,2.348673,2.977229,2.320907,1.781369,2.040179,1.645849,1.702448,1.449433,1.415773,1.71897,1.473923,2.032973,1.359246,1.322377,1.145561,1.059009,1.442192,1
.029127,1.259502,1.251,1.145984,1.386879,0.874754,1.123022,0.878245,0.978114,0.913765,0.932987,1.138823,0.963653,0.948658,1.026079,0.81089,1.057678,0.97768,1.145535,0.917
077,0.942177,0.906845,0.911343,1.236397,0.854402,0.823594,1.045359,0.237427,2.32246,0.340074,0.438981,0.387416,0.152383,0.186669,0.194207,0.760038,0.09206,1.895929,0.2196
16,0.081356,0.203526,0.056881,0.781184,0.04358,0.032141,0.84018,0.10249,0.01763,0.02522,0.035208,0.128955,0.116722,0.008777,0.159885,0.147573,0.049274,0.014206,0.070772,0
.023917,0.104931,0.020959,0.032364,0.019057,0.043597,0.089588,0.004999,0.108063,0.003234,0.073048,0.062241,0.0121,0.102636,0.00785,0.010643,0.016959,0.045054,0.021151,0.0
52394,0.117092,0.029677,0.044741,0.078848,0.047629,0.167342,0.12427,0.076074,-0.65362,-0.698325,0.686462,-0.151185,0.580714,-0.70314,0.682425,0.084039,-0.083071,-0.291498
,0.702386,-0.585897,-0.147553,-0.694304,0.66352,0.670796,0.70635,-0.674848,-0.659542,-0.422668,-0.694864,-0.544436,0.060761,-0.157422,0.031307,0.503244,0.561054,0.129336,
-0.298965,0.64614,0.53556,0.70134,0.435962,-0.706834,-0.696598,0.6735,0.704893,-0.168509,0.141065,0.692092,-0.233427,0.67615,0.376125,0.665827,0.207752,0.70383,-0.371323,
-0.698237,0.557523,0.541606,-0.57915,0.678213,0.602972,0.596514,0.450181,0.705457,0.694387,0.613078,0.486636,0.522205,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,
1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.5,1.
5,1.5,1.5,1.5,1.5,6.656191,6.983913,4.8236,4.116361,4.062823,4.310907,4.00597,2.716991,2.750864,4.909634,2.066747,4.376338,2.550151,2.593254,2.107809,1.915549,2.430024,2.
44752,3.057966,2.545228,1.945972,2.084449,1.640591,1.718647,1.443311,1.312843,1.686434,1.445631,2.097292,1.263182,1.283491,1.003438,1.019786,1.626205,1.104247,1.174719,1.
174968,1.165301,1.363758,0.838892,1.1655,0.851192,0.920107,0.799163,0.920382,0.964235,0.982401,1.002689,0.981243,0.740608,1.11049,0.867983,1.013619,0.851744,0.886483,0.75
1163,0.799404,1.074546,0.75251,0.736512,5.033378,6.166725,4.577759,3.462221,3.796452,3.255486,3.937098,2.314989,2.280562,3.833404,2.043366,2.309016,2.025839,2.118327,2.00
1903,1.864472,2.402763,2.10885,2.771778,1.312956,1.412416,1.890922,1.489735,1.507236,1.09343,1.137427,1.645888,1.088964,1.620722,1.20148,1.227486,0.980778,0.927746,1.0681
65,0.862237,1.13766,1.167684,0.928198,1.099798,0.829169,0.775118,0.83995,0.741553,0.742176,0.829832,0.943671,0.867179,0.829698,0.924192,0.642687,0.893218,0.824276,0.88894
1,0.78703,0.764075,0.738372,0.771785,0.933013,0.56405,0.601829,6.922251,7.035139,7.331659,4.625532,5.053794,4.354872,4.645027,3.178411,3.161262,5.559547,2.580195,4.918247
,2.960803,2.629469,2.830849,2.300725,3.947078,2.489648,3.101943,3.104536,1.985719,2.145165,1.807221,1.88146,1.811557,1.79705,1.824588,1.887174,2.380907,1.613076,1.456153,
1.452467,1.229495,1.632206,1.120898,1.466126,1.410346,1.344453,1.697081,0.956201,1.428448,0.943593,1.272682,1.199956,1.048747,1.508563,1.04138,1.013588,1.172803,1.049375,
1.169327,1.240781,1.534047,1.112457,1.175972,1.231001,1.162839,1.701634,1.246645,1.13244]'::vector)
Buffers: shared hit=63 read=1040
Planning:
Buffers: shared hit=56 read=18 dirtied=1
Planning Time: 0.536 ms
Execution Time: 183.820 ms
```
view thread (8+ messages) latest in thread
Message-ID: <gh-pgvector-pgvector-893-c3236844532@github.com>
Permalink: ../gh-pgvector-pgvector-893-c3236844532@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