Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Panella <gavinpanella(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: `pg_ctl init` crashes when run concurrently; semget(2) suspected
Date: 2025-08-13 07:38:37
Message-ID: CA+hUKGK-=gKPpznQdoehfROg_4zq=nL1Q_wwpT+Dyty5N2J+dA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 13, 2025 at 12:45 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> Maybe I should have another go at that!

Here's a new attempt at that. It picks futexes automatically, unless
you export MACOSX_DEPLOYMENT_TARGET=14.3 or lower, and then it picks
sysv as before.

Attachment Content-Type Size
v1-0001-Use-futex-based-semaphores-on-macOS.patch application/octet-stream 14.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Wolfgang Walther 2025-08-13 07:50:25 Re: meson: Add _static and _shared suffixes to the library names
Previous Message Hayato Kuroda (Fujitsu) 2025-08-13 07:21:13 RE: ReplicationSlotRelease() crashes when the instance is in the single user mode