GNU bug report logs - #62975
29.0.90; Forking processes on macOS has become very slow in Emacs 29

Previous Next

Package: emacs;

Reported by: "John Wiegley" <johnw <at> gnu.org>

Date: Thu, 20 Apr 2023 18:42:01 UTC

Severity: normal

Found in version 29.0.90

Full log


Message #23 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#62975: 29.0.90; Forking processes on macOS has become very
 slow in Emacs 29
Date: Sun, 16 Jul 2023 13:54:12 +0100
Check you have

    #define HAVE_POSIX_SPAWN 1

defined in config.h.

There's a much larger set of requirements to use posix_spawn at the top
of callproc.c, but I don't understand them.

If, for some reason, your system isn't using posix_spawn then it will be
using fork (Apple removed vfork) and yes, it will be as slow as Emacs 26.
-- 
Alan Third




This bug report was last modified 2 years and 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.