GNU bug report logs - #39164
27.0.60; Intermittent crash on MacOS 10.14 in setup_process_coding_systems

Previous Next

Package: emacs;

Reported by: Justin Guenther <jguenther <at> gmail.com>

Date: Fri, 17 Jan 2020 19:02:01 UTC

Severity: normal

Merged with 40023, 40555

Found in versions 27.0.60, 26.3, 27.0.90

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>,
 Robert Pluim <rpluim <at> gmail.com>
Cc: tomekowal <at> gmail.com, jguenther <at> gmail.com, 39164 <at> debbugs.gnu.org
Subject: Re: bug#39164: 27.0.60;
 Intermittent crash on MacOS 10.14 in setup_process_coding_systems
Date: Tue, 28 Jan 2020 11:02:52 +0200
On January 28, 2020 10:23:25 AM GMT+02:00, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> wrote:
> On Tue, 28 Jan 2020 16:59:35 +0900,
> Robert Pluim wrote:
> > 
> > This will break {p}select, no? Thatʼs defined to only work up to
> > FD_SETSIZE.
> 
> Yes.  I'm currently thinking about adding the following workaround to
> the next release of the Mac port.  It is not a perfect solution, but
> the Mac port is still based on Emacs 26, and I don't want to make a
> drastic change there.

I'm not sure I understand the implication.  How will this workaround ensure starting a  subprocess doesn't produce a file descriptor beyond FD_SETSIZE?  Maybe all I'm missing is under what conditions will the code you propose be called.




This bug report was last modified 5 years and 34 days ago.

Previous Next


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