From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | eronenp(at)gmail(dot)com |
Subject: | BUG #17362: Error "could not find block containing chunk" when using index with icu collation on CentOS 7 |
Date: | 2022-01-11 10:46:41 |
Message-ID: | 17362-63967721ee562fa7@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17362
Logged by: Pasi Eronen
Email address: eronenp(at)gmail(dot)com
PostgreSQL version: 14.1
Operating system: CentOS 7
Description:
When I query a table containing certain Unicode data, using an index that
has certain collation, I get error message "could not find block containing
chunk". This is fully reproducible on CentOS 7 using the official RPM. (I
could not reproduce this on Oracle Linux 8, though):
Installing PostgreSQL on new CentOS 7 VM:
vagrant init centos/7
vagrant up
vagrant ssh
sudo -i
yum update -y
yum install -y
https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install -y postgresql14-server
su - postgres
cd /var/lib/pgsql
/usr/pgsql-14/bin/initdb data
/usr/pgsql-14/bin/pg_ctl -D data -l postgres.log start
Populating data (bad_strings_data.sql contains non-ASCII characters, so
using base64 here to ensure they don't get modified in this bug report):
/usr/pgsql-14/bin/psql
postgres=# CREATE TABLE public.bad_strings (id uuid, value text);
postgres=# CREATE INDEX bad_strings_lower_idx ON public.bad_strings USING
btree (lower((value COLLATE "fi-FI-x-icu")));
base64 -d <<EOF | gunzip > /tmp/bad_strings_data.sql
H4sIAN9Z3WEAA+2dy45lW3aW27GeouSWQczyvF+EsQQGm5uxZS6SBRKaV1PCLlsu24InoEcbuYOB
F0CiQ9uPwgvAI/D9+5xTJzMjdsSOSJeFUO2qzKrMjDXXvIzL/485xti/+pu/9Ts/+MM/Gb/3o/nD
0de//skf/9GPfvy7P/nBL/5o/Y0f/Gn/vT/Zf+0Hv/bbv/kbP/jJH68f/fhvXv24Xn1u5t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3Z3n1M6s6CMD1b3GTfLuKH8Y3NUpJebjzcOfsMvTtPbBxm5Rs
OZlHCyOZCcJIC4ZdV7zbLq/Edvya+r4aXU9sy5bdSg5HyW0d/uvSuworLzall6iyJKfeaKsUM/Q9
Iw7Gqv5WtpVnbboupySdqS/LsUoJ/6bYsCspMHoAUUEj2vPW9X1a34SXkKSmyNGN1PA8ZMjCfGeL
642M7Avl87VVq4RD9QVTuK+p01k8s3fH4dd1Lzrw/s9VwLK9fVOaE5SLp/5UUDifmqullaYqlgfv
e19/k9oB2IrqwrWwDmk706zvkP/VkNvhRn5XJcKtV3EpyoCFDifhWX3rkqqXwKag/lj2eLgo9YXh
Q1lxbrBc6aKotamh7OkGgZoNXS5plK9maBfIdNStfPTbt5ZIB5u+98r5qiQYFGnP7yKW154TGKzG
A02Bptvdg6R0jYbVRVgY5NX2xHcmsXIOY/pgfFFSnMKGQO5iPPxkTbvH2P1dVSIhehVG3tKklOSQ
b1/PgFD3GkMZi5ObrxLuqy2/vb5Sw9/61Wx+G7qtcWoxCklwPfenf3v38Tly1y0BNvpW3H9uVVaK
NxUoQ8ALpVczbh5aZYaETLuqSeqGGJO9fQMEc1QHZiX4xRd95eW3dcrzNfZ2+b9nE69CM7xvZec8
fPok0HpZ69TotpqyREVvxS5wAU6dc7cK55TXC04vtShVX1aDauvCBX/cbl4s1BbxNmfuO91pr9Zj
qbsvs7aa5ES1ptU1foLreJe6rfXLvkxXTWXbhHAef2upz4tHwI5mp74u2OKDUfmKStaLPcgr4RvU
llqdOnGPCcLkm49Q3BTK/KRt+xWd5SODI6IZ9eU9VWG+pbKS0lRW+a601isn/EASzcu362F9BwHY
xuQeDuS1Deb1htW8/tUPr/8Ltw0xjodvAAA=
EOF
/usr/pgsql-14/bin/psql < /tmp/bad_strings_data.sql
Query (using enable_seqscan=off to force index scan):
/usr/pgsql-14/bin/psql
postgres=# set enable_seqscan=off;
postgres=# \set VERBOSITY verbose
postgres=# select id from bad_strings order by lower(value collate
"fi-FI-x-icu") asc, id;
ERROR: XX000: could not find block containing chunk 0x20c2398
LOCATION: AllocSetFree, aset.c:1026
The version I'm using:
postgres=# select version();
PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623
(Red Hat 4.8.5-44), 64-bit
# rpm -qa | egrep 'icu|postgresql'
postgresql14-server-14.1-1PGDG.rhel7.x86_64
libicu-50.2-4.el7_7.x86_64
postgresql14-14.1-1PGDG.rhel7.x86_64
postgresql14-libs-14.1-1PGDG.rhel7.x86_64
Stack trace from "errfinish" (using a version compiled from
postgresql14-14.1-1PGDG.rhel7.src.rpm)
(gdb) bt
#0 errfinish (filename=filename(at)entry=0xa857b3 "aset.c",
lineno=lineno(at)entry=1026, funcname=funcname(at)entry=0xa857c0 <__func__.6365>
"AllocSetFree") at elog.c:514
#1 0x0000000000902b19 in AllocSetFree (context=<optimized out>,
pointer=0x254e4b8) at aset.c:1026
#2 0x00000000008b4728 in varstrfastcmp_locale (a1p=0x2550da9 "a", 'x'
<repeats 27 times>, len1=28, a2p=0x2550ad9 "axxxxxxx-\245w\256\245q\240g[",
'x' <repeats 14 times>, "@",
len2=<optimized out>, ssup=0x254c868, ssup=0x254c868) at
varlena.c:2425
#3 0x00000000008b47c6 in varlenafastcmp_locale (x=39128488, y=39127768,
ssup=0x254c868) at varlena.c:2280
#4 0x0000000000912f55 in ApplySortAbbrevFullComparator (ssup=0x254c868,
isNull2=<optimized out>, datum2=<optimized out>, isNull1=false,
datum1=<optimized out>)
at ../../../../src/include/utils/sortsupport.h:262
#5 comparetup_heap (a=<optimized out>, b=<optimized out>, state=0x254c458)
at tuplesort.c:3791
#6 0x0000000000911d3b in qsort_tuple (data=<optimized out>, n=<optimized
out>, compare=0x912d70 <comparetup_heap>, arg=arg(at)entry=0x254c458)
at ../../../../src/include/lib/sort_template.h:351
#7 0x0000000000913eb6 in tuplesort_sort_memtuples
(state=state(at)entry=0x254c458) at tuplesort.c:3566
#8 0x0000000000915be4 in tuplesort_performsort
(state=state(at)entry=0x254c458) at tuplesort.c:2061
#9 0x0000000000663dfe in ExecIncrementalSort (pstate=0x2535be0) at
nodeIncrementalSort.c:776
#10 0x0000000000642232 in ExecProcNode (node=0x2535be0) at
../../../src/include/executor/executor.h:257
#11 ExecutePlan (execute_once=<optimized out>, dest=0x253d238,
direction=<optimized out>, numberTuples=0, sendTuples=true,
operation=CMD_SELECT,
use_parallel_mode=<optimized out>, planstate=0x2535be0,
estate=0x25359b8) at execMain.c:1551
#12 standard_ExecutorRun (queryDesc=0x2540548, direction=<optimized out>,
count=0, execute_once=<optimized out>) at execMain.c:361
#13 0x00000000007b60fb in PortalRunSelect (portal=portal(at)entry=0x24de9f8,
forward=forward(at)entry=true, count=0, count(at)entry=9223372036854775807,
dest=dest(at)entry=0x253d238)
at pquery.c:921
#14 0x00000000007b7587 in PortalRun (portal=portal(at)entry=0x24de9f8,
count=count(at)entry=9223372036854775807, isTopLevel=isTopLevel(at)entry=true,
run_once=run_once(at)entry=true,
dest=dest(at)entry=0x253d238, altdest=altdest(at)entry=0x253d238,
qc=qc(at)entry=0x7fffaf9db030) at pquery.c:765
#15 0x00000000007b3337 in exec_simple_query (query_string=0x247afb8 "select
id from bad_strings order by lower(value collate \"fi-FI-x-icu\") asc, id;")
at postgres.c:1214
#16 0x00000000007b47b3 in PostgresMain (argc=argc(at)entry=1,
argv=argv(at)entry=0x7fffaf9db400, dbname=0x24a6a08 "postgres",
username=<optimized out>) at postgres.c:4486
#17 0x000000000048cba5 in BackendRun (port=<optimized out>, port=<optimized
out>) at postmaster.c:4530
#18 BackendStartup (port=0x249e1d0) at postmaster.c:4252
#19 ServerLoop () at postmaster.c:1745
#20 0x0000000000731e32 in PostmasterMain (argc=argc(at)entry=3,
argv=argv(at)entry=0x2475b20) at postmaster.c:1417
#21 0x000000000048dcc2 in main (argc=3, argv=0x2475b20) at main.c:209
Best regards,
Pasi
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-01-11 19:45:19 | Re: When Update balloons memory |
Previous Message | Роман Григорович | 2022-01-11 06:44:23 | Re: BUG #17361: Unique index constraint inconsistence |