From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt M Newsgroups: gmane.emacs.bugs Subject: bug#46972: =?UTF-8?Q?RE=C2=A0:?= bug#46972: 28.0.50; [feature/native-comp] Emacs locks itself during native compilation because of permission denied Date: Sat, 6 Mar 2021 18:52:51 +0000 Message-ID: References: , <83lfb0uo5s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DB6P190MB0327A1FCDD15C82EFDF898FDD6959DB6P190MB0327EURP_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37102"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "46972@debbugs.gnu.org" <46972@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 06 19:54:10 2021 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 1lIc41-0009WP-Pn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Mar 2021 19:54:09 +0100 Original-Received: from localhost ([::1]:56744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIc40-00037n-SV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Mar 2021 13:54:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIc3u-00037T-1K for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2021 13:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIc3t-00004y-QQ for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2021 13:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIc3t-0007Kx-OQ for bug-gnu-emacs@gnu.org; Sat, 06 Mar 2021 13:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matt M Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Mar 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46972 X-GNU-PR-Package: emacs Original-Received: via spool by 46972-submit@debbugs.gnu.org id=B46972.161505678228136 (code B ref 46972); Sat, 06 Mar 2021 18:54:01 +0000 Original-Received: (at 46972) by debbugs.gnu.org; 6 Mar 2021 18:53:02 +0000 Original-Received: from localhost ([127.0.0.1]:38339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIc2w-0007Jk-71 for submit@debbugs.gnu.org; Sat, 06 Mar 2021 13:53:02 -0500 Original-Received: from mail-db8eur05olkn2103.outbound.protection.outlook.com ([40.92.89.103]:19914 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIc2t-0007JF-Sf for 46972@debbugs.gnu.org; Sat, 06 Mar 2021 13:53:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XDGtZ0O0mi+R0ZQXS5CHfA7DwFE7zn1f+4zO/ci75HO3HZ+rd6Ra+mvPYcImu68IMseQ8auLcDUd5/FO0s+7pbZ/J9XwMlPhEFj3xvOVwTXVjiJ8PtOqTyjilCvrgnMH7tHynW1unA4EUd3V72jgZhek4N60CMLwJsp5H196cbY5lcu3TFekEqAZ8PF0D3okwki85dFWIp0JHWwC6Xc3tvlOVSYuvkBwkMyz953u/wUv8W3KhIQvCTcRAxpGd8+cNdSGJ4x4jaMGHBFDQQa3t55E1HwJM9HRzQUL7dPE8h60r7MsFrYpLCzjhHreN2LjxSrlsJWWNZomn6OC5yU1Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FUpXsnLPwSfZ7gW4F4RlOU8AecXobMdg/UBeQJbgfiw=; b=Fi33JMfA4SxsAmBsChX05I+e5GLIbJstSnRJSytr71nHA990ikcP5fQwzh+0a9Dxvl3IRuYgJC/IQb7zBuSd3IUBwb55w6siSHDAoQsVEqNwDiTCerwMtqwB4rTSz8imGezvFh91Ew9nzi79EDeN8z3WGFcKfoWDqxrkx40hWHbBIz6jIMWfw9tyhPlfcU/bdJBfLb3byFyvQ3VPKr9xvVGyh+8X5S33QGY6/lJS6q6oG+xPaBGMJkeCaiSWVKiR8sgqfH12yZMiZypgWAcM635NTzJgIbSmhEsK1TP6Q2z61kwJTLjwkMi/b2XcUcB+JrEkGy6VupZsLOdypi5rsg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Original-Received: from VI1EUR05FT067.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::51) by VI1EUR05HT116.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::285) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Sat, 6 Mar 2021 18:52:52 +0000 Original-Received: from DB6P190MB0327.EURP190.PROD.OUTLOOK.COM (2a01:111:e400:fc12::40) by VI1EUR05FT067.mail.protection.outlook.com (2a01:111:e400:fc12::446) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Sat, 6 Mar 2021 18:52:52 +0000 Original-Received: from DB6P190MB0327.EURP190.PROD.OUTLOOK.COM ([fe80::24e3:8006:2de:16f2]) by DB6P190MB0327.EURP190.PROD.OUTLOOK.COM ([fe80::24e3:8006:2de:16f2%5]) with mapi id 15.20.3890.036; Sat, 6 Mar 2021 18:52:52 +0000 Thread-Topic: =?UTF-8?Q?RE=C2=A0:?= bug#46972: 28.0.50; [feature/native-comp] Emacs locks itself during native compilation because of permission denied Thread-Index: AQHXErdedzl85mvZ1kKkUqsMFCKrd6p3SXGO In-Reply-To: <83lfb0uo5s.fsf@gnu.org> Accept-Language: fr-FR, en-US Content-Language: fr-FR x-incomingtopheadermarker: OriginalChecksum:E39D5DFE39B462C1B297BCA24EEB5893A24E3BBBD276B7AE7D6CAAECEADEE4C9; UpperCasedChecksum:6CFF82C2EBCD599E6E3D6B57DEB42E409A3781DD6F25A12E43E6B41381B3CE76; SizeAsReceived:7306; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [lI5QfKA5Zjg7aTC5ziE/EmdmfLZ9CZuMwqvuR7QSufoQBYlm1T3f2h62jULnrg2+] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 28290172-b6d5-4596-e161-08d8e0d10b97 x-ms-traffictypediagnostic: VI1EUR05HT116: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bSPO6AuEIPmYFLmxRlvrMnNeR6kwbAdv1HYRogPWMCinN/3RFhX05KArDTJdOA1Cf6BpYKfSvb/E1QIkB3DysB6qtCQIm1As9ohROuPLGz3Jn+FZefLeDOte7zoMJYsGQLvUQk7oBlnlQrTvYYvUiM7oBRhWWF1zQhfqk18uwLqzpsWKFy+UNQRnZnSVRCUCYbpMn12bfcsq1QgdgKP72Vn/EXDco4I3Ww3S0ISJF5GPb+4+XyKz6lQdXIBIlA8kJosklXYY17k34rCkXU5o1nuX2j4/GL1xmZjVFPMQr6pLzRUYIZVnVpEPZzF1huzsV/6CtiNYadbS4Epiql4Y0DAh0YXrY7U3UF1mb0JsEovXBtO3m0N7CZS+FCDEpt4WNYBnrlcn0Upo0MAObX4RIyuxy06foDE7ofpk+UnA3KdKOz+SG65KfWmtrDjhziU2 x-ms-exchange-antispam-messagedata: kkpNcteTzKiSSIH1pNEJHH/d7OByrChWABE5qYtA3HlxBgUk2hefp8iKj0rkiPi7NFxWhitPkNjKAjBaFjE+QRP+C0i/1E6XCu42IuLZyfH0DrQE3WdGuSDOtzp3MN6ACIGO1gk7QxCnJP3X00ho+/Nsdv4/m2H94U9IJfHqFDJcWgjZ01RMS0Vn6wjzcULm4l8f+E4kB2irr9mCRSOHUw== x-ms-exchange-transport-forked: True X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT067.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 28290172-b6d5-4596-e161-08d8e0d10b97 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Mar 2021 18:52:51.9275 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT116 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" Xref: news.gmane.io gmane.emacs.bugs:201665 Archived-At: --_000_DB6P190MB0327A1FCDD15C82EFDF898FDD6959DB6P190MB0327EURP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable It doesn=92t seem to ever end. Just to make sure I=92ve tried it again 10 m= inutes ago. Command is hanging and the process uses 0% cpu. I=92ll let it run just in c= ase. I initially knew it was hanging through doom command. When you do a doom Install it works fine, it starts with =AB Waiting for 2000 async process = =BB and the number steadily goes down to zero. Then after that, doing doom sync again with changes will display a =AB Waiting for 200 async process =BB and the number never moves, not even = by one. >From there I took one of the files and tried it with emacs -Q to reproduce. De : Eli Zaretskii Envoy=E9 le :samedi 6 mars 2021 19:34 =C0 : Matt M Cc : 46972@debbugs.gnu.org Objet :Re: bug#46972: 28.0.50; [feature/native-comp] Emacs locks itself dur= ing native compilation because of permission denied > From: Matt M > Date: Sat, 6 Mar 2021 17:23:34 +0000 > > I'm on windows using latest native compilation. I noticed that when doing > doom sync (I use Doom emacs) it would hang on the native compilation > step. I looked at the opened emacs processes in the task manager > during this bug to try to find a file with which I could make the bug > trigger again. In the task manager I see that about 10 emacs processes > are stuck on 10 files. > > Using this file: https://pastebin.com/z4wLheXa as > emacs-async-comp-ox-ascii.el, I call the following command: > > emacs -Q --batch -l c:/Users/Matt/emacs-async-comp-ox-ascii.el > > Compiling c:/Users/Matt/.emacs.d/.local/straight/build-28.0.50/org-mode= /ox-ascii.el... > > It never finishes. Does it really "never" finish, or does it just take a very long time? How long did you wait for it to finish? --_000_DB6P190MB0327A1FCDD15C82EFDF898FDD6959DB6P190MB0327EURP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

