Hi, On 2022-04-03 08:07:58 +1200, Thomas Munro wrote: > On Sun, Apr 3, 2022 at 12:41 AM John Naylor > <john.nay...@enterprisedb.com> wrote: > > On Sat, Apr 2, 2022 at 5:27 PM Thomas Munro <thomas.mu...@gmail.com> wrote: > > > Reproduced locally, using the same few lines from the cluster.sql > > > test. I'll try to dig more tomorrow... > > > > Thanks! Unfortunately I can't reproduce locally with clang 13/gcc 11, > > with -Og or -O2 with CFLAGS="-fsanitize=undefined,alignment" ... > > Maybe you need to add -fno-sanitize-recover=all to make it crash, > otherwise it just prints the warning and keeps going.
I commented with a few more details on https://postgr.es/m/20220402201557.thanbsxcql5lk6pc%40alap3.anarazel.de and an preliminary analysis in https://www.postgresql.org/message-id/20220402203344.ahup2u5n73cdbbcv%40alap3.anarazel.de Greetings, Andres Freund