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 Dec 2024 10:33:21 -0800 Message-ID: <99E79D3D-10C5-45B8-A4CE-4AA3F770BC2E@gmail.com> References: <86ldzqbh02.fsf@gnu.org> <86bjynl43x.fsf@gnu.org> <0653B68D-3F98-4D06-8C37-8976DC8C2BA4@gmail.com> <861pyjk7ip.fsf@gnu.org> <7C7183A4-758E-491E-B403-A57723598F53@gmail.com> <3EACFBFF-2E78-4746-8143-1DCB20A5AEAD@gmail.com> 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="17430"; 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 Thu Dec 19 19:35:26 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 1tOLMr-0004P7-Pb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Dec 2024 19:35:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOLMa-0006f5-0d; Thu, 19 Dec 2024 13:35:08 -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 1tOLMV-0006Zn-Np for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:35:04 -0500 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 1tOLMV-0002tB-3U for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:35:03 -0500 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=9dPTLz6PBjvqRjeIgDSYF5GVc0HheQXsXte9Kjpyf1I=; b=AJlU9G816/CfSB5/pJB+ntB7MHPs8cqOQC4BwX2TznXVjXLzmZXe9EJ58rmlD3jydbNSrKYhpNbDfHKNeczTnVPHS2iDNkI88Ctzt1gTGsftzY2ENWjJh0+k5RLj6iZPxOLmRVm1StG3UoSvBXPfn91zf+JBdvkT88HCUnve5lc2+o8VaLfcYnAuxSrRE0DdrDYaceMdkot9bXF6om4fvFAI6Ja8MKiu/r+GlbEcKKZj/KwmSWnWVg63xGIr0XueELL5/za+ZI23KTkTREAn0GpYT1EmfWi8UERFNaPP1qqcvzqrsFROfYKhot3vHzVKXFrEotrCXGntm6vfwyoqBQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOLMU-000685-Ez for bug-gnu-emacs@gnu.org; Thu, 19 Dec 2024 13:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Dec 2024 18:35:02 +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.173463327723517 (code B ref 73310); Thu, 19 Dec 2024 18:35:02 +0000 Original-Received: (at 73310) by debbugs.gnu.org; 19 Dec 2024 18:34:37 +0000 Original-Received: from localhost ([127.0.0.1]:40056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOLM4-00067F-Jo for submit@debbugs.gnu.org; Thu, 19 Dec 2024 13:34:36 -0500 Original-Received: from mail-pf1-f179.google.com ([209.85.210.179]:53585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOLM2-000672-5M for 73310@debbugs.gnu.org; Thu, 19 Dec 2024 13:34:35 -0500 Original-Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-725ea1e19f0so1035807b3a.3 for <73310@debbugs.gnu.org>; Thu, 19 Dec 2024 10:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734633213; x=1735238013; 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=9dPTLz6PBjvqRjeIgDSYF5GVc0HheQXsXte9Kjpyf1I=; b=G0LHvbkVE1xAWkmufQlsHcKTwU5Gm89LMpN6U8cFyYGrKq6peNNONwU6RNYmqxaW/a KfoLWtyzt+mfILncKaMtYz8xPAyIfLUU/WJcaScfPlN52mCDWQwME+1WZezsouRnvdoO bq4U8dDHmzevBNYm2C9kRgiKL062vYDEHz69MifBgZLeOg/OE9adRwbchEl3lr0UZHPG y3jMme4VZ5qywKxvYKClP8yCh+nZZJ4R6QzmUsGVyERfdNFdaiuR61bt6F+fTr1UHv5K 5qC7EyJlTptx4HkBTNYgDvIleaT7dW/z3AsC/VkovNbDrsJgnpiEmj5VqGAv0vNwzj8l RZgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734633213; x=1735238013; 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=9dPTLz6PBjvqRjeIgDSYF5GVc0HheQXsXte9Kjpyf1I=; b=B88TSOse/ono75GkxwKfaWuH9lE1UGQHTCX4CmFWvlJJldUyJ4dZJHBekDl8GAOY+v QQ/0K7AaKgHb/B6nmGoUTn1Aepgqr1WK9a4W3iccSNnsPTDikIHTI452JxW8tWgk3+LE LimXGj4+mmmv7aULTcev33ggiDazHQINfrEcEnQiHyq+79ekODUWY1UfmhoHTCnKdfNI 6VgHl3DsFkq3O9+RKOe27K3uRP4cDlFVRIajSZBNVPoxXV1GsYkzHk+kDmLteP11mHwV B0X42szl+SIGnetT54skN9SLuYrjdOxTdG7k3rJ3/Nomh1wqfsdnsNYd/axRR5jBeX3f J7tw== X-Gm-Message-State: AOJu0YwVqiLQbIrvfLxoQXML5xcdWphkyr7v17sVTzqLaHU6aIYjkAIj qGnpZ6Ku8Ru+kFPX74/npG1SBjEIvCWUdtJMpEnhSiBb9eLGvzTiJOAP1Q== X-Gm-Gg: ASbGncvzDHAg7KvJZ2X3tojBhcEPgR3ZPgNP2Yuv+Ym/9jBFXF2deYKjusAPZQE7aiO CLJTpWzP5WEMQzqSAOno57IdnOs/UMeOJnwnonOdirxxgavlKulZqV5Lkw89WLjOeA3+eiqaGTf 6656MVu4Y8Lk8RtiR+/E/PPuOcNwN+GnAhYznEoB9Rk+H5HCJ3UhHS902JfNG3pZ4Qw/MnR//0E PINVcIpjKGjULDQh9t2gQgbarpSY48LZKvwJRpYHzPlYMjkBvAjbaEHA+XiVISjnF7tQcJLNZ8N FO8v X-Google-Smtp-Source: AGHT+IG0U5RbdpNDTQD+utT+UkrvhF1ZXlgoi6CrGC0sfs+plNxe/uLJYNuC/AERlBhjqUh08CxPmA== X-Received: by 2002:a05:6a00:1151:b0:724:e80a:33a with SMTP id d2e1a72fcca58-72aa8edc8e1mr7382717b3a.23.1734633212883; Thu, 19 Dec 2024 10:33:32 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:d586:f3b3:85da:8dc9]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad90b90asm1625407b3a.177.2024.12.19.10.33.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Dec 2024 10:33:32 -0800 (PST) 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:297404 Archived-At: > On Dec 18, 2024, at 7:22=E2=80=AFAM, vinurs wrote: >=20 > Hi, > Has there been any progress on this issue? It has been troubling me = for a long time. My Emacs basically freezes every few minutes, and I = have to restart Emacs. >=20 > ------------ > Sincerely, >=20 > Haiyuan Zhang, Vinurs > BinaryBrain LLC One more test: can you try tree-sitter 0.25.0 and see if you still see = the hang? With the same =E2=80=9Ctechnique=E2=80=9D, I can reproduce = with 0.24.4 but not 0.25.0. That could mean the bug is fixed in 0.25.0. Yuan=