public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Ranier Vilela <[email protected]>
Cc: Tomas Vondra <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Masahiko Sawada <[email protected]>
Cc: John Naylor <[email protected]>
Subject: Re: suspicious valgrind reports about radixtree/tidstore on arm64
Date: Thu, 20 Jun 2024 11:33:46 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAEudQArCRwOjTz3-46YwJU3Ci3RtsOEMVSHFa8YmUJLGTpnTEQ@mail.gmail.com>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<CAEudQArCRwOjTz3-46YwJU3Ci3RtsOEMVSHFa8YmUJLGTpnTEQ@mail.gmail.com>
Ranier Vilela <[email protected]> writes:
> Em qua., 19 de jun. de 2024 às 20:52, Tom Lane <[email protected]> escreveu:
>> Hah: it's the second case. If I patch radixtree.h as attached,
>> then x86_64 valgrind complains about
>> ==00:00:00:32.759 247596== Conditional jump or move depends on
>> uninitialised value(s)
>> ==00:00:00:32.759 247596== at 0x52F668: local_ts_node_16_search_eq
>> (radixtree.h:1018)
>> showing that it knows that the result of vector8_highbit_mask is
>> only partly defined.
> I wouldn't be surprised if *RT_NODE_16_GET_INSERTPOS*
> (src/include/lib/radixtree.h),
> does not suffer from the same problem?
Dunno, I only saw valgrind complaints in local_ts_node_16_search_eq,
and Tomas reported the same.
It seems moderately likely to me that this is a bug in aarch64
valgrind. Still, if it is that then people will have to deal with it
for awhile yet. It won't cost us anything meaningful to work around
it (he says, without having done actual measurements...)
regards, tom lane
view thread (3+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: suspicious valgrind reports about radixtree/tidstore on arm64
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox