Type: Bug
Issue Summary for Bug Report
Title: Red Hat XML extension stuck in "Activating..." state - workspace-dependent, mutually exclusive activation across multiple Cursor windows
Environment:
- Editor: Cursor IDE (VS Code fork)
- Extension: XML (Red Hat)
redhat.vscode-xml
- OS: Mac
Problem:
The Red Hat XML extension becomes permanently stuck in "Activating..." state in one workspace while functioning normally in another. The "broken" and "working" status can swap between workspaces after restarts, suggesting a race condition or mutex issue in multi-window scenarios.
Symptoms:
Format Document fails with: "There is no formatter for 'xml' files installed."
Developer: Show Running Extensions shows redhat.vscode-xml as "Activating..." indefinitely
- Semantic XML folding unavailable (falls back to indentation-only)
- XML language mode detected correctly
Steps to Reproduce:
- Open two separate workspaces in Cursor (each in its own window)
- Both workspaces have identical extensions installed, including Red Hat XML
- Open an XML file in each workspace
- Run
Developer: Show Running Extensions in both windows
- Observe: one workspace shows the extension as activated (with timing in ms), the other shows "Activating..." indefinitely
- Restart Cursor completely
- Repeat steps 3-5 — the "stuck" workspace may swap (previously working workspace now stuck, previously stuck workspace now working)
Key Observations:
- Only one workspace at a time can successfully activate the extension
- The "winner" appears to be whichever workspace/window initialises first
- Standard remediation (reload window, restart extension host, reinstall extension) does not resolve the stuck state
- Both workspaces have similar XML-related settings (
xml.validation.enabled: false, [xml].editor.formatOnSave: false)
Attempted Fixes (all unsuccessful):
- Reload Window
- Restart Extension Host
- Uninstall/reinstall extension
- Quit and reopen Cursor
- Explicit
[xml].editor.defaultFormatter setting
- Various
xml.* configuration toggles
Hypothesis:
The LemMinX language server or extension activation appears to use a shared resource (socket, lock file, or global state) that only permits one instance across all Cursor windows, causing activation to hang indefinitely in subsequent workspaces.
Extension version: 0.29.0
VS Code version: Cursor 2.3.0-pre.21.patch.0 (77a0ad532aee10b3ef76212ed11c845ef9383f00, 2025-12-20T08:11:39.003Z)
OS version: Darwin arm64 25.1.0
Modes:
System Info
| Item |
Value |
| CPUs |
Apple M2 Max (12 x 2400) |
| GPU Status |
2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
5, 9, 7 |
| Memory (System) |
96.00GB (9.07GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Type: Bug
Issue Summary for Bug Report
Title: Red Hat XML extension stuck in "Activating..." state - workspace-dependent, mutually exclusive activation across multiple Cursor windows
Environment:
redhat.vscode-xmlProblem:
The Red Hat XML extension becomes permanently stuck in "Activating..." state in one workspace while functioning normally in another. The "broken" and "working" status can swap between workspaces after restarts, suggesting a race condition or mutex issue in multi-window scenarios.
Symptoms:
Format Documentfails with: "There is no formatter for 'xml' files installed."Developer: Show Running Extensionsshowsredhat.vscode-xmlas "Activating..." indefinitelySteps to Reproduce:
Developer: Show Running Extensionsin both windowsKey Observations:
xml.validation.enabled: false,[xml].editor.formatOnSave: false)Attempted Fixes (all unsuccessful):
[xml].editor.defaultFormattersettingxml.*configuration togglesHypothesis:
The LemMinX language server or extension activation appears to use a shared resource (socket, lock file, or global state) that only permits one instance across all Cursor windows, causing activation to hang indefinitely in subsequent workspaces.
Extension version: 0.29.0
VS Code version: Cursor 2.3.0-pre.21.patch.0 (77a0ad532aee10b3ef76212ed11c845ef9383f00, 2025-12-20T08:11:39.003Z)
OS version: Darwin arm64 25.1.0
Modes:
System Info
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off