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#70423: 29.3; cc-mode hang at 100% cpu and consuming all available memory Date: Tue, 16 Apr 2024 19:22:45 +0300 Message-ID: <86plupi8fe.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70423@debbugs.gnu.org To: "1stmil.eth" <1stmil.eth@proton.me>, Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 16 18:24:16 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 1rwlbT-0005n6-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Apr 2024 18:24:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwlb5-0001no-B3; Tue, 16 Apr 2024 12:23:51 -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 1rwlb4-0001nb-FM for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 12:23:50 -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 1rwlb4-0002tt-6v for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 12:23:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwlbG-0002o6-Ce for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2024 12:24: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: Tue, 16 Apr 2024 16:24: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.171328458910414 (code B ref 70423); Tue, 16 Apr 2024 16:24:02 +0000 Original-Received: (at 70423) by debbugs.gnu.org; 16 Apr 2024 16:23:09 +0000 Original-Received: from localhost ([127.0.0.1]:44765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwlaO-0002hu-QV for submit@debbugs.gnu.org; Tue, 16 Apr 2024 12:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwlaL-0002gf-TE for 70423@debbugs.gnu.org; Tue, 16 Apr 2024 12:23:07 -0400 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 1rwla3-0002py-J6; Tue, 16 Apr 2024 12:22:47 -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=4XoMk7SiF+r+6szOWBIlFnnHqFjpmzkQFqY+BihoXYY=; b=T1RdZjTj3O3E 3FHSDDyCQaxnrE39cKB2jgIJGN+gAVP0WMHKozQ69hFX1H6BXL/jGS997U8gALX+qy74ibcO2iaqo RVui1WyyYNhKHq6zaz6F4Z9/VhWU8iiuJU8PG9K278wqKtxm0mM2HOV1KpgCNXsxQJPyrPwlo/3qg s77XWq8fWeKyubR4H78vkukluo+g6pQeFRBDaB1ipjmR+ZBWjawCfzXfJ1YIC29zcFInS6sJ7+POU keRMLB9CjaNQ/FgTpwsXuJFC+FdZxkwv47VTs/HDInvjssJmcEvzbwGiICcc9uT6uk3RtpjAHbjDo D74y6j0SPHdxYCJ7/su92A==; In-Reply-To: (bug-gnu-emacs@gnu.org) 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:283443 Archived-At: > 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.