From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#62004: 30.0.50; comp-run-async-workers failure when default-directory deleted Date: Tue, 07 Mar 2023 13:51:37 +0000 Message-ID: References: <874jqxyhfo.fsf@gmail.com> <83sfeh7rlm.fsf@gnu.org> <87zg8px01l.fsf@gmail.com> <83mt4p7mv4.fsf@gnu.org> <87v8jdww42.fsf@gmail.com> <83jzzt7iac.fsf@gnu.org> <87jzztwo9h.fsf@gmail.com> <83h6ux6xwl.fsf@gnu.org> <831qm07lba.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="28595"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 62004@debbugs.gnu.org, iarchivedmywholelife@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 07 14:52:29 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 1pZXjw-0007EL-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Mar 2023 14:52:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZXja-0006jt-Sw; Tue, 07 Mar 2023 08:52:07 -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 1pZXjX-0006jU-Tx for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:52:04 -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 1pZXjW-00080e-UU for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZXjW-00043d-RF for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 08:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2023 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62004 X-GNU-PR-Package: emacs Original-Received: via spool by 62004-submit@debbugs.gnu.org id=B62004.167819710015548 (code B ref 62004); Tue, 07 Mar 2023 13:52:02 +0000 Original-Received: (at 62004) by debbugs.gnu.org; 7 Mar 2023 13:51:40 +0000 Original-Received: from localhost ([127.0.0.1]:44866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXj9-00042i-PI for submit@debbugs.gnu.org; Tue, 07 Mar 2023 08:51:40 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:64900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZXj8-00042Y-3y for 62004@debbugs.gnu.org; Tue, 07 Mar 2023 08:51:38 -0500 Original-Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.16.1/8.14.5) with ESMTPS id 327DpapC011168 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 7 Mar 2023 13:51:37 GMT In-Reply-To: <831qm07lba.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Mar 2023 15:17:13 +0200") 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:257458 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: No Wayman , 62004@debbugs.gnu.org >> Date: Tue, 07 Mar 2023 11:16:40 +0000 >> >> Eli Zaretskii writes: >> >> > Andrea, any ideas? How come we never ran into this issue until now? >> >> I guess it's a very unlikely condition that was never >> encountered/reported. >> >> > Is the default-directory value when native compilation is forked >> > somehow derived from the directory of the file being compiled? >> >> If it is is not evident to me why. We spawan something of this kind >> >> /pathtoemacs/emacs -Q -batch -l /tmp/emacs-async-comp-something.el >> >> where emacs-async-comp-something.el contains the actual setup (where we >> don't touch default-directory) and compilation command. >> >> I'm probably missing something ATM. > > Well, maybe we should bind the variable to be on the safe side? What > if we bind it to the directory where we write that > emacs-async-comp-something.el file? Maybe but the reporter says "The default-directory is dependent on where comp-run-async-workers happens to kick off." and I don't understand if that's correct why is that. I'd like first to understand better the issue here. Andrea