-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bottled emacs exit with SIGSEGV when use built-in rust-ts-mode #172249
Comments
But use |
Tree-sitter broke their ABI at some point. See tree-sitter/tree-sitter#3296. Closes #172249.
If there's a command-line/scriptable way to trigger the crash, we can add it to the emacs I'm not an emacs user, so suggestions welcome. In the meantime, the rebuild I triggered in #172484 will fix this. |
It may be a bit difficult to reproduce the crash through a command-line or scriptable method. Tree-sitter can be used by many emacs major modes, but there is no generic way to test tree-sitter support. The script below is just an example:
I do not think this is a reliable way to trigger the crash. |
Sorry, I forgot to mention a crucial point: we need to first install the corresponding language grammar in Emacs, which appears to require an interactive process. |
I think this should be fixed now by
|
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I tried to use emacs write rust code with emacs built-in treesit rust-ts-mode.
What happened (include all command output)?
Emacs crashed with
Fatal error 11: Segmentation fault
.What did you expect to happen?
Emacs works well.
Step-by-step reproduction instructions (by running
brew
commands)and then input
M-x rus
to enable rust-ts-mode, it will crash.The text was updated successfully, but these errors were encountered: