unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: 40046@debbugs.gnu.org
Subject: bug#40046: 28.0.50; infinite recursion futimens -> fdutimens -> futimens -> ...
Date: Thu, 12 Mar 2020 16:47:54 -0700	[thread overview]
Message-ID: <99b008b0-eb57-5ea9-b548-6172a800211e@cs.ucla.edu> (raw)
In-Reply-To: <2123EFD0-DFA9-4D8B-BD3A-D470E11CFEBA@acm.org>

On 3/12/20 3:03 PM, Mattias Engdegård wrote:
> On macOS 10.14, futimens in lib/futimens.c calls fdutimens in lib/utimens.c which calls futimens again, recursing until the stack is full. This cause Fcopy_file to crash, for instance.
> 
> No doubt I've made a silly configuration error, but I've wiped the (out-of-tree) build directory, regenerated configure and all. As expedience I commented out the futimens definition. Not sure how this is supposed to work really -- what am I missing? HAVE_FUTIMENS is set in config.h.

This feels like Bug#39948. I suggest cloning the source directory from 
git master, and starting afresh. Merely wiping out the build directory 
does not always suffice (I don't know why).





  reply	other threads:[~2020-03-12 23:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 22:03 bug#40046: 28.0.50; infinite recursion futimens -> fdutimens -> futimens -> Mattias Engdegård
2020-03-12 23:47 ` Paul Eggert [this message]
2020-03-13 10:21   ` Mattias Engdegård

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=99b008b0-eb57-5ea9-b548-6172a800211e@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=40046@debbugs.gnu.org \
    --cc=mattiase@acm.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).