Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7SVo-00048x-2W for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Oct 2017 20:42:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e7SVn-0002dU-KB for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Oct 2017 20:42:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e7SV4-0001HM-VR for pgsql-bugs@postgresql.org; Wed, 25 Oct 2017 20:42:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e7SUx-00054w-Nf for pgsql-bugs@postgresql.org; Wed, 25 Oct 2017 20:42:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v9PKfvgu023728; Wed, 25 Oct 2017 16:41:57 -0400 From: Tom Lane To: Stefan Tzeggai cc: pgsql-bugs@postgresql.org Subject: Re: Segfault 11 on PG10 with max_parallel_workers_per_gather>3 In-reply-to: <8922510d-699f-3f4d-4766-ff915e91c645@empirica-systeme.de> References: <665b0747-6bdd-2da9-2ca3-ee06d0e71379@empirica-systeme.de> <15437.1508942075@sss.pgh.pa.us> <8922510d-699f-3f4d-4766-ff915e91c645@empirica-systeme.de> Comments: In-reply-to Stefan Tzeggai message dated "Wed, 25 Oct 2017 22:33:13 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23726.1508964117.1@sss.pgh.pa.us> Date: Wed, 25 Oct 2017 16:41:57 -0400 Message-ID: <23727.1508964117@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Stefan Tzeggai writes: > I also tried to get a sensible stack trace. I attached 9 gdb to all > postgres-pids and when I triggered the crash, two of the gdb had some > output and produced something on 'bt'. Attached.. Those look like normal operation --- SIGUSR1 isn't a crash condition, it's what PG normally uses to wake up a sleeping process. If you want to attach gdb before provoking the crash, you need to tell it to ignore SIGUSR1 (I think "handle SIGUSR1 pass nostop noprint" is the right incantation). It might be easier to enable core files ("ulimit -c unlimited" before starting the postmaster) and then gdb the core files. > If I would be able to dump the relevant data from my db and I would be > able to reproduce the crash with it on a fresh PG10 install - Would > anyone have time to look at it? I guess its would no more than 50Mb... Sure, I or somebody else would look at it. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs