From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#60556: 29.0.60; Fatal error accurred when editing init.el with flymake enabled on Windows 10 Date: Sun, 22 Jan 2023 14:34:23 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33115"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= To: 60556@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 22 07:35:22 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 1pJTwn-0008LI-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Jan 2023 07:35:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJTwX-0007Ie-3m; Sun, 22 Jan 2023 01:35:05 -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 1pJTwV-0007I7-0w for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 01:35: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 1pJTwU-0005iA-M5 for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 01:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pJTwU-0000x9-HU for bug-gnu-emacs@gnu.org; Sun, 22 Jan 2023 01:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jan 2023 06:35: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.16743692803629 (code B ref 60556); Sun, 22 Jan 2023 06:35:02 +0000 Original-Received: (at 60556) by debbugs.gnu.org; 22 Jan 2023 06:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:50490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJTw7-0000wS-HE for submit@debbugs.gnu.org; Sun, 22 Jan 2023 01:34:39 -0500 Original-Received: from out203-205-251-36.mail.qq.com ([203.205.251.36]:60630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pJTw4-0000w9-IO for 60556@debbugs.gnu.org; Sun, 22 Jan 2023 01:34:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1674369265; bh=el0pJFsvnxb3lzINjkAspYW8n6S3whfPzccBCbFjdts=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=LbmPmj8w4/DxDQI47DBi7p3Ga7ji/huMA2CfA9xXEtFopANQAwk3xpSXL/3AD6lke yYrajDcBZSiKcgLowqciaBSs4A3dHCZ4sOT9k3JYMSPGSUz3cwDpMSrXCrVHWFRPvL vojhKWzTOPNfRsiSLttY3q/c51WJOSmf9Avn6bLE= Original-Received: from macbook ([101.85.11.109]) by newxmesmtplogicsvrszc2-1.qq.com (NewEsmtp) with SMTP id 89833495; Sun, 22 Jan 2023 14:34:24 +0800 X-QQ-mid: xmsmtpt1674369264tm2ghoivv X-QQ-XMAILINFO: Mdc3TkmnJyI/7UWcwTN4XNWSwIltw3pdSul3Br3CUnP0N/dgtJiUmvyDNZOhhl ncbZ6If/bDVnCaKVIWNlaqdCFKLB8twNqPq6rsTACrBHhp+ZoGDWaCbn5jj8sBu2R2X117fqN+6u 8pnlPrRC99Yy0bwfsEMnlBa2Tlt5iaL0ry2Sqdicers62N4FbMup/D4aAwdjx/cnjpQN4xvrVnqw dkUA8ZoRuX0puBOqaVeHVs2cQ1Cyoh1tNUQ+gU2z1yn/9+eSQveU7oaomkz94mX+c9vr/o6mlR7v f5uFsfUkg/R1xmuuJvTdkjVCTlN7V5YBBjkWr9mrkUn43vQZwYlsNDJhfaIJmZewv4WGNgTRP6xJ W2yiETfKUZnXm9Q61g2gItH+EcC1D5q1Wjc634yMdG9zx7otmobpLrP3B07QOMQqkEONfHJ/YzYL WIn+iYBcy1PaiLjf7SoZqt44dfr2H+IKa5tE1FmpMJZoaDlChEPMnwxObrVyVeTs4B2e0yuH3KPa NHxwKmV6lQRkHTRN5jFryPqETnXnzWytaULXmx5uF5tikQKVEMKVvb+cIA85T77AEyd+g1jBWZZL 5ZpFj6UuWGvKOeyoRHFNFk7y/E/CN2f65JWYXz7nmTG6OOfqH0dWdwmzKbQTWPF4+oxGZwEpFvHc s0zkjBdyW4uRV71xNggE4vNM8Nc7LI8VVggwprE73ZmJxEEcBGbHzwTXtAVgrPopJ/T4zC/eWTct 0N5UsgnZqW1x2VOi325vda7yP3pwruQh3WHrS9ELVtpE0OWcYgzKH0d3zKnABXXb85i5/USI3k+s m/A7aIn6+5lo+JRJMGqWR3AWdt0MvtsWFmSb0wQb In-Reply-To: (Eason Huang's message of "Sun, 22 Jan 2023 12:30:36 +0800") Original-Message-ID: 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:253907 Eason Huang writes: > Eason Huang writes: > >> Hi emacs, >> >> When I editing my ~/.config/emacs/init.el file, Emacs will raise a fatal >> error frequenly when flymake-mode enabled. >> >> With a few hours debug, I found that it's related to flymake-mode and >> Borg( A package manager writed by Jonas Bernoulli). >> >> Borg repos: https://github.com/emacscollective/borg >> >> >> This issue can be fixed by disable flymake-mode or without Borg, just >> use package.el to install packages. >> >> It would be nice if I can use Borg with flymake-mode. I am not sure this >> bug if from Borg or flymake-mode or Emacs itself, so I report it here. >> > > 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=C3=A3o and Eli, do you have any advice on how to debug with this iss= ue? > > Thanks in advance. Now I can reproduce the issue with `emacs -Q`. So now I can confirm that the isse is not related to Borg. We need to use a larger buffer for reproduce. for example, I use the flmake.el instead of a simple test file. Steps to reproduce: 1. Start Emacs 29 with emacs -Q 2. C-c C-f ~/test.el to open a test buffer. 3. Copy all the content of flymake.el to ~/test.el 4. Enable flymake-mode with M-x flymake-mode 5. Try to add some blank lines and then C-x C-s to save buffer 6. Repeat step 5 many times, you will get the fatal error pos up. See the picture by this link: https://github.com/emacscollective/borg/issues/140#issuecomment-1399414074 --=20 Eason Huang