Re: BUG #18815: Logical replication worker Segmentation fault - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18815: Logical replication worker Segmentation fault
Date
Msg-id 917262.1739825850@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18815: Logical replication worker Segmentation fault  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #18815: Logical replication worker Segmentation fault
List pgsql-bugs
Further to this ... I'd still really like to have a reproducer.
While brininsertcleanup is clearly being less robust than it should
be, I now suspect that there is another bug somewhere further down
the call stack.  We're getting to this point via ExecCloseIndices,
and that should be paired with ExecOpenIndices, and that would have
created a fresh IndexInfo.  So it looks a lot like some path in a
logrep worker is able to call ExecCloseIndices twice on the same
working data.  That would probably lead to a "releasing a lock you
don't own" error if we weren't hitting this crash first.

            regards, tom lane



pgsql-bugs by date:

Previous
From: "Jose Fco. Mojada"
Date:
Subject: Re: Possible bug ¿? missing "ucol.h" in postgre installation
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #18594: CASE WHEN ELSE failing to return the expected output when the same colum is used in WHEN and ELSE