From: Tom Lane <tgl@sss.pgh.pa.us>
To: jfinzel <finzelj@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Segmentation Fault in logical decoding get/peek API
Date: Thu, 14 Feb 2019 17:26:55 -0500
Message-ID: <2527.1550183215@sss.pgh.pa.us> (raw)
In-Reply-To: <1550176423593-0.post@n3.nabble.com>
References: <1519042814659-0.post@n3.nabble.com>
<20180220175530.6ib4b3ngzkipekgs@alap3.anarazel.de>
<d1354af3-d34a-75a2-a171-3ac981bce639@2ndquadrant.com>
<CAH2-WzkXxqtEH8CpUrpSewFfiZFqyjrhjQ1nLeYb_n-kR_uU0Q@mail.gmail.com>
<1519197538224-0.post@n3.nabble.com>
<9fe0a6de-d204-9067-4eba-dd686077dd89@2ndquadrant.com>
<1550176423593-0.post@n3.nabble.com>
jfinzel <finzelj@gmail.com> writes:
> We ran into a segmentation fault using peek_changes that appears identical
> with what is described in this unfinished thread. We are running pg 10.3,
> and the segfault was fixed by us upgrading to 10.6. However, we could not
> find any clearly related fixes in any of the release notes for 10.4-6
> relating to this bug fix. I did find this commit that I believe fixes the
> issue:
> https://github.com/postgres/postgres/commit/bba8c612117416907f332fce8b9e80b748e0b798> If this indeed fixes a critical issue as we think it does, could someone
> please add it in the right place to the release notes?
You'd have to provide some evidence that that commit actually had
something to do with a user-visible problem. It certainly wouldn't,
by itself, have completely fixed any problem: at best it'd have
transformed it from a crash into an elog(ERROR). More to the point,
that commit was intended to silence a probably-hypothetical-anyway
warning about the prior commit, so it wasn't fixing any issue that
ever saw the light of day in a PG release.
So my bet is that your problem was fixed by some other commit between
10.3 and 10.6. Maybe the predecessor one, b767b3f2e; but hard to say
without more investigation than seems warranted, if the bug's gone.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, finzelj@gmail.com
Subject: Re: Segmentation Fault in logical decoding get/peek API
In-Reply-To: <2527.1550183215@sss.pgh.pa.us>
References: <1519042814659-0.post@n3.nabble.com> <20180220175530.6ib4b3ngzkipekgs@alap3.anarazel.de> <d1354af3-d34a-75a2-a171-3ac981bce639@2ndquadrant.com> <CAH2-WzkXxqtEH8CpUrpSewFfiZFqyjrhjQ1nLeYb_n-kR_uU0Q@mail.gmail.com> <1519197538224-0.post@n3.nabble.com> <9fe0a6de-d204-9067-4eba-dd686077dd89@2ndquadrant.com> <1550176423593-0.post@n3.nabble.com> <2527.1550183215@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox