From: Stefan Krüger <stadtkind2@gmx.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15133: make check fails
Date: Thu, 29 Mar 2018 09:09:57 +0200
Message-ID: <20180329070957.GA1032@beastie> (raw)
In-Reply-To: <22725.1522250569@sss.pgh.pa.us>
References: <20180328151230.kry23xe4d7s77t63@alvherre.pgsql>
<22725.1522250569@sss.pgh.pa.us>
On Wed, 28 Mar 2018, Tom Lane wrote:
>Alvaro Herrera <alvherre@alvh.no-ip.org> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: stadtkind2@gmx.de, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org
Subject: Re: BUG #15133: make check fails
In-Reply-To: <20180329070957.GA1032@beastie>
References: <20180328151230.kry23xe4d7s77t63@alvherre.pgsql> <22725.1522250569@sss.pgh.pa.us> <20180329070957.GA1032@beastie>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox