Re: Segmentation Fault PG 14

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Willian Colognesi <willian_colognesi(at)trimble(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Segmentation Fault PG 14
Date: 2022-11-07 19:38:37
Message-ID: 3388196.1667849917@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Willian Colognesi <willian_colognesi(at)trimble(dot)com> writes:
> `I take it things were okay with the version you used previously?`

> Yes, it was working pretty well in another instance with pg version
> `12.4-1.pgdg18.04+1`, and we had to make a migration of one database that
> was running in this server to another using Logical Replication.

12.4 to 14.5 is kind of a big jump :-(.

The stack trace seems to indicate that ExecProcNode transferred control
to never-never land, which says that something clobbered the function
pointer it's trying to indirect through. I don't recall having seen
any similar reports though.

Are you using any extensions besides those that come with core Postgres?
A build incompatibility with some third-party extension might explain
this, perhaps.

One thing I'm curious about is that the stack trace seems to imply that
there was an Append plan node immediately below another Append. That
shouldn't happen AFAIK --- the planner tries to collapse out such
cases. Can you get us an EXPLAIN for the problem query?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Willian Colognesi 2022-11-07 20:15:25 Re: Segmentation Fault PG 14
Previous Message Adrian Klaver 2022-11-07 19:36:59 Re: Segmentation Fault PG 14