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


View this message in rfc822 format

From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tomekowal <at> gmail.com, Robert Pluim <rpluim <at> gmail.com>, 39164 <at> debbugs.gnu.org, jguenther <at> gmail.com
Subject: bug#39164: 27.0.60; Intermittent crash on MacOS 10.14 in setup_process_coding_systems
Date: Tue, 28 Jan 2020 19:06:09 +0900
On Tue, 28 Jan 2020 18:42:29 +0900,
Eli Zaretskii wrote:
> 
> On January 28, 2020 11:14:41 AM GMT+02:00, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> wrote:
> > On Tue, 28 Jan 2020 18:02:52 +0900,
> > Eli Zaretskii wrote:
> > > 
> > > 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.
> > 
> > It is called during the Mac terminal initialization.
> 
> 
> And the increase in the number of available descriptors triggered by the system libraries is guaranteed to be called before that?  Then how is this call to setrlimit is dufferent from what we already do at startup?

The increase happens only once per function in question.  So we make a
dummy call in advance so later calls may not cause the increase in
unpredicable timings.

				     YAMAMOTO Mitsuharu
				mituharu <at> math.s.chiba-u.ac.jp




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.