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 1f1Cui-00089Q-FL for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Mar 2018 15:23:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1Cuh-0006e7-Aj for pgsql-bugs@arkaria.postgresql.org; Wed, 28 Mar 2018 15:22:59 +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 1f1Cuh-0006dy-1U for pgsql-bugs@lists.postgresql.org; Wed, 28 Mar 2018 15:22:59 +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.89) (envelope-from ) id 1f1Cue-0008RH-Em for pgsql-bugs@lists.postgresql.org; Wed, 28 Mar 2018 15:22:57 +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 w2SFMnlP022726; Wed, 28 Mar 2018 11:22:49 -0400 From: Tom Lane To: Alvaro Herrera cc: stadtkind2@gmx.de, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15133: make check fails In-reply-to: <20180328151230.kry23xe4d7s77t63@alvherre.pgsql> References: <20180328151230.kry23xe4d7s77t63@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 28 Mar 2018 12:12:30 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22724.1522250569.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 28 Mar 2018 11:22:49 -0400 Message-ID: <22725.1522250569@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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, 2= 0000034b4a85be0) >> ffffffe0b083aa21 check_stack_depth+0x114(20000034b4a86320, 20000034b4a8= 6520, 20000034b4a865a0, 0, 800000, 0) >> ffffffe0b083aaf1 transformExprRecurse+0x44(20000034b4a865a0, 20000034b4= a86320, 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