unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tree-sitter crashes Emacs
@ 2024-04-25  6:58 Joost Kremers
  2024-04-26 14:53 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Joost Kremers @ 2024-04-25  6:58 UTC (permalink / raw
  To: emacs-devel

Hi list,

A week ago or so, I opened a Python file in Emacs and saw Emacs crash hard.
Bisecting my init file, I found that the culprit was tree-sitter. As it turns
out, some change was made in tree-sitter that caused the ABI to change, and when
I upgraded my distro's tree-sitter package, the new ABI caused Emacs to crash.

There is a thread about this issue on the tree-sitter GitHub page:

https://github.com/tree-sitter/tree-sitter/issues/3296

The consensus there seems to be, however, that the current problem should not be
solved by the tree-sitter project, but rather by the relevant Linux
distributions and/or by Emacs itself.

A bug has been opened for Arch Linux (the distro I'm using):

https://gitlab.archlinux.org/archlinux/packaging/packages/emacs/-/issues/2

That issue, however, is labelled with "status:waiting-upstream", which suggests
that nothing's going to happen until the tree-sitter project does something.
Which is not going to happen, I fear, because the tree-sitter issue has been
closed.

Since I haven't seen the issue mentioned here and given that it was suggested it
might be an Emacs issue, I wanted to ask the opinion of the maintainers: can
this be considered an Emacs bug, or is it really something that should be solved
upstream?

TIA


-- 
Joost Kremers
Life has its moments



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-28 13:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25  6:58 tree-sitter crashes Emacs Joost Kremers
2024-04-26 14:53 ` Eli Zaretskii
2024-04-28 12:48   ` Joost Kremers
2024-04-28 13:50     ` Eli Zaretskii

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).