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 #65 received at 73310 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 73310 <at> debbugs.gnu.org, hi <at> vinurs.me
Subject: Re: bug#73310: tree-sitter makes cpu 100%
Date: Fri, 20 Dec 2024 14:15:49 +0200
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Fri, 20 Dec 2024 01:14:04 -0800
> Cc: vinurs <hi <at> vinurs.me>,
>  73310 <at> debbugs.gnu.org
> 
> > On Dec 20, 2024, at 12:37 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > 
> > Can we have a GDB backtrace when Emacs freezes like that?  If the
> > freeze is inside tree-sitter, maybe build that with debug symbols, so
> > that GDB shows information inside the library, and we could then try
> > to figure out what causes this.
> 
> It’s almost certainly tree-sitter. And it’s unlikely for us to find the cause of the hang without considerable knowledge of tree-sitter internals.

Maybe.  But we have the sources of tree-sitter, so nothing prevents us
from trying -- provided that we have the backtrace from the freeze.

> Anyway, I’ll start with reproducing it reliably.

Thanks, that will help.




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.