[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66637: 29.1; Emacs crashes with activating tree-sitter modes
From: |
Eli Zaretskii |
Subject: |
bug#66637: 29.1; Emacs crashes with activating tree-sitter modes |
Date: |
Thu, 19 Oct 2023 15:57:52 +0300 |
> From: Kristjon Ciko <kristjoc@ifi.uio.no>
> Date: Thu, 19 Oct 2023 09:17:11 +0000
>
>
> How to reproduce:
>
> ;; Launch Emacs
> emacs -Q
>
> ;; Install grammars for C and C++
> M-x treesit-install-language-grammar
> ;; Libraries installed to ~/.emacs.d/tree-sitter/libtree-sitter-c.dylib
> and ~/.emacs.d/tree-sitter/libtree-sitter-cpp.dylib
>
> ;; Open a C file
> C-x C-f test.c
>
> ;; Activate c-ts-mode
This doesn't crash for me, although I use c-ts-mode all the time.
I'm not on macOS, so either this is macOS-specific, or your personal
copies of the tree-sitter and/or the grammar libraries is faulty. In
any case, please show the backtrace from the crashes by running Emacs
under a debugger.
Thanks.