From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: tomekowal@gmail.com, jguenther@gmail.com, 39164@debbugs.gnu.org
Subject: bug#39164: 27.0.60; Intermittent crash on MacOS 10.14 in setup_process_coding_systems
Date: Tue, 28 Jan 2020 08:59:35 +0100 [thread overview]
Message-ID: <m2lfpsj9js.fsf@gmail.com> (raw)
In-Reply-To: <83mua8oj8k.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Jan 2020 20:19:07 +0200")
>>>>> On Mon, 27 Jan 2020 20:19:07 +0200, Eli Zaretskii <eliz@gnu.org> said:
>> Date: Mon, 27 Jan 2020 22:26:10 +0900
>> From: mituharu@math.s.chiba-u.ac.jp
>> Cc: "Eli Zaretskii" <eliz@gnu.org>,
>> jguenther@gmail.com,
>> "Tomasz Kowal" <tomekowal@gmail.com>,
>> 39164@debbugs.gnu.org
>>
>> This is a variant of Bug#24325: Crash - fd larger than FD_SETSIZE.
>> Some functions in the Core Foundation framework on macOS
>> call setrlimit for RLIMIT_NOFILE in order to increase the limit of
>> the maximum number of open files for the process:
>>
>> https://opensource.apple.com/source/CF/CF-1153.18/CFSocket.c.auto.html
>>
>> So the fix for Bug#24325 doesn't work in this case.
Eli> Thanks.
Eli> So I guess one possible solution would be to see that fd is beyond
Eli> FD_SETSIZE, and if so, call getrlimit to see if the limit was bumped
Eli> up, and if so, reallocate the arrays used by process.c? Would that
Eli> make sense?
This will break {p}select, no? Thatʼs defined to only work up to
FD_SETSIZE.
Robert
next prev parent reply other threads:[~2020-01-28 7:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 19:00 bug#39164: 27.0.60; Intermittent crash on MacOS 10.14 in setup_process_coding_systems Justin Guenther
2020-01-17 21:01 ` Eli Zaretskii
2020-01-20 9:15 ` Robert Pluim
2020-01-20 18:00 ` Eli Zaretskii
2020-01-20 18:42 ` Robert Pluim
2020-01-27 13:26 ` mituharu
2020-01-27 18:19 ` Eli Zaretskii
2020-01-28 7:59 ` Robert Pluim [this message]
2020-01-28 8:23 ` YAMAMOTO Mitsuharu
2020-01-28 8:41 ` Robert Pluim
2020-01-28 9:02 ` Eli Zaretskii
2020-01-28 9:14 ` YAMAMOTO Mitsuharu
2020-01-28 9:42 ` Eli Zaretskii
2020-01-28 10:06 ` YAMAMOTO Mitsuharu
2020-01-28 17:37 ` Eli Zaretskii
2020-01-29 10:26 ` YAMAMOTO Mitsuharu
2020-01-29 11:09 ` Eli Zaretskii
2020-01-29 12:38 ` Eli Zaretskii
2020-01-30 9:42 ` YAMAMOTO Mitsuharu
2020-01-30 14:49 ` Eli Zaretskii
2020-01-26 17:41 ` bug#39164: Reproducing SIGSEGV bug Tomasz Kowal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lfpsj9js.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=39164@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jguenther@gmail.com \
--cc=tomekowal@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.