From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, jeff(dot)janes(at)gmail(dot)com, frank(dot)gagnepain(at)intm(dot)fr, pgsql-bugs(at)lists(dot)postgresql(dot)org, Mark Wong <mark(at)2ndquadrant(dot)com> |
Subject: | Re: BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data |
Date: | 2020-07-22 23:16:39 |
Message-ID: | 20200722231639.GA26630@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Jul 22, 2020 at 06:38:50PM -0400, Tom Lane wrote:
> is setting next_in to garbage. However, if we've already set
> eof to 1, which we have, then we won't call inflate() again
> so the garbage pointer should not matter. (Besides which,
> zlib really shouldn't dereference that pointer if avail_in is 0.)
Yeah, I looked at zlib quite a bit to reach this same conclusion when
studying this problem.
> I'm still baffled as to why only the SLES s390x animals are failing,
> but it's beginning to seem like it might be due to them using a
> different zlib version.
My main suspicion is that they are using hardware-specific calls in a
proprietary fork of libz. They have a lot of changes in their
release notes that are hardware-specific:
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15-SP1/
I could not find the RPMs though, and perhaps it is based on zlib-ng
or similar but that's hard to say.
> Horiguchi-san's v3 patch at
> <20200612(dot)145412(dot)475791851624925277(dot)horikyota(dot)ntt(at)gmail(dot)com>
> doesn't have either of these problems, so it seems much superior
> to me than what you actually did. I don't have a lot of hope that
> changing to that one would fix the buildfarm problem --- but maybe it
> would, if the machine-dependent behavior is somehow hiding in the
> repeat-call-after-EOF code path.
Perhaps. It could be possible to give it a try on HEAD, though I
doubt that it would solve the problem :/
For now, more investigation is needed for this SLES behavior though.
So, to put the buildfarm back to green, I am reverting the patch.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Wong | 2020-07-22 23:25:40 | Re: BUG #16476: pgp_sym_encrypt_bytea with compress-level=6 : Wrong key or corrupt data |
Previous Message | Jeff Janes | 2020-07-22 22:53:47 | Re: BUG #16550: Problem with pg_service.conf |