GNU bug report logs - #60996
29.0.60; Native compile fails to remove temp file for trampoline

Previous Next

Package: emacs;

Reported by: Andy Moreton <andrewjmoreton <at> gmail.com>

Date: Sat, 21 Jan 2023 22:13:02 UTC

Severity: normal

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #38 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#60996: 29.0.60;
 Native compile fails to remove temp file for trampoline
Date: Tue, 24 Jan 2023 22:32:35 +0000
On Tue 24 Jan 2023, Eli Zaretskii wrote:

>> Cc: 60996 <at> debbugs.gnu.org
>> Date: Tue, 24 Jan 2023 19:50:27 +0200
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> 
>> and I still don't have a clear picture regarding which code calls
>> delete-file and why.  For example, the first backtrace above says that
>> comp--native-compile calls delete-file via some byte-compiled
>> function, not directly.  But what is that byte-compiled function? can
>> you figure that out?

I cannot reproduce the problem any more - trying to examine things in
gdb did not produce enlightenment, as the problem seems to be timing
sensitive, so adding breakpoints or tracing in my experiments often
stopped the problem.

>> There is a direct call to delete-file in comp--native-compile, but is
>> that the call which fails?  And if so, why does it fail?  Which code
>> created the .eln file that comp--native-compile tries to delete?

From memory I think that involved compiling a trampoline, and
comp-spill-lap calling one of the comp-spill-lap methods, which was
probably
  (cl-defmethod comp-spill-lap-function ((form list))

I cannot reproduce this any longer as I have updated various software,
so this bug can probably be closed (and reopened later if the problem
becomes visible again).

    AndyM





This bug report was last modified 2 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.