Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7lYs-006hfb-DF for pgsql-general@arkaria.postgresql.org; Tue, 28 Nov 2023 00:02:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r7lYr-000IT6-2B for pgsql-general@arkaria.postgresql.org; Tue, 28 Nov 2023 00:02:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7lYq-000ISx-Nc for pgsql-general@lists.postgresql.org; Tue, 28 Nov 2023 00:02:44 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r7lYn-007gIA-WC for pgsql-general@postgresql.org; Tue, 28 Nov 2023 00:02:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3AS02fJO4035079; Mon, 27 Nov 2023 19:02:41 -0500 From: Tom Lane To: Don Seiler cc: Postgres General Subject: Re: malloc errors in psql with libpq 16.1 on Mac In-reply-to: References: Comments: In-reply-to Don Seiler message dated "Mon, 27 Nov 2023 17:52:26 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4035077.1701129761.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 27 Nov 2023 19:02:41 -0500 Message-ID: <4035078.1701129761@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Don Seiler writes: > I have a colleague trying to use psql to connect to a remote DB, but he'= s > getting this error: > FATAL: no PostgreSQL user name specified in startup packet > psql(42705,0x7ff84a07b700) malloc: *** error for object 0xa6: pointer be= ing > freed was not allocated > psql(42705,0x7ff84a07b700) malloc: *** set a breakpoint in > malloc_error_break to debug Is OpenSSL in use? If so, what version? I'm wondering if this is a variant of the OpenSSL 3.2.0 compatibility problem we just heard of: https://www.postgresql.org/message-id/flat/CAN55FZ1eDDYsYaL7mv%2BoSLUij2h_= u6hvD4Qmv-7PK7jkji0uyQ%40mail.gmail.com regards, tom lane