GNU bug report logs - #71012
30.0.50; tree-sitter crash

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Fri, 17 May 2024 13:40:01 UTC

Severity: normal

Found in version 30.0.50

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #92 received at 71012-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: "Basil L. Contovounesios" <basil <at> contovou.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Helmut Eller <eller.helmut <at> gmail.com>,
 71012-done <at> debbugs.gnu.org
Subject: Re: bug#71012: 30.0.50; tree-sitter crash
Date: Tue, 27 Aug 2024 21:28:21 -0700

> On Aug 27, 2024, at 3:59 AM, Basil L. Contovounesios <basil <at> contovou.net> wrote:
> 
> Yuan Fu [2024-08-24 15:30 -0700] wrote:
> 
>> Ok, after much struggle I settled with the easier option, which is to still use
>> a temp buffer, but make sure Emacs garbage collects the temp buffer. I detailed
>> the reasoning in the comment above Ftreesit_parse_string. I verified that the
>> buffer gets collected when the nodes are collected, and pushed it to master.
> 
> Thanks, the snippet in https://bugs.gnu.org/71012#55 now runs quickly
> and in linear time.

Great! Closing this report.

Yuan



This bug report was last modified 323 days ago.

Previous Next


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