bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66549: 29.1.50; SIGABRT received parsing file with tree-sitter in PG


From: Eli Zaretskii
Subject: bug#66549: 29.1.50; SIGABRT received parsing file with tree-sitter in PGTK Emacs
Date: Sun, 15 Oct 2023 08:40:28 +0300

> From: Erik Overdahl <erik.overdahl@gmail.com>
> Date: Sat, 14 Oct 2023 15:19:46 -0500
> 
> Emacs is receiving a SIGABRT (Fatal Error 6) with error message
> ~munmap_chunk(): invalid pointer~ when parsing any file with the
> tree-sitter-hcl grammar. The crash only occurs when Emacs is built with
> PGTK.
> 
> I am not sure if this is a bug in the grammar or in Emacs itself.  The
> fact that the bug only happens with a PGTK build of Emacs leads me to
> believe that the bug is within Emacs. However, the crash does not occur
> with the ~v1.1.0~ release of the grammar, and so the bug may lay in the
> newly rewritten scanner added to the tree-sitter-hcl repo since that
> release.
> 
> Full instructions for reproducing the crash can be found at
> https://github.com/erik-overdahl/emacs-29-pgtk-ts-crash-bugreport

Please repeat them here, so that this report is complete.

Please also post the details of your build and configuration as
collected by "M-x report-emacs-bug".

Last but not least, please post here the full GDB backtrace from the
abort.  Without the backtrace it is very hard to start reasoning about
the causes of this bug.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]