From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.bugs Subject: bug#70423: 29.3; cc-mode hang at 100% cpu and consuming all available memory Date: Sat, 20 Apr 2024 09:14:34 -0400 Message-ID: References: Mime-Version: 1.0 (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="39654"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pillowtrucker@proton.me, Eli Zaretskii , 70423@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 20 15:16:10 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 1ryAZd-000A9i-EN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Apr 2024 15:16:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryAZL-0004J8-OB; Sat, 20 Apr 2024 09:15: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 1ryAZK-0004Iv-7x for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 09:15: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 1ryAZJ-0004rQ-Q6 for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 09:15:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryAZX-0004mp-WF for bug-gnu-emacs@gnu.org; Sat, 20 Apr 2024 09:16:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Apr 2024 13:16:03 +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.171361891118048 (code B ref 70423); Sat, 20 Apr 2024 13:16:03 +0000 Original-Received: (at 70423) by debbugs.gnu.org; 20 Apr 2024 13:15:11 +0000 Original-Received: from localhost ([127.0.0.1]:36294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryAYh-0004gy-8Y for submit@debbugs.gnu.org; Sat, 20 Apr 2024 09:15:11 -0400 Original-Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryAYc-0004f0-4h for 70423@debbugs.gnu.org; Sat, 20 Apr 2024 09:15:10 -0400 Original-Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-69b14e05a01so68056d6.1 for <70423@debbugs.gnu.org>; Sat, 20 Apr 2024 06:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713618885; x=1714223685; darn=debbugs.gnu.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=Xw5XLP3WQkqwUsgh4rMpD6dg1TAkPwH9Fnv34iEFxI0=; b=QEiz56Z8ODzxBbno4EzmHNDmPk+r0FfCTosS3Fls5JuLrqwoEKy4gyGcvyR9RS27RQ Mq1N0GmINQbdS3IOi8W5+SEpzG2T/YHSTcDIv/Gyc8RjkVzBAOJwsf0+ocMKe/OY0OZ0 Fj3ztJhg7BLpYzLix5wRpF92C/PnaH3a/Wff6WlUTovQehY5r8SAFnK0VpBHXjq/vnT4 cgMjjARg8dlKVrbTFXP3EypKHMsye3kpczRGihcNGikE1Vn7Qnz4EMD12Jrslh/5SEtm c3fAkR1aIF4yet9efenp3hEWwwNva1UJCqyjsdKozcvYpl1BZ1MLDT1KCgE4s+E07cIv Cd/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713618885; x=1714223685; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xw5XLP3WQkqwUsgh4rMpD6dg1TAkPwH9Fnv34iEFxI0=; b=f1M8FUeNx4A+tRF6efP4O0dkWw9PB99kYgIFHQPeVYmRuUe6gGnMDPj+bhYfOHY3y7 H2IqCinhZRWNSTOXknPjhrLNa1GmAMdNU+vlTZCdUdGSbU67KTUmLAq5c/ysSrEZ/pMj 5u3++YKS0f87T+CgDTpoSEE+i++TENECJRhynM6MAvTWimirFiV1ZZ279vn/PNhaG9zG ESAaa9SGPbNxy2maaw7ewYeQt4ySHH8mUX+JQlNVFQUeJMpYxzt1Ywbxt+gp3r1L/Cui WBXU8ob3I9wtuEE56BsZHkUlBC3vNAm8s1z+XGaLUyp8rIz9ZmW9cFz4/4an5RZqzPmL CPow== X-Forwarded-Encrypted: i=1; AJvYcCUKTcKJRctPD4pp8Vu5Yrl7tilgfIwna0MWa6oHRfKgPe23YN2kpEJQTsf5100Bc+IguuSAkrvk3M26iSt42MCaw/dXl48= X-Gm-Message-State: AOJu0Yz3HD8v7wFMd1D3LVIDNXPQjr8QG0Yh99qpx2u6Bo1q7vGi+ahR /s85i0JOH4TU9nbvQl3WLozqyR5vmSR7NQM2lv7vbSAxR148WGCtrk6mLg== X-Google-Smtp-Source: AGHT+IHH/DrirLQxbjWEZaQC2mJ2neauVG+FUc8M4H15NeD2XO50E9dn6fWrm4He5AroSf4RC9MPnw== X-Received: by 2002:a05:6214:300e:b0:699:211e:e4e2 with SMTP id ke14-20020a056214300e00b00699211ee4e2mr5834714qvb.4.1713618885276; Sat, 20 Apr 2024 06:14:45 -0700 (PDT) Original-Received: from smtpclient.apple (ool-2f1480e0.dyn.optonline.net. [47.20.128.224]) by smtp.gmail.com with ESMTPSA id z16-20020a0cda90000000b0069b0c9a81b5sm2472171qvj.95.2024.04.20.06.14.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Apr 2024 06:14:44 -0700 (PDT) In-Reply-To: X-Mailer: iPhone Mail (21E236) 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:283736 Archived-At: > On Apr 20, 2024, at 5:22=E2=80=AFAM, Alan Mackenzie wrote: >=20 > =EF=BB=BFHello, M. >=20 > Yes, I can understand that. As I said, I'll fix c-beginning-of-defun-1 > so that that can't possibly happen again, regardless of what happens to > these regexps. I think this is the crux of the fix needed, not a change in Hyperbole regexp= s. Alan, Hyperbole had your new defun regexp for Java and Emacs still would= hang until we applied your recent fix to cc-defs.el. With that in place an= d no change to the c++ defun regex in Hyperbole, I have not been able to tri= gger a hang. So let=E2=80=99s just add your additional fix described above,= skip the c++ defun rewrite and see if any other issues appear. Cheers, Bob=