BUG #16655: pg_dump segfault when excluding postgis table

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: cam(dot)daniel(at)gmail(dot)com
Subject: BUG #16655: pg_dump segfault when excluding postgis table
Date: 2020-10-05 20:54:43
Message-ID: 16655-5c92d6b3a9438137@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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
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/

Reproduction steps: https://paste.rs/bHR
Backtrace: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-10-05 22:31:08 Re: BUG #16655: pg_dump segfault when excluding postgis table
Previous Message PG Bug reporting form 2020-10-05 10:51:13 BUG #16654: aarch64 can not install postgres12 because of file not exist