From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#30350: 27.0.50; Newest master can't run processes on macOS Date: Tue, 06 Feb 2018 22:07:52 +0000 Message-ID: References: <616d413a-893c-a058-9620-0ac852fc8490@cs.ucla.edu> <20180205191824.GA64467@breton.holly.idiocy.org> <0bec28a7-e163-8e7c-3759-4189533f50b6@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1c0c4a983d740564926996" X-Trace: blaine.gmane.org 1517954835 16975 195.159.176.226 (6 Feb 2018 22:07:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2018 22:07:15 +0000 (UTC) Cc: 30350@debbugs.gnu.org, Alan Third , Sam Steingold To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 06 23:07:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejBOO-0003zZ-4Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 23:07:08 +0100 Original-Received: from localhost ([::1]:42074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejBQO-0000sf-Uj for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Feb 2018 17:09:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejBQH-0000qR-Mr for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 17:09:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejBQE-0003CH-HD for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 17:09:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejBQE-0003BN-CZ for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 17:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ejBQE-0005jw-1o for bug-gnu-emacs@gnu.org; Tue, 06 Feb 2018 17:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Feb 2018 22:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30350 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30350-submit@debbugs.gnu.org id=B30350.151795489021999 (code B ref 30350); Tue, 06 Feb 2018 22:09:02 +0000 Original-Received: (at 30350) by debbugs.gnu.org; 6 Feb 2018 22:08:10 +0000 Original-Received: from localhost ([127.0.0.1]:60656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejBPO-0005il-K5 for submit@debbugs.gnu.org; Tue, 06 Feb 2018 17:08:10 -0500 Original-Received: from mail-lf0-f53.google.com ([209.85.215.53]:38259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejBPN-0005iZ-Hr for 30350@debbugs.gnu.org; Tue, 06 Feb 2018 17:08:09 -0500 Original-Received: by mail-lf0-f53.google.com with SMTP id g72so4951400lfg.5 for <30350@debbugs.gnu.org>; Tue, 06 Feb 2018 14:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vufORVonK5PEyRvU7AFNCgmhEJRAivX91BujEHYqupQ=; b=GtRZ5dGOxKITa7/alpQ0qS7teE7b3Jcj/zf8Fb4ugHdXFkBLl7kpp7/axxxCNMmwKJ qv+H+Ea6lX3n5nR6V6gud4uG5ojJOkLH3S1SjVDqBg5a7aNeCSogc4IbIECF1j0FpFR9 YqjyX9Anha2eQRCI3cI4ybTWXctMymTvRDVtvFgzbKxuuVb+p0hm9UWGS8gggVRVjRmC 73H2unQDFDcSFxZ2lVhcIm9ETNVqgRTb7df4FIb9MA78Rem763AHNDWlG9UdUFA9XH2n mFd/8Jtv1+yq68GEP/Od8picJcketKSCobouLXVVH0VfjpuvJmtAwC9YQiJCuIr95QCV Y4IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vufORVonK5PEyRvU7AFNCgmhEJRAivX91BujEHYqupQ=; b=OeKoceOkD2+XE56Ym2ZrPRmkXQmLuyCPno2m7lWQgkNlhpLQd1jPdDPLNaLav4UaxF hE3ZxCQ3rhDRu48jqNBEW7CihiCwtGkvgyQ5UTXQQTOjl2Q+eLFfihvHpvScJM0nI0lq PxF1RofTiarcqXm/BNp/tGKvxCddwYj2qKQ0B5bFf3ofdszXmtnAtzbtI87PyYrS0tWl PEoIdiO6vUEJjL91PjxK23lvyg8aNj/HQax4DxlPYUKq5AcWLhd1aXGM++7yZ2EY++J9 MW6EhGvy8Oqoi7/pK0WyrAyMfwBvZxKQTVeJlurVSeu+X4LtY+c+oThwoQCTkgm8MSk0 If3g== X-Gm-Message-State: APf1xPDzwE3xmgPWG25vHm+FqGZcYoO8aLDttgAXGTF5dr0uaCKGR6Ke NEdYR6zMiqtLvKTZQ60UuCuWcKbb04j/370UeLI= X-Google-Smtp-Source: AH8x22693QXIdI7cI5InXV4wgwNEi7lI9cSOwm9ngF3Qmb19km/vGqtk7N/yeAMiRADfe2YNxheluaD0FLjxTLFVYhw= X-Received: by 10.46.17.93 with SMTP id f90mr2571593lje.92.1517954883139; Tue, 06 Feb 2018 14:08:03 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142994 Archived-At: --94eb2c1c0c4a983d740564926996 Content-Type: text/plain; charset="UTF-8" Philipp Stephani schrieb am Di., 6. Feb. 2018 um 01:26 Uhr: > Paul Eggert 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. --94eb2c1c0c4a983d740564926996 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Di., 6. Feb. 2018 um 01:26=C2=A0Uhr:
Paul Eggert <eggert@cs.ucla.edu> schrieb am Di., 6. Feb. 2018 um 00:56=C2= =A0Uhr:
On 02/05/2018 11:18 AM, Ala= n 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 gotch= a 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 n= ot work.


It succeeds and prints nothing (i.e. the error is ENOTDIR= in all cases).
So this is even more mysterious than I thought.= =C2=A0

However, when I ch= ange "file" to "/usr/bin/true" in the names list, the i= ssue happens again (i.e. lstat and faccessat succeed for "/usr/bin/tru= e/."). So this does appear to be a macOS bug, but it's not consist= ently reproducible.=C2=A0=C2=A0
--94eb2c1c0c4a983d740564926996--