GNU bug report logs - #73310
tree-sitter makes cpu 100%

Previous Next

Package: emacs;

Reported by: vinurs <hi <at> vinurs.me>

Date: Tue, 17 Sep 2024 01:28:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: vinurs <hi <at> vinurs.me>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 73310 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#73310: tree-sitter makes cpu 100%
Date: Fri, 20 Dec 2024 05:34:11 +0800
[Message part 1 (text/plain, inline)]
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.

  
 ------------
Sincerely,

Haiyuan Zhang, Vinurs
BinaryBrain LLC

  
开 2024年12月20日 在 02:33:35, Yuan Fu (casouri <at> gmail.com) 写到:
  



> On Dec 18, 2024, at 7:22 AM, vinurs <hi <at> vinurs.me> wrote:

>  

> 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.

>  

> ------------

> Sincerely,

>  

> 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 “technique”, I can reproduce with 0.24.4 but not 0.25.0. That could mean the bug is fixed in 0.25.0.



Yuan
[Message part 2 (text/html, inline)]

This bug report was last modified 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.