tree-sitter / tree-sitter-html

HTML grammar for Tree-sitter
MIT License
136 stars 72 forks source link

Crash when parsing `<summary>` tag #100

Closed dkasak closed 5 months ago

dkasak commented 5 months ago

This was encountered while using tree-sitter-html from within nvim, so I only know how to reproduce it from there. See https://github.com/nvim-treesitter/nvim-treesitter/issues/6665 for details.

amaanq commented 5 months ago

this isn't reproducible for me using a variety of platforms and compilers - you're gonna need to ensure a) you built the parser with HEAD, using an older version WILL crash due to changes in libtree-sitter and b) you're loading that parser from HEAD

If possible, a backtrace would be useful - if you're on Linux coredumpctl is your friend, and if you can, compile the parser manually with -g (use the makefile if you don't know how to compile it and tack on CFLAGS='-g') and move this to your RTP