From: Eli Zaretskii <eliz@gnu.org>
To: mail@ssbb.me, Wilhelm Kirschbaum <wkirschbaum@gmail.com>,
Yuan Fu <casouri@gmail.com>
Cc: 72863@debbugs.gnu.org
Subject: bug#72863: 30.0.50; tree-sitter elixir-ts-mode hangs and memory leak on some elixir and heex code
Date: Thu, 29 Aug 2024 08:09:25 +0300 [thread overview]
Message-ID: <861q27hq4a.fsf@gnu.org> (raw)
In-Reply-To: <94F9A716-7D86-42F9-A010-54501ACF9AF8@ssbb.me> (mail@ssbb.me)
> From: mail@ssbb.me
> Date: Thu, 29 Aug 2024 06:57:38 +0400
>
> Code in attached file cause Emacs to hang and memory leak infinitely
> while editing. Try to open this code in elixir-ts-mode and move cursor
> on line 6 (between <:loading> </:loading>) and type char by char:
>
> <.some_component a={
>
> (for some reason it does not happen with electric-pair-mode when {}
> inserted automatically).
>
> I am able to reproduce this with -Q on few different machines (Linux and
> MacOS) and Emacs 29, 30.0.5 and current HEAD.
>
> C-g does nothing (including with debug-on-quit and sending SIGUSR2)
>
> At the same time I can't reproduce this in other tree-sitter based editors.
>
> I got this sample code sample from elixir-ts-mode repo but now it's moved
> to the Emacs core so seems to be out of scope of Github repo issues.
>
> Attaching samle code and LLDB backtrace.
> Also attaching report from built-in MacOS crash reporting tool just in case.
Thanks.
Wilhelm and Yuan, could you please look into this soon?
next prev parent reply other threads:[~2024-08-29 5:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 2:57 bug#72863: 30.0.50; tree-sitter elixir-ts-mode hangs and memory leak on some elixir and heex code mail
2024-08-29 5:09 ` Eli Zaretskii [this message]
2024-08-29 6:13 ` Wilhelm Kirschbaum
2024-08-29 6:14 ` Yuan Fu
2024-09-04 6:39 ` Wilhelm Kirschbaum
2024-09-04 7:42 ` mail
2024-09-05 4:32 ` Yuan Fu
2024-09-08 5:44 ` Yuan Fu
2024-09-08 5:54 ` Eli Zaretskii
2024-09-08 5:57 ` Yuan Fu
2024-09-08 7:02 ` Eli Zaretskii
2024-09-08 7:48 ` Yuan Fu
2024-09-11 3:45 ` Yuan Fu
2024-09-11 19:22 ` mail
2024-09-12 7:47 ` Yuan Fu
2024-09-16 6:58 ` Wilhelm Kirschbaum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861q27hq4a.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=72863@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=mail@ssbb.me \
--cc=wkirschbaum@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).