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: Fri, 20 Dec 2024 00:25:23 -0800 Message-ID: <42BD4BD5-E930-427F-99EF-3787EC0F31B2@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> <99E79D3D-10C5-45B8-A4CE-4AA3F770BC2E@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="31962"; 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 Dec 20 09:27:18 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 1tOYLt-0008BF-LT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Dec 2024 09:27:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOYLi-0002Mc-1o; Fri, 20 Dec 2024 03:27:06 -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 1tOYLe-0002Lk-EH for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:27:02 -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 1tOYLe-0002r1-4f for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:27:02 -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=KbYUqBYJrKseGNZTT5KLpvmaMXIwfwqKQetDF/AQjTI=; b=D0J2sLA1VfOcJwlOP4GvdI6JzlJKpyXQLAOJBSvZJiPCEGofVjwBxlQgiFdFuCwd8QkC2Ai0NI/bzv3DJ0EWe2M7DtTgI0d43o70C1j00OPU3V5AVwHRDUBMYQDyxd1+7kcdz6Gr55pJzgrITA8O6/PLHMAbWKPucv3g43jqLTR5UBZxE4wEbANatzCDstUBOLyZl0dMd4z2cLgYmK2ATVkka4B3p8Xax7xKzlno6ZejUVmiDGl12WxlmQm9BJG16z0Zm7od0re/eXlRp43fN0w0Y4/LPSJZd9fwM6Ou5GNew0TJXLCCXEukcZ5fVgNjG72NQUcB9yaCyMSrEl2bKw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOYLd-00035L-Ts for bug-gnu-emacs@gnu.org; Fri, 20 Dec 2024 03:27:01 -0500 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 Dec 2024 08:27: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.173468319811795 (code B ref 73310); Fri, 20 Dec 2024 08:27:01 +0000 Original-Received: (at 73310) by debbugs.gnu.org; 20 Dec 2024 08:26:38 +0000 Original-Received: from localhost ([127.0.0.1]:41568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOYLG-00034A-0C for submit@debbugs.gnu.org; Fri, 20 Dec 2024 03:26:38 -0500 Original-Received: from mail-pf1-f180.google.com ([209.85.210.180]:60579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOYLE-000343-4x for 73310@debbugs.gnu.org; Fri, 20 Dec 2024 03:26:36 -0500 Original-Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-728e729562fso1491741b3a.0 for <73310@debbugs.gnu.org>; Fri, 20 Dec 2024 00:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734683135; x=1735287935; 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=KbYUqBYJrKseGNZTT5KLpvmaMXIwfwqKQetDF/AQjTI=; b=kKj3vTdhu8fdi91ku4FCD41+modL6aCd5UJlttdtn8UnAco6vsYa/0IBFqtYSdAkdF fScD94q15SBymy92T5tZQDPAdLU4YFUzDq1IIaNYAA5+OnS56WeQ0r9/wxj+ax60vqHk Zs9+9p1AXBsjaEcW4B0PSm4qqzwX6UfhHP5Ni6arkovUQQeyo8p/z0X1qA4wJi1l6KCb iWmTwcbCRMG73eFuTzrA1avUZ0x2pSBVUNLvIfzSAHhwhLR9/QRfdPnKe1nvZqqEu8nq FYllsFaAxiTxO3CDfsmhsuDKJb+H2a39NdpqeD0lNycEtymsN72UcSZ9y6kxVsYWaDfC QPeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734683135; x=1735287935; 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=KbYUqBYJrKseGNZTT5KLpvmaMXIwfwqKQetDF/AQjTI=; b=fvMkTYJeTPR52ujcv0mMa2EfX/QahfhEi9QMb9vorGX6JgT06Fm0YF3GlAMwHqCpQc MEDWMlQ7MIzZoBUbLPsuGyUl3NN8p0zlzWQBYjMgKISRHyrcbiQEf2icPTjTz0c8/MFV rTpkk2LLLNwseAlSZLnvKXQ9AM59DpOSOI3YyvIg762e2vylHkDfqzF6iA6N545TwIxl GOdgR9c5LT80VjYOTOxxXkE7oTEelv1EUuwyvJ3ogESzb65ByKzHcSqrqdtmuhRNUWf3 OzZ16RfyTVxJhJfZaBVh8N7rZdbd1VPbhe8GDfU0jQUZfmR10xkewDTcxOX8LQNuiZ8d 4kWg== X-Forwarded-Encrypted: i=1; AJvYcCUXHil/1nalRiSt5JBJ3V4voNFGvYqw3/kRNK7udPoMdObRw2Lf5iGGMUkoU5NUKm1as/UMQA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxqRHBJcpNJmoEfiyH6YuEDKIQOYrh4ngv+seFLCMa4o5qL4PZd DQKyMOotk6eW3Ri2Txq4XSStaiPb1vBcEYByKhTYhYvX8Zojp8kO X-Gm-Gg: ASbGnctmTd3sGQSfMwy2beZM4NLen/P1gz6yNjnFu/TVAblxqySpQGiuACW7LLFdVSn bxpw/Eww4DWtYzzVlzNaEofq0d830A/EG8p46bCZao4dE9SdfjeQvT8KqU/0U3KR7nwD6Ks6vrp rEqVtOeqEWt9CNyREouA8WQHwlF29yI9VzXpbVo2hr2/SSn/t4nTHwiis3gnJzRuq8FyFLAF+rN YhhNkjweLXU3ouIHvXEGsH4eyiT7wt6DrMaDftWGsXM5Z+Dt5gdJDnJOuhf+3cfbSHVaWQmKs2r QjgJ X-Google-Smtp-Source: AGHT+IFa2s1rB8U/T6DFIQkWBQvu/QvyI7xThG5QLGrKbmrrdcqFA9Fn96r1TFRjhtEw8BOac3/BHA== X-Received: by 2002:a05:6a21:789a:b0:1e0:c50c:9838 with SMTP id adf61e73a8af0-1e5e04464dbmr3191853637.6.1734683135217; Fri, 20 Dec 2024 00:25:35 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:256b:fd6a:4865:b807]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad835474sm2658664b3a.65.2024.12.20.00.25.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Dec 2024 00:25:34 -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:297440 Archived-At: > On Dec 19, 2024, at 1:34=E2=80=AFPM, vinurs wrote: >=20 > Hi, > I tried version 0.25.0, and using the same method it doesn't always = reproduce the issue, but it still hangs. On the same line, if I = repeatedly delete and press space, it also hangs. I just haven't found a = consistent way to reproduce it yet. Thanks. That=E2=80=99s bad news. I=E2=80=99ll also see if I can modify = my C program to reproduce this. Yuan=