Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> It doesn't seem to be particularly platform-specific, but I've been
> unable to reproduce it so far. It seems on older gcc versions, though.
It's looking kind of like an uninitialized-memory problem. Note
the latest from spurfowl,
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=spurfowl&dt=2020-04-07%2000%3A15%3A05
which got through "make check" and then failed during pg_upgrade's
repetition of the test. Similarly on rhinoceros. So there's definitely
instability there even on one machine.
Perhaps something to do with unexpected cache flushes??
regards, tom lane