unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 30350@debbugs.gnu.org, Alan Third <alan@idiocy.org>,
	Sam Steingold <sds@podval.org>
Subject: bug#30350: 27.0.50; Newest master can't run processes on macOS
Date: Sun, 11 Feb 2018 15:56:29 +0000	[thread overview]
Message-ID: <CAArVCkR5nL+F3jXEh-y=+PddLzbLfk8MD9BpuOVXCZAhW82RPw@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkSmTn3XV7v=kMweDWed9pbypKzCkpQu+xah6ApRj_tVCw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

Philipp Stephani <p.stephani2@gmail.com> schrieb am Di., 6. Feb. 2018 um
23:10 Uhr:

> Philipp Stephani <p.stephani2@gmail.com> schrieb am Di., 6. Feb. 2018 um
> 23:07 Uhr:
>
>> Philipp Stephani <p.stephani2@gmail.com> schrieb am Di., 6. Feb. 2018 um
>> 01:26 Uhr:
>>
>>> Paul Eggert <eggert@cs.ucla.edu> schrieb am Di., 6. Feb. 2018 um
>>> 00:56 Uhr:
>>>
>>>> On 02/05/2018 11:18 AM, Alan Third wrote:
>>>> >
>>>> > Yes, it fixes the problem here.
>>>> >
>>>> > Is this a known issue with macOS?
>>>>
>>>> It's news to me and it's not listed in the Gnulib portability gotcha
>>>> list.
>>>>
>>>> What happens if you run the attached program on macOS? It creates a file
>>>> "file" and then tries to access it as a directory, which should not
>>>> work.
>>>>
>>>>
>>> It succeeds and prints nothing (i.e. the error is ENOTDIR in all cases).
>>> So this is even more mysterious than I thought.
>>>
>>
>> However, when I change "file" to "/usr/bin/true" in the names list, the
>> issue happens again (i.e. lstat and faccessat succeed for
>> "/usr/bin/true/."). So this does appear to be a macOS bug, but it's not
>> consistently reproducible.
>>
>
> The issue also goes away if I change the fourth argument of faccessat to
> 0.
>


...albeit only temporarily. Occasionally the wrong behavior happens,
occasionally is doesn't, seemingly without meaningful pattern. This seems
to be quite a nasty bug in the OS.

[-- Attachment #2: Type: text/html, Size: 2700 bytes --]

  reply	other threads:[~2018-02-11 15:56 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-04 20:15 bug#30350: 27.0.50; Newest master can't run processes on macOS Philipp
2018-02-04 20:20 ` Philipp Stephani
2018-02-04 21:06   ` Alan Third
2018-02-04 21:12     ` Alan Third
2018-02-04 21:28       ` Philipp Stephani
2018-02-04 22:49         ` Alan Third
2018-02-04 23:16           ` Philipp Stephani
2018-02-10 10:47     ` Eli Zaretskii
2018-02-04 20:24 ` Eli Zaretskii
2018-02-05 19:13 ` Paul Eggert
2018-02-05 19:18   ` Alan Third
2018-02-05 23:56     ` Paul Eggert
2018-02-06  0:26       ` Philipp Stephani
2018-02-06  0:36         ` Paul Eggert
2018-02-06  0:43           ` Philipp Stephani
2018-02-06 23:38             ` Paul Eggert
2018-02-06  8:28           ` Alan Third
2018-02-06 22:07         ` Philipp Stephani
2018-02-06 22:10           ` Philipp Stephani
2018-02-11 15:56             ` Philipp Stephani [this message]
2018-02-06 22:44           ` Alan Third
2018-02-06 22:53             ` Noam Postavsky
2018-02-11 16:01             ` Philipp Stephani
2018-02-11 21:15               ` Alan Third
2020-08-16 16:53                 ` Lars Ingebrigtsen
2020-10-02  4:54                   ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkR5nL+F3jXEh-y=+PddLzbLfk8MD9BpuOVXCZAhW82RPw@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=30350@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=eggert@cs.ucla.edu \
    --cc=sds@podval.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).