From nobody Sat Jun 22 13:43:38 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 4W5wRb06XPz5NSmN for ; Sat, 22 Jun 2024 13:43:39 +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 4W5wRZ5YHhz50xk for ; Sat, 22 Jun 2024 13:43:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719063818; a=rsa-sha256; cv=none; b=Ln5pAd7WxSTYVZKfg269VQHJk4y0yVaDkNRIQLssYrSsrLTJoZB+WFUul8Dv04YjwXzK/D NoeqaYFOw34UF2CBoyBAk4zZmczljdVqO/MkPqc9NZYE1xcJiEK7w2jbLfqPbAGD5xItQ8 +W2e7PtEjmNnbZigRDgGouQ5YV3MsMo5JwyAc3a1DfwxaJ+nr8cpQOuhGcPE0BXhNiZ/y2 tXO2EFrFwM+TUo0WE5B/mbTXnOyVY/s6eOHuA2TutI3L2nj+C1u1TezLRTyq85zdcARewk v4Oq6yPIk7e/dQfzW/GcWz72nIdymxQPNkWuHK8EOTPfKjQBy3anpT80QUqwaw== 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=1719063818; 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=c3fLTY/g2CurW3OlcyPZDbSfxopuXcVzMxE7suz+l34=; b=RQzuvfjh+UF4uqC4uf5y3KQvhzx0OONSAs6TIiM00aUlwU2+JFQrrkswv+U7F/N7hYx6zc Y1bUqJsxGLnOxeA+NvyVQ31O4oVjVE0kACgQwn6zbkC1KiJ8vuOuT+otZmQ/UIkDps6X80 j0XX86d/ogQVnA8Z+ionRIsiyXr35zfLYAdOqZuIaRFf8iDHuB04a/E9XdBMTG6ev43ZHP yHvLBwi6yxv4woiMz0J9iZ/yrvhuDb6UmJh/WWrWyIDtxFi2Ruz3mIX92erOhJcvYMFsce 1ChKoIEJigrwvOHcsF98sE87H71gOj65aVGKaTyhVmDEKWKsPJEDrtY1ebv0Fw== 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 4W5wRZ59ChztnN for ; Sat, 22 Jun 2024 13:43:38 +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 45MDhcji013894 for ; Sat, 22 Jun 2024 13:43:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45MDhc80013893 for ports-bugs@FreeBSD.org; Sat, 22 Jun 2024 13:43:38 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 279909] postgresql16-server GSSAPI dumps core Date: Sat, 22 Jun 2024 13:43:38 +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: pgsql@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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=3D279909 Bug ID: 279909 Summary: 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: pgsql@FreeBSD.org Reporter: simon.anthony@hotmail.com Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org 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.=