bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39164: 27.0.60; Intermittent crash on MacOS 10.14 in setup_process_c


From: YAMAMOTO Mitsuharu
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
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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@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@math.s.chiba-u.ac.jp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]