From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62004: 30.0.50; comp-run-async-workers failure when default-directory deleted Date: Mon, 06 Mar 2023 22:10:19 +0200 Message-ID: <83jzzt7iac.fsf@gnu.org> References: <874jqxyhfo.fsf@gmail.com> <83sfeh7rlm.fsf@gnu.org> <87zg8px01l.fsf@gmail.com> <83mt4p7mv4.fsf@gnu.org> <87v8jdww42.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34174"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62004@debbugs.gnu.org, akrl@sdf.org To: No Wayman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 06 21:11:30 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 1pZHBC-0008h0-0o for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Mar 2023 21:11:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZHAw-00011G-I0; Mon, 06 Mar 2023 15:11:14 -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 1pZHAk-00010m-Ub for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 15:11:03 -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 1pZHAk-0007iD-MP for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 15:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZHAk-0002al-I3 for bug-gnu-emacs@gnu.org; Mon, 06 Mar 2023 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Mar 2023 20:11: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.16781334399933 (code B ref 62004); Mon, 06 Mar 2023 20:11:02 +0000 Original-Received: (at 62004) by debbugs.gnu.org; 6 Mar 2023 20:10:39 +0000 Original-Received: from localhost ([127.0.0.1]:43765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZHAN-0002a9-E3 for submit@debbugs.gnu.org; Mon, 06 Mar 2023 15:10:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZHAL-0002Zu-QB for 62004@debbugs.gnu.org; Mon, 06 Mar 2023 15:10:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZHAG-0007Vd-Bs; Mon, 06 Mar 2023 15:10:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sToKEQHciG4buPnPBuwmYDrZelk53YreSA1MLx5H/fM=; b=LSThCAnKWK/S FHkfYY/yiEXUMlSsDqUrzBSIhbDNffDYadGDLJycBWUyjwe2msYgAPCy6hsm8n3ob0B4YxBPWUGe+ M1jY2WdDW1fQT6SQAvvkGxSJiW+asjbhi6ESMRN5j60hlFqhpAq++xCQzmOoJdstD91oUtVm2df2l 4Z1u7QVH2iCIuiKl9oIbdOTj0A+WnhzbJG4TMzCEpj0qEeLIQ+iNZKRynOkPLA/r4vJRYOycrfDuP Bs+A1YlUy6fAIsC0iP3KhYH923LK3zH2yRzFfImamciPePg4xC0cLq8gM04yq9G7EkKKrnP/TsFZb Tso/8Sq3lCzmTbrqvOu7xA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZHAD-0006AT-Kd; Mon, 06 Mar 2023 15:10:32 -0500 In-Reply-To: <87v8jdww42.fsf@gmail.com> (message from No Wayman on Mon, 06 Mar 2023 13:46:39 -0500) 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:257417 Archived-At: > From: No Wayman > Cc: akrl@sdf.org, 62004@debbugs.gnu.org > Date: Mon, 06 Mar 2023 13:46:39 -0500 > > The example I gave used the emacs-lisp-native-compile-and-load > directly because it is the simplest way to reproduce the error. > The same error can happen if the jit native compilation kicks in > (because an entirely different feature is loaded but needs to be > jit compiled) while in the buffer which no longer has a file > associated with it. Sorry, I don't think I understand. Are you saying that we don't bind default-directory to a safe value when compiling? IOW, how could a directory where the async compilation subprocess runs become invalid, in Real Life?