bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73310: tree-sitter makes cpu 100%


From: Eli Zaretskii
Subject: bug#73310: tree-sitter makes cpu 100%
Date: Fri, 20 Dec 2024 14:15:49 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 20 Dec 2024 01:14:04 -0800
> Cc: vinurs <hi@vinurs.me>,
>  73310@debbugs.gnu.org
> 
> > On Dec 20, 2024, at 12:37 AM, Eli Zaretskii <eliz@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]