GNU bug report logs - #54667
29.0.50; posix_spawn breaks emacs-gdb

Previous Next

Package: emacs;

Reported by: Herman, Géza <geza.herman <at> gmail.com>

Date: Fri, 1 Apr 2022 10:52:01 UTC

Severity: normal

Tags: fixed

Found in version 29.0.50

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Robert Pluim <rpluim <at> gmail.com>
To: Herman, Géza <geza.herman <at> gmail.com>
Cc: 54667 <at> debbugs.gnu.org
Subject: Re: bug#54667: 29.0.50; posix_spawn breaks emacs-gdb
Date: Fri, 01 Apr 2022 16:44:13 +0200
>>>>> On Fri, 1 Apr 2022 15:29:50 +0200, "Herman, Géza" <geza.herman <at> gmail.com> said:

    Herman> I can confirm that it fixes the problem.

Thanks, Iʼll see if I can get around to committing it this weekend.

    Herman> For reference, here's the patch:
    Herman> https://lists.gnu.org/archive/html/emacs-devel/2022-03/msg00067.html

    Herman> (Btw., according to this email thread, vfork is faster than
    Herman> posix_spawn on Linux, so maybe it'd make sense to use posix_spawn only
    Herman> on non-Linux platforms?)

In emacs-28 we only use posix_spawn on macOS because its vork is
sub-optimal. I donʼt remember the rationale for switching to using it
everywhere, itʼs undoubtedly in the archives somewhere.

Thanks

Robert
-- 




This bug report was last modified 3 years and 38 days ago.

Previous Next


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