RE: [EXTERNAL] BUG #16655: pg_dump segfault when excluding postgis table

From: "Godfrin, Philippe E" <Philippe(dot)Godfrin(at)nov(dot)com>
To: "cam(dot)daniel(at)gmail(dot)com" <cam(dot)daniel(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: RE: [EXTERNAL] BUG #16655: pg_dump segfault when excluding postgis table
Date: 2020-10-06 12:48:03
Message-ID: SA0PR15MB3933DCF0A02190D0DA9D1669820D0@SA0PR15MB3933.namprd15.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Is this hosted on AWS or EKS?
Phil godfrin

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
Sent: Monday, October 5, 2020 3:55 PM
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: cam(dot)daniel(at)gmail(dot)com
Subject: [EXTERNAL] BUG #16655: pg_dump segfault when excluding postgis table

Use caution when interacting with this [EXTERNAL] email!

The following bug has been logged on the website:

Bug reference: 16655
Logged by: Cameron Daniel
Email address: cam(dot)daniel(at)gmail(dot)com<mailto:cam(dot)daniel(at)gmail(dot)com>
PostgreSQL version: 13.0
Operating system: Debian Buster
Description:

I'm getting a segfault when trying to pg_dump a database containing the
postgis extension, but only when excluding the spatial_ref_sys table. I am
using Docker but the base image is standard Debian and Postgres is being
installed from the official APT repos.

The Docker config is here for reference -
https://github.com/ccakes/nomad-pgsql-patroni/<https://github.com/ccakes/nomad-pgsql-patroni>

Reproduction steps: https://paste.rs/bHR<https://paste.rs/bHR>
Backtrace: https://paste.rs/Ym3<https://paste.rs/Ym3>

The segfault appears to be in pg_dump, the server just logs "unexpected EOF
on client connection with an open transaction" and continues running fine
otherwise.

Let me know if there's any extra info I can provide

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Cameron Daniel 2020-10-06 13:37:54 Re: [EXTERNAL] BUG #16655: pg_dump segfault when excluding postgis table
Previous Message Y. NAKAGAWA 2020-10-06 09:44:43 RE: BUG #16645: pg_upgrade does not mark template1 as a system database