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#57880: 28.1; Emacs crashes with native compilation on when some antivirus program is running on MS-Windows Date: Wed, 21 Sep 2022 14:06:09 +0300 Message-ID: <83o7v9ugv2.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26128"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57880@debbugs.gnu.org, akrl@sdf.org To: Ioannis Kappas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 21 13:20:31 2022 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 1oaxmJ-0006d3-MQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 13:20:31 +0200 Original-Received: from localhost ([::1]:41618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaxmI-0002qZ-JF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Sep 2022 07:20:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaxZG-00048P-RL for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaxZG-0000ry-Ir for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaxZG-0005lk-CI for bug-gnu-emacs@gnu.org; Wed, 21 Sep 2022 07:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Sep 2022 11:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57880 X-GNU-PR-Package: emacs Original-Received: via spool by 57880-submit@debbugs.gnu.org id=B57880.166375838722102 (code B ref 57880); Wed, 21 Sep 2022 11:07:02 +0000 Original-Received: (at 57880) by debbugs.gnu.org; 21 Sep 2022 11:06:27 +0000 Original-Received: from localhost ([127.0.0.1]:60845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaxYg-0005kQ-MJ for submit@debbugs.gnu.org; Wed, 21 Sep 2022 07:06:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaxYc-0005kA-5D for 57880@debbugs.gnu.org; Wed, 21 Sep 2022 07:06:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaxYV-0000kP-CX; Wed, 21 Sep 2022 07:06:16 -0400 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=70wNezovzD7SWfZqIh7NY0PSSci+L0k2hkUF77r2/fY=; b=jdyKmdv+16aH ZG6Esv1Ed6KI00FLaojdOqK5fF+6UF1ChoM8y37EgP3EN2vQfUgHyT/54HjRPUa5bNcAviKmLKHDo w+ysPMeJCyea8oFI4QWAc2Q1EXabxTpF8tsveZWyo9IotbX/l5AyBL+lGK2WdtvYkIPm/zrKtlsA+ WwoYXmtV0BFJebtjcjUzO7jzOPgd3ReVDFLty96Hklb/DKCAwbYuB2NCazGBKY3TMZW+urB4hIvNN D8dURS15GWH3HfaWQAUYrsa9C3xIj4ZAzaKkGP1ZqX46RFWyObTMBZaV1KEOBFvjbu5xYdD4lU6ZO hzXGsbB4sW1/XSPcBYzv9A==; Original-Received: from [87.69.77.57] (port=1635 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 1oaxYH-0000zP-9q; Wed, 21 Sep 2022 07:06:13 -0400 In-Reply-To: (message from Ioannis Kappas on Tue, 20 Sep 2022 17:43:10 +0100) 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:243300 Archived-At: > Cc: 57880@debbugs.gnu.org > From: Ioannis Kappas > Date: Tue, 20 Sep 2022 17:43:10 +0100 > > Hi Andrea, > On Mon, Sep 19, 2022 at 9:14 AM Andrea Corallo wrote: > > > I'm not sure I understand why the issue is only in 'unload_comp_unit' > > and not in all the other places where we use and rely on 'dynlib_sym' > > (ex in 'make_subr'). > > It is because `make_subr', or any of other relevant fns, is not given a > chance to execute. The eln file is loaded fine, but the search for the > COMP_UNIT_SYM'bol in the eln is unsuccessful (due to AV interference), > the file is considered invalid, and the only path left to take is to unload it. What would be the purpose of using Emacs with native-compilation on such a system? Users who must cope with such antivirus programs will need to use Emacs without native-compilation. I see no good reason to prevent Emacs from crashing, since those *.eln files cannot be used anyway, and we will just have a slowed-down Emacs without native-compilation. Right? Or did I miss something?