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 1t8jWp-005hNh-4j for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2024 17:09:10 +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 1t8jWl-007eQW-4f for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2024 17:09:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8jWk-007eQO-Sp for pgsql-bugs@lists.postgresql.org; Wed, 06 Nov 2024 17:09:07 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t8jWd-000XdU-2K for pgsql-bugs@lists.postgresql.org; Wed, 06 Nov 2024 17:09:06 +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 4A6H8rEl3261640; Wed, 6 Nov 2024 12:08:53 -0500 From: Tom Lane To: nicolas.maus@bertelsmann.de cc: Alexander Korotkov , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18692: Segmentation fault when extending a varchar column with a gist index with custom signal length In-reply-to: <18692-72ea398df3ec6712@postgresql.org> References: <18692-72ea398df3ec6712@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Wed, 06 Nov 2024 14:06:41 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3261638.1730912933.1@sss.pgh.pa.us> Date: Wed, 06 Nov 2024 12:08:53 -0500 Message-ID: <3261639.1730912933@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > When extending a varchar column with a gist index with a custom signal > length the Postgres server crashes with a segmentation fault. What this shows is that CompareOpclassOptions has never been tested at all except with null inputs. It's trying to call array_eq without providing an FmgrInfo. regards, tom lane