Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ejBIU-0001CW-R8 for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Feb 2018 22:01:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejBIT-0007WM-Cz for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Feb 2018 22:01:01 +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 1ejBIT-0007WC-4K for pgsql-bugs@lists.postgresql.org; Tue, 06 Feb 2018 22:01:01 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ejBIO-0006ud-7M for pgsql-bugs@lists.postgresql.org; Tue, 06 Feb 2018 22:00:59 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id DC1541E1C69; Tue, 6 Feb 2018 23:00:50 +0100 (CET) Received: from ex (tmo-100-233.customers.d1-online.com [80.187.100.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ase@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id D19751E1A37; Tue, 6 Feb 2018 23:00:49 +0100 (CET) From: Andreas Seltenreich To: Tom Lane Cc: obeltrame@callixbrasil.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15053: SIGSEGV - While executing query with cube agregator References: <151793838713.1243.5246278119990227987@wrigleys.postgresql.org> <23669.1517944780@sss.pgh.pa.us> X-PGP-Key: 4096R/803D1FFF 2015-02-04 Key fingerprint = 4758 81DC 8539 494D 29B4 692D F587 0601 803D 1FFF Date: Tue, 06 Feb 2018 23:00:47 +0100 In-Reply-To: <23669.1517944780@sss.pgh.pa.us> (Tom Lane's message of "Tue, 06 Feb 2018 14:19:40 -0500") Message-ID: <87wozpye0g.fsf@credativ.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tom Lane writes: > =?utf-8?q?PG_Bug_reporting_form?= writes: >> the following postgres crash was generated during the execution of this >> query: [...] >> group by cube > > Hmm, well, first please update to something newer than 9.6.3, to see if > the problem is already resolved. (9.6.7 is being released this week.) backtrace and query look similar to the issue we reported leading to the following commitfest entry: https://commitfest.postgresql.org/16/1413/ Our customer hasn't seen any crashes with cube() statements since setting replacement_sort_tuples = 0 I'm afraid this workaround might be needed here as well unless a fix makes it into 9.6.7. regards, Andreas