From nobody Sat Jun 22 13:45:16 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W5wTT37MRz5NSjx for ; Sat, 22 Jun 2024 13:45:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W5wTS67m2z51FW for ; Sat, 22 Jun 2024 13:45:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719063916; a=rsa-sha256; cv=none; b=cuh6m6J5b2UBvrU+kPfo9z61UZy7cyWC+pLvzrQez19PsKKb11ExFLEzuIsYUPRtA0oXlx KwdxRxgO1kh9jtEcTpYIAZf+MghoADu+tY9bRN8/5UJfixvTZcYdwTzGHTDIW606tkqKHJ AJ8TiAPwRSnxI3Q1bQkSGZVCdLzo4FxVhusSqWdDfUCBlEG+7mp43awLvkNgxnPXMYQVkV 0czqTfBdpC0DbFNoBeCHB/Qn19wYgArDQjZjBHNxgic1DlRiFkNpRR80eQbSm/BSX7Bdq4 VdhZNJb8zah/ttfRAfq++elioABEQQE4XXxq4jggfHowsAnd/MItv7VOnQMvYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719063916; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VaRUPna+nnCqtHO8fYjkrxvpVwqOuf/ZB4I5DpM/ZMQ=; b=nyQtrx0D7aVqkgfYrPQ7k+sfBHeGU28e12LvL1Uqg4n3L+IYI5ncOPRxdFm+1HMS5qc1TO hwJD6ahmgmwJfbNPPg60Kcv95r605zVlg0Uew/amboCwlqnkV5qG9REY+nj7PhuNldwrvS Ovi5yIzZo3VNQOetJjdB42x9I344otLC0DEUJRATOY/286QURXZOnYQLSkGZuErK66/hnS Dvoaen/ZIOPIQE7uZEUTW3jn798saFXAoMsLa5hSVqiDCHZa9EAM7k/Z0f5TOv11oAlSTc aBYu3S55wHK6+MtjNWyHh9ruUPi33zG/NuM33P1urW/iN1XMwyTZLA2FPlN5Qg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W5wTS5lQYztMW for ; Sat, 22 Jun 2024 13:45:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45MDjGUe018798 for ; Sat, 22 Jun 2024 13:45:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45MDjG18018797 for ports-bugs@FreeBSD.org; Sat, 22 Jun 2024 13:45:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279910] database/postgresql16-server: GSSAPI dumps core Date: Sat, 22 Jun 2024 13:45:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: simon.anthony@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279910 Bug ID: 279910 Summary: database/postgresql16-server: GSSAPI dumps core Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: simon.anthony@hotmail.com When compiling postgresql16-server with MIT krb5 clients cannot connect as postgres server crashes. root@freebsd:/usr/ports/databases/postgresql16-server # pkg info -b krb5 krb5-1.21.2_3: libverto.so.0.0 libkrb5support.so.0.1 libkrb5.so.3.3 libkrad.so.0.0 libkdb5.so.10.0 libkadm5srv_mit.so.12.0 libkadm5clnt_mit.so.12.0 libk5crypto.so.3.1 libgssrpc.so.4.2 libgssapi_krb5.so.2.2 libcom_err.so.3.0 root@freebsd:/usr/ports/databases/postgresql16-server # make showconfig =3D=3D=3D> The following configuration options are available for postgresql16-server-16.3: DEBUG=3Don: Build with debugging support DOCS=3Don: Build and/or install documentation DTRACE=3Doff: Build with DTrace probes GSSAPI=3Don: Build with GSSAPI support LDAP=3Doff: Build with LDAP authentication support LLVM=3Don: Build with support for JIT-compiling expressions LZ4=3Don: Build with LZ4 compression support NLS=3Don: Use internationalized messages OPTIMIZED_CFLAGS=3Doff: Builds with compiler optimizations (-O3) PAM=3Don: Build with PAM Support SSL=3Don: Build with OpenSSL support TZDATA=3Doff: Use internal timezone database XML=3Don: Build with XML data type ZSTD=3Don: Build with ZSTD compression support client$ psql -U user -h freebsd.example.com ... psql16: error: connection to server at "freebsd.example.com" (192.168.101.1= 49), port 5432 failed: connection to server at "freebsd.example.com" (192.168.101.149), port 5432 failed: server closed the connection unexpecte= dly This probably means the server terminated abnormally before or while processing the request. Postgresql log: 024-06-22 11:48:58.436 BST [4056] LOG: server process (PID 5216) was terminated by signal 11: Segmentation fault 2024-06-22 11:48:58.436 BST [4056] LOG: terminating any other active server processes 2024-06-22 11:48:58.440 BST [4056] LOG: all server processes terminated; reinitializing 2024-06-22 11:48:58.448 BST [5218] LOG: database system was interrupted; l= ast known up at 2024-06-22 11:48:25 BST 2024-06-22 11:48:58.476 BST [5218] LOG: database system was not properly s= hut down; automatic recovery in progress 2024-06-22 11:48:58.480 BST [5218] LOG: redo starts at 0/B000488 root@freebsd:/pg/data # gdb /usr/local/bin/postgres postgres.core GNU gdb (GDB) 14.1 [GDB v14.1 for FreeBSD] Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd14.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/postgres... (No debugging symbols found in /usr/local/bin/postgres) [New LWP 100530] Core was generated by `/usr/local/bin/postgres -D /pg/data'. Program terminated with signal SIGSEGV, Segmentation fault. Address not mapped to object. #0 0x000000082cdf6f46 in ?? () from /usr/local/lib/libkrb5.so.3.3 (gdb) where #0 0x000000082cdf6f46 in ?? () from /usr/local/lib/libkrb5.so.3.3 #1 0x000000082cdc8b7a in ?? () from /usr/local/lib/libkrb5.so.3.3 #2 0x000000082cdc812d in krb5_kt_get_entry () from /usr/local/lib/libkrb5.so.3.3 #3 0x000000083d1d78b5 in ?? () from /usr/lib/libkrb5.so.11 #4 0x000000083d1d7475 in krb5_rd_req_ctx () from /usr/lib/libkrb5.so.11 #5 0x000000083ce181de in _gsskrb5_accept_sec_context () from /usr/lib/libgssapi_krb5.so.10 #6 0x00000008220d2acb in gss_accept_sec_context () from /usr/lib/libgssapi.so.10 #7 0x0000000000750847 in secure_open_gssapi () #8 0x000000000082c99f in ?? () #9 0x000000000082c06c in ?? () #10 0x000000000082aae9 in ?? () #11 0x00000000008280b5 in PostmasterMain () #12 0x000000000075103f in main () (gdb) --=20 You are receiving this mail because: You are the assignee for the bug.=