Skip to content

Crash when large file contains an ERROR node #248

Open
@leotrs

Description

When editing a large file and the tree-sitter parser yields a tree with an ERROR node, emacs freezes and, if I don't kill it soon enough, it takes up all available RAM and my entire laptop hangs and crashes.

Is this a known bug? If not, I can try to create a small repo to replicate the bug to explore further.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions