Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Andres Freund <andres(at)anarazel(dot)de>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?
Date: 2021-08-10 13:19:00
Message-ID: CA+hUKGLuVa_U6oOZqwXx-ehZC_DVNDj2HvEgWr58DFXviYv4ZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 10, 2021 at 5:43 AM Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, Aug 9, 2021 at 1:30 PM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> > How common is to get a failure? I know I've run tests under
> > EXEC_BACKEND and not seen any failures. Not many runs though.
>
> On macOS, failures are extremely common. Sometimes I have to run
> simple tests many times to get even one success. The proposal on the
> table won't help with that problem since it's Linux-specific, but if
> there's any way to do something similar on macOS it would be a _huge_
> help.

Yeah, make check always fails for me on macOS 11. With the attached
experimental hack, it fails only occasionally (1 in 8 runs or so). I
don't know why.

Attachment Content-Type Size
0001-Try-to-make-EXEC_BACKEND-more-convenient-on-macOS.patch application/x-patch 4.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Nancarrow 2021-08-10 13:27:14 Re: Skipping logical replication transactions on subscriber side
Previous Message Dilip Kumar 2021-08-10 12:44:21 Re: Next Steps with Hash Indexes