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#60556: 29.0.60; Fatal error accurred when editing init.el with flymake enabled on Windows 10 Date: Mon, 23 Jan 2023 21:00:34 +0200 Message-ID: <838rhthy99.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15815"; mail-complaints-to="usenet@ciao.gmane.io" Cc: aqua0210@foxmail.com, 60556@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 23 20:01:21 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 1pK24E-0003wh-Ib for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Jan 2023 20:01:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pK23z-0006TQ-Hv; Mon, 23 Jan 2023 14:01: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 1pK23y-0006TC-Fa for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 14:01: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 1pK23y-0004OM-7S for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 14:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pK23y-0001Zj-1Y for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2023 14:01: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, 23 Jan 2023 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60556 X-GNU-PR-Package: emacs Original-Received: via spool by 60556-submit@debbugs.gnu.org id=B60556.16745004376007 (code B ref 60556); Mon, 23 Jan 2023 19:01:02 +0000 Original-Received: (at 60556) by debbugs.gnu.org; 23 Jan 2023 19:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:55354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK23Z-0001Yp-61 for submit@debbugs.gnu.org; Mon, 23 Jan 2023 14:00:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pK23X-0001Ya-9D for 60556@debbugs.gnu.org; Mon, 23 Jan 2023 14:00:36 -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 1pK23O-0004KJ-S8; Mon, 23 Jan 2023 14:00:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=BSOfOjsf8wcCMU85Q/zuHIT4bI4J5mnLLMzqp2ydINs=; b=QnnHBWYE/eFZZm6ErhMT C23SVapwa9lwtPqL8UdwOKWBJgByqAqYhCEfLEQwyCP7wqejlMHvoiEe72QK3fC24BnMW1AHkQYGV AYUspyxOSQlFcJH6na5NO+qk8SvL+dGdSmaH7b5rb/fCTU/Xet6Nr75L5bhuBQ3HjkXvO4Y4joJ2V pK2BdNpq34bDWJ886j8qYLDPxOKAwdVvFRrYVCijADtp2pxB8vw37zOsNiK2T3jvKj0w+OE+7M0Wl rhGAvmOKn5+WIJXD3OMGI8NvHNcwEjBmcTbmDz4z+mPTyoblMR6q2eUonONsef9eH8IBgq5YxmrO2 ahvQlpI/msMIKw==; 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 1pK23O-00084l-C1; Mon, 23 Jan 2023 14:00:26 -0500 In-Reply-To: (message from =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= on Mon, 23 Jan 2023 18:26:14 +0000) 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:254025 Archived-At: > From: João Távora > Date: Mon, 23 Jan 2023 18:26:14 +0000 > Cc: 60556@debbugs.gnu.org, Eli Zaretskii > > > I also reported an issue to Borg. See more infomation by the link bellow: > > https://github.com/emacscollective/borg/issues/140 > > > > I guess the issue is cause by the implementation of UI displaying on > > MS-Windows. > > > > JoJoão and Eli, do you have any advice on how to debug with this issue? > > >From my part, not really. > > From what I read in the attached issue, it seems Borg does things > with the load path that interferes with Emacs's ability to invoke > itself as a sub-process. No, it was a real (and quite old) bug in Emacs on MS-Windows: the behavior when Emacs was killed by its parent process (in particular, a parent Emacs process) neglected to account for the fact that the Windows equivalent of a signal handler invoked by the kill message was run by the OS in a separate thread. So we are lucky that this bug was reported, because now that fundamental problem is fixed in Emacs.