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


Message #29 received at 73310 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#73310: tree-sitter makes cpu 100%
Date: Mon, 25 Nov 2024 19:21:49 +0800
[Message part 1 (text/plain, inline)]
Hi Yuan,I installed tree-sitter version 0.24.4 using brew install tree-sitter. I then tried the following Emacs versions: 1. emacs-plus <at> 30 2. emacs-plus <at> 31 3. Emacs-pretest-30.0.92-universal.dmg(https://emacsformacosx.com/emacs-builds/Emacs-pretest-30.0.92-universal.dmg) 4. Compiled Emacs myself with the following configuration:  ./configure --with-tree-sitter=/opt/homebrew/opt/tree-sitter --with-native-compI attempted to reproduce the issue using the following steps: Move to line 52. Delete all characters following :error-code. Quickly press the spacebar twice. At this point, Emacs freezes. The issue persists across all versions and builds.  ------------Sincerely,Haiyuan Zhang, VinursBinaryBrain LLC 开 2024年11月25日 在 09:48:30, Yuan Fu (casouri <at> gmail.com) 写到:  

> On Nov 10, 2024, at 3:35 AM, vinurs <hi <at> vinurs.me> wrote:
>  
> Because I saw Yuan’s response in the tree-sitter issue thread stating that this bug had already been fixed, so I'm not sure if it’s the same issue anymore.
>  
> https://github.com/tree-sitter/tree-sitter/issues/3620
>  
> ------------
> Sincerely,
>  
> Haiyuan Zhang, Vinurs
> BinaryBrain LLC

Sorry for the late response. I went over the reproduce recipe again, and at least for me, Emacs doesn’t hang anymore. Maybe your Emacs isn’t picking up the right tree-sitter library?

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.