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 1rXAcP-0097sk-0X for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Feb 2024 01:51:25 +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 1rXAcN-00H6Op-T4 for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Feb 2024 01:51:23 +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 1rXAcN-00H6Oh-Kv for pgsql-bugs@lists.postgresql.org; Tue, 06 Feb 2024 01:51:23 +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 1rXAcL-005HPK-0d for pgsql-bugs@lists.postgresql.org; Tue, 06 Feb 2024 01:51:22 +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 4161pJ0c316599; Mon, 5 Feb 2024 20:51:19 -0500 From: Tom Lane To: mba.ogolny@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18334: Segfault when running a query with parallel workers In-reply-to: <18334-7177be80314f722c@postgresql.org> References: <18334-7177be80314f722c@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 05 Feb 2024 10:58:37 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <316597.1707184279.1@sss.pgh.pa.us> Date: Mon, 05 Feb 2024 20:51:19 -0500 Message-ID: <316598.1707184279@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: > Log messages: > 2024-02-03 09:16:33.798 EST [3261686-102] app= LOG: background worker > "parallel worker" (PID 2387431) was terminated by signal 11: Segmentation > fault > 2024-02-03 09:16:33.798 EST [3261686-103] app= DETAIL: Failed process was > running: set max_parallel_workers=8; set work_mem='20GB'; It's hard to do anything with just the query. Can you put together a self-contained test case, including table definitions and some sample data? (The data most likely could be dummy generated data.) It would also be useful to know what non-default settings you are using. regards, tom lane