It doesn=92t seem to ever end. Just to make sure I= =92ve tried it again 10 minutes ago.

Command is hanging and the process uses 0% cpu. I=92= ll let it run just in case.

 

I initially knew it was hanging through doom command= . When you do a doom

Install it works fine, it starts with =AB Waiti= ng for 2000 async process =BB and the number

steadily goes down to zero.

 

Then after that, doing doom sync again with changes = will display a

=AB Waiting for 200 async process =BB and = the number never moves, not even by one.

From there I took one of the files and tried it with= emacs -Q to reproduce.

 

De : <= a href=3D"mailto:eliz@gnu.org">Eli Zaretskii
Envoy=E9 le :samedi 6 mars 2021 19:34
=C0 : Matt M
Cc : 46972@debbugs.gnu= .org
Objet :Re: bug#46972: 28.0.50; [feature/native-comp] Emacs lock= s itself during native compilation because of permission denied

 

> From: Matt M <mmerino@outlook.fr>
> Date: Sat, 6 Mar 2021 17:23:34 +0000
>
> I'm on windows using latest native compilation. I noticed that when do= ing
> doom sync (I use Doom emacs) it would hang on the native compilation > step. I looked at the opened emacs processes in the task manager
> during this bug to try to find a file with which I could make the bug<= br> > trigger again. In the task manager I see that about 10 emacs processes=
> are stuck on 10 files.
>
> Using this file: https://pas= tebin.com/z4wLheXa as
> emacs-async-comp-ox-ascii.el, I call the following command:
>
> emacs -Q --batch -l c:/Users/Matt/emacs-async-comp-ox-ascii.el
> > Compiling c:/Users/Matt/.emacs.d/.local/straight/build-28.0.50/or= g-mode/ox-ascii.el...
>
> It never finishes.

Does it really "never" finish, or does it just take a very long t= ime?
How long did you wait for it to finish?

 

--_000_DB6P190MB0327A1FCDD15C82EFDF898FDD6959DB6P190MB0327EURP_--