Skip to content

Extension activation causes VSCode's Extension Host to crash #1254

@paulpe-rr

Description

@paulpe-rr

Describe the bug

Opening or creating any YAML file (empty or not) causes the VSCode extension host to crash.

Expected Behavior

The extension should work and not make the extension host crash.

Current Behavior

  • Extension Host behaves as expected until a YAML file is opened (existing or after creation).
  • Extension Host doesn't recover by itself until the VSCode window is reloaded.
  • The content of the file doesn't matter (also occurs on empty files).
  • This also occurs on a blank VSCode window, opening a single YAML file.
  • VSCode's Developer Tools logs: developer-tools-logs.txt.
  • VSCode's Output View doesn't list the extension, so no logs there.
  • Installing different versions of the extension doesn't seem to change anything, I tried with those versions:
    • 1.24.2026052009 (pre-release)
    • 1.23
    • 1.15 (which I knew to be working on my machine prior)
    • 1.14 (which I knew to be working on my machine prior)

Steps to Reproduce

  1. Open any YAML file with VSCode

Has been tested on a new VSCode profile, with blank {} User and Workspace settings, and only the single redhat.vscode-yaml extension installed.

Environment

  • Windows 11 x64 10.0.26200
  • VSCode 1.121.0
  • Node.js 22.22.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions