Re: libpq crashing on macOS during connection startup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John DeSoi <john(at)desoi(dot)dev>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq crashing on macOS during connection startup
Date: 2023-11-30 20:07:49
Message-ID: 508800.1701374869@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John DeSoi <john(at)desoi(dot)dev> writes:
>> On Nov 30, 2023, at 8:59 AM, Joe Conway <mail(at)joeconway(dot)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%40mail.gmail.com

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Loles 2023-11-30 20:29:42 Re: Two started cluster on the same data directory and port
Previous Message Vijaykumar Patil 2023-11-30 19:07:34 PAF with Pacemaker