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 1f1Riy-0001Jn-0I for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Mar 2018 07:11:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1Riw-0007Oj-6B for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Mar 2018 07:11:50 +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.89) (envelope-from ) id 1f1RhL-0007J8-UD for pgsql-bugs@lists.postgresql.org; Thu, 29 Mar 2018 07:10:12 +0000 Received: from mout.gmx.net ([212.227.15.18]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f1RhI-00050W-11 for pgsql-bugs@lists.postgresql.org; Thu, 29 Mar 2018 07:10:10 +0000 Received: from localhost ([80.129.55.250]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MWC9x-1f40vW41hh-00XLvQ; Thu, 29 Mar 2018 09:10:00 +0200 Date: Thu, 29 Mar 2018 09:09:57 +0200 From: Stefan =?iso-8859-1?Q?Kr=FCger?= To: Tom Lane Cc: Alvaro Herrera , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15133: make check fails Message-ID: <20180329070957.GA1032@beastie> References: <20180328151230.kry23xe4d7s77t63@alvherre.pgsql> <22725.1522250569@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <22725.1522250569@sss.pgh.pa.us> User-Agent: Mutt/1.9.3 (2018-01-21) X-Provags-ID: V03:K0:yAOW9VqYigHsvcHciydRI62EWaXfLHUj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JKdJw== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 28 Mar 2018, Tom Lane wrote: >Alvaro Herrera writes: >> I'm not sure of the support status for Solaris 11. We don't have any >> buildfarm member for that, much less the 11.4 beta. Maybe this is a >> problem in the OS, or the compiler? I can't see siglongjmp() failing in >> this way being a Postgres bug, frankly ... > >I think the key thing in this stack trace is > >>> ffffffe0b083a921 postgres`errfinish+0x260(0, 0, 0, 1fff248dfa8960, 0, 20000034b4a85be0) >>> ffffffe0b083aa21 check_stack_depth+0x114(20000034b4a86320, 20000034b4a86520, 20000034b4a865a0, 0, 800000, 0) >>> ffffffe0b083aaf1 transformExprRecurse+0x44(20000034b4a865a0, 20000034b4a86320, 0, 0, 0, 0) > >That is, we died while trying to throw an error out of check_stack_depth, >which suggests that we were in recursion trouble. Either that or >something's broken about the stack depth test. The most plausible theory >about why siglongjmp failed is that it SIGSEGV'd against the end of the >stack, which would also imply something's broken about the stack depth >test, because it ought to trigger well before we actually run out of >stack. > >Does Solaris even have getrlimit(RLIMIT_STACK)? If so, does it tell the >truth on this beta version? > >It'd be interesting to know which regression test query failed. If it was >anything other than the intentional infinite_recurse call, then there's >something else wrong too. > > regards, tom lane Seems like I had ADI protection for stack on when building postgres 10.3... https://swisdev.oracle.com/_files/What-Is-ADI.html I get "All 178 tests passed." when ADI stack protection is off.