From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#73310: tree-sitter makes cpu 100% Date: Thu, 19 Sep 2024 23:50:58 -0700 Message-ID: References: <86ldzqbh02.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) 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="26868"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73310@debbugs.gnu.org, Eli Zaretskii To: vinurs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 08:52:58 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 1srXVi-0006r4-J0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 08:52:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srXVV-0002MK-VM; Fri, 20 Sep 2024 02:52:46 -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 1srXVT-0002M9-Ni for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:52:43 -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 1srXVT-0001ib-EX for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:52:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=D1Fm9EOcBT9XxtGn4+aR/YqtgVIWfjuZ81PSSVd2YJg=; b=pOKMY3KKWVOXLe7795vYoM7V6OYOHn46lzSgtHALEcqz5qXPakSvh3XC0zvkmZjtpJ+8SCUyEsbgClbG7LCg6lHXg3excw1vwqVITr7JIMG/L8cqYchoDrBAZv08arDpm5jthIl9HijZ59Cl9d5Jsx058MYxHPy/FeuXjyPDfDi6RGNArSWGynEfFPV7dAZae2UgfaRbo7bYPn9XQ+Sgr5swxElxQ7r4O8ii1eqFfHRV437T8GSWYjD90L5jziGCekOAC3loMiVEROyR+LyOyRm6PtLMCh/3SElE0nRJ+o4Al//eXj84WD063ghmxGESgavB2dfriWpT+wv9JMqPVQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srXVl-0005m4-MD for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 02:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2024 06:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73310 X-GNU-PR-Package: emacs Original-Received: via spool by 73310-submit@debbugs.gnu.org id=B73310.172681515822163 (code B ref 73310); Fri, 20 Sep 2024 06:53:01 +0000 Original-Received: (at 73310) by debbugs.gnu.org; 20 Sep 2024 06:52:38 +0000 Original-Received: from localhost ([127.0.0.1]:33908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srXVN-0005lP-N0 for submit@debbugs.gnu.org; Fri, 20 Sep 2024 02:52:37 -0400 Original-Received: from mail-pj1-f48.google.com ([209.85.216.48]:57401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srXVK-0005l9-SP for 73310@debbugs.gnu.org; Fri, 20 Sep 2024 02:52:36 -0400 Original-Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2d885019558so1172517a91.2 for <73310@debbugs.gnu.org>; Thu, 19 Sep 2024 23:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726815070; x=1727419870; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D1Fm9EOcBT9XxtGn4+aR/YqtgVIWfjuZ81PSSVd2YJg=; b=Nr52BJLH74jBWxuLeXkCIr8AVIuw3F9lRGaNTLwgECTvccqa8vJUAFKfjeyardlXOh 2RC03WbUPa3PShISDRmbttyqY52GvPj6a0RUc4z8JNeefDwyM/39AqF8Ki+SlXZ8vgg3 wd+DJuEhDSSebkr55AtzepS5SlQ1g/ZG8wZrTSHVxvb8hXZW0jKFKB3iopqOhuvDL3ZA hXxHh8RDAVV1mu4OXUY5W3H1sun0GKhFJLcUodIRK6gt4av2++jkm1IMh6O6GwB3dAWr EPjJoKb40KofRBShns8Sj3/+HpAa3NguYg/D6XvXgC1n357WMVqjn/ZS+18KOOBsFwfr KpxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726815070; x=1727419870; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D1Fm9EOcBT9XxtGn4+aR/YqtgVIWfjuZ81PSSVd2YJg=; b=P/0H/rKnY3K/EcqRwlMs07irUsuSfpJB8gZgIXRAeEycBIBtsidNwTh29jk+EWrmA/ /sB3iqNuMd7DRn+fOEW4uvqvt4+c7Vkp38GxUY4sGjiLA8FF2yMsqkmfZLZLmDb2aff5 g8F1Tljnyo7iTGzRWIxyJ9ryRnYhH9kRKtUFnVc0ZTh1gwf6WthsHk73ijFv0lwBe83c gN2cZPRyXHP9moKKcagfvnylIfCrVrvuyuNz07wZR9sEwLipOyEz0lZ92WME2YnOJYqz zc7prrRsGYvbCzGYk9aOExoR4QvoRuUTk4hIPxwjBo9cKOgsTtjjgiBB24NDN3HBwfAk foBg== X-Forwarded-Encrypted: i=1; AJvYcCU4s/cK2lTvyKIV3rHEfg752rth8USezf6r9IPIAQGYlfF0F+xwPfYRH7L0M7pT0VqndM4kWw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzRYDtdPsNU7Sb4CtCYRDmAoAx+64gxbzNY6Lw1a4U8HdTq9RBo T9P1PccJcNz0MbepOIi/+htX89dl74kuEwPPuyBu+f83pIwlO06W X-Google-Smtp-Source: AGHT+IHyXHjR8VREpI9VHZ+OCGKZ5cIZgso0oKquWUyBqwSWqPVAZkMp6yLDocjcYGIPCydKNADClw== X-Received: by 2002:a17:90a:62c7:b0:2da:9490:900c with SMTP id 98e67ed59e1d1-2dd80c7ecbcmr2034221a91.21.1726815070166; Thu, 19 Sep 2024 23:51:10 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:b925:297e:910c:4115]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dd7f8196d8sm1066697a91.19.2024.09.19.23.51.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2024 23:51:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3776.700.51) 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:292086 Archived-At: > On Sep 19, 2024, at 5:53=E2=80=AFAM, vinurs wrote: >=20 > Hi Yuan, > Are you able to reproduce this issue? Yes, I can reproduce this. In fact, it=E2=80=99s not = tree-sitter-clojure, but tree-sitter-markdown-inline who caused the = hang. I was able to reproduce the hang independently without Emacs. This = seems to be the same bug as in = https://github.com/tree-sitter/tree-sitter/issues/3620. I=E2=80=99ll = update on the GitHub issue with this new repo later. Yuan=