From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline Date: Tue, 24 Jan 2023 22:32:35 +0000 Message-ID: <864jsfo96k.fsf@gmail.com> References: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> <833583ks9t.fsf@gnu.org> <86wn5evv70.fsf@gmail.com> <83r0vli9gr.fsf@gnu.org> <86edrku3w6.fsf@gmail.com> <83wn5cgkgv.fsf@gnu.org> <83k01bhlek.fsf@gnu.org> <83bkmnhhll.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6882"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 60996@debbugs.gnu.org Cancel-Lock: sha1:ahrfahcj2GboUDdQGz7H0jLsW90= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 24 23:33:27 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKRr4-0001eL-Pl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Jan 2023 23:33:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKRqh-0003r3-RL; Tue, 24 Jan 2023 17:33:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKRqg-0003pa-6a for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 17:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKRqf-0002sR-Uv for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 17:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKRqf-0000rR-KO for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 17:33:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jan 2023 22:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60996 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16745995673276 (code B ref -1); Tue, 24 Jan 2023 22:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 22:32:47 +0000 Original-Received: from localhost ([127.0.0.1]:57798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKRqR-0000qm-HC for submit@debbugs.gnu.org; Tue, 24 Jan 2023 17:32:47 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKRqQ-0000qb-6D for submit@debbugs.gnu.org; Tue, 24 Jan 2023 17:32:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKRqQ-0003Uv-0M for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 17:32:46 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKRqO-0002rf-KN for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 17:32:45 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pKRqM-0000Yq-Ab for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 23:32:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.149, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254079 Archived-At: On Tue 24 Jan 2023, Eli Zaretskii wrote: >> Cc: 60996@debbugs.gnu.org >> Date: Tue, 24 Jan 2023 19:50:27 +0200 >> From: Eli Zaretskii >> >> 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