* bug#40046: 28.0.50; infinite recursion futimens -> fdutimens -> futimens -> ...
@ 2020-03-12 22:03 Mattias Engdegård
2020-03-12 23:47 ` Paul Eggert
0 siblings, 1 reply; 3+ messages in thread
From: Mattias Engdegård @ 2020-03-12 22:03 UTC (permalink / raw)
To: 40046; +Cc: Paul Eggert
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40046: 28.0.50; infinite recursion futimens -> fdutimens -> futimens -> ...
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
2020-03-13 10:21 ` Mattias Engdegård
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggert @ 2020-03-12 23:47 UTC (permalink / raw)
To: Mattias Engdegård; +Cc: 40046
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).
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40046: 28.0.50; infinite recursion futimens -> fdutimens -> futimens -> ...
2020-03-12 23:47 ` Paul Eggert
@ 2020-03-13 10:21 ` Mattias Engdegård
0 siblings, 0 replies; 3+ messages in thread
From: Mattias Engdegård @ 2020-03-13 10:21 UTC (permalink / raw)
To: Paul Eggert; +Cc: 40046-done
13 mars 2020 kl. 00.47 skrev Paul Eggert <eggert@cs.ucla.edu>:
> 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).
Thanks, and you were right. After carefully removing all non-versioned files from the source directory, the problems went away.
Closed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-13 10:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-03-13 10:21 ` Mattias Engdegård
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).