From: Tom Lane <tgl@sss.pgh.pa.us>
To: John DeSoi <john@desoi.dev>
Cc: Joe Conway <mail@joeconway.com>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: libpq crashing on macOS during connection startup
Date: Thu, 30 Nov 2023 15:07:49 -0500
Message-ID: <508800.1701374869@sss.pgh.pa.us> (raw)
In-Reply-To: <0100018c20c97a5e-2aa47402-cd8c-4548-bbd3-b17d10020b39-000000@email.amazonses.com>
References: <0100018c20b152e0-ec85ac20-b379-46d7-a962-c59e00f3201c-000000@email.amazonses.com>
<96e41ee8-a1b6-4bf9-82b5-1c0fd2d5502a@joeconway.com>
<0100018c20c97a5e-2aa47402-cd8c-4548-bbd3-b17d10020b39-000000@email.amazonses.com>
John DeSoi <john@desoi.dev> writes:
>> On Nov 30, 2023, at 8:59 AM, Joe Conway <mail@joeconway.com> wrote:
>> Did you recently get an OpenSSL upgrade to v3.2.0? This is a shot in the dark, but perhaps related to the discussion here?
>> https://www.postgresql.org/message-id/flat/CAN55FZ1eDDYsYaL7mv%2BoSLUij2h_u6hvD4Qmv-7PK7jkji0uyQ%40m...> No, this server is on openssl 3.1.4. But thanks for sending that, I'm about to setup a new server and I'm sure it will end up with the latest versions.
The crash appears to be happening within GSSAPI authentication, which
presumably indicates that we're not using OpenSSL, so that isn't
where to look.
What troubles me about that stack trace is the references to Heimdal.
We gave up supporting Heimdal (and v16 explicitly rejects building
with it) because its support for Kerberos credentials was too
incomplete and flaky. So I'm inclined to guess that you are running
into some Heimdal bug. Try to rebuild libpq using MIT Kerberos
and see if things get better.
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, john@desoi.dev, mail@joeconway.com
Subject: Re: libpq crashing on macOS during connection startup
In-Reply-To: <508800.1701374869@sss.pgh.pa.us>
References: <0100018c20b152e0-ec85ac20-b379-46d7-a962-c59e00f3201c-000000@email.amazonses.com> <96e41ee8-a1b6-4bf9-82b5-1c0fd2d5502a@joeconway.com> <0100018c20c97a5e-2aa47402-cd8c-4548-bbd3-b17d10020b39-000000@email.amazonses.com> <508800.1701374869@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