From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#70423: 29.3; cc-mode hang at 100% cpu and consuming all available memory Date: Tue, 16 Apr 2024 17:05:51 +0000 Message-ID: References: <86plupi8fe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9827"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "1stmil.eth" <1stmil.eth@proton.me>, 70423@debbugs.gnu.org, acm@muc.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 16 19:07:07 2024 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 1rwmGw-0002IF-Nw for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Apr 2024 19:07:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwmGi-000534-8B; Tue, 16 Apr 2024 13:06:52 -0400 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 1rwmGh-00052u-6z for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 13:06:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwmGg-0002nK-Nt for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 13:06:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwmGs-0002UZ-QC for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 13:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Apr 2024 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70423 X-GNU-PR-Package: emacs Original-Received: via spool by 70423-submit@debbugs.gnu.org id=B70423.17132871819297 (code B ref 70423); Tue, 16 Apr 2024 17:07:02 +0000 Original-Received: (at 70423) by debbugs.gnu.org; 16 Apr 2024 17:06:21 +0000 Original-Received: from localhost ([127.0.0.1]:44947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwmGB-0002Pt-Re for submit@debbugs.gnu.org; Tue, 16 Apr 2024 13:06:20 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:54184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwmG6-0002O9-B7 for 70423@debbugs.gnu.org; Tue, 16 Apr 2024 13:06:18 -0400 Original-Received: (qmail 92288 invoked by uid 3782); 16 Apr 2024 19:05:55 +0200 Original-Received: from muc.de (p4fe15f24.dip0.t-ipconnect.de [79.225.95.36]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 16 Apr 2024 19:05:55 +0200 Original-Received: (qmail 11128 invoked by uid 1000); 16 Apr 2024 17:05:51 -0000 Content-Disposition: inline In-Reply-To: <86plupi8fe.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:283451 Archived-At: Hello, Eli. On Tue, Apr 16, 2024 at 19:22:45 +0300, Eli Zaretskii wrote: > > Date: Tue, 16 Apr 2024 13:36:16 +0000 > > From: "1stmil.eth" via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > Among other scenarios, when clang-format runs as a hook on file save > > when I make any (even noop) edit in > > https://github.com/pillowtrucker/mir/blob/main/src/platform/graphics/drm_formats.cpp > > this file, for example, emacs enters an infinite loop consuming 100% > > of a cpu core and all memory up to gc threshold. > Adding Alan to the discussion. Thanks! I'll have a look at it. -- Alan Mackenzie (Nuremberg, Germany).