# The problem "Extension host terminated unexpectedly 3 times within the last 5 minutes" remain

**URL:** <https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119>\
**Category:** Bug Reports\
**Tags:** crashes, windows, extensions\
**Created:** [March 9, 2026, 9:04am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119 "2026-03-09T09:04:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 9, 2026, 9:04am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/1 "2026-03-09T09:04:45Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I am experiencing a severe and persistent issue where the Extension Host crashes continuously immediately upon startup. The error message is: “Extension host terminated unexpectedly 3 times within the last 5 minutes.”

I have tried all standard and advanced troubleshooting steps to resolve this, but the bug persists:

1. Ran ‘Start Extension Bisect’: It instantly finished and disabled 0 extensions, proving it is not a third-party extension issue.
2. Cleared all caches: Deleted the `%APPDATA%\Cursor` and `%USERPROFILE%\.cursor` folders completely.
3. Isolated VS Code configs: Temporarily renamed my global and local `.vscode` folders to avoid any cross-platform conflicts.
4. Clean Install: Uninstalled and reinstalled the latest version of Cursor from scratch.
5. Isolated the environment: Tested with a completely empty workspace/window to rule out project-specific loops or large files.
6. Network & Security: Temporarily disabled my Antivirus/Firewall and VPN to rule out internal background process blocking.
7. WSL Environment: I read on the forums that installing the WSL extension might resolve this. I installed it and tested, but the issue remains identical.

Despite a 100% clean install with no extensions and an empty workspace, the extension host crashes immediately, completely breaking the core AI features. How can I provide more specific logs to help you patch this?

### Steps to Reproduce

just start cursor and the bug will appears 1 minute after

### Operating System

Windows 10/11

### Version Information

Version: 2.6.14 (user setup)  
VSCode Version: 1.105.1  
Commit: eb1c4e0702d201d1226d2a7afb25c501c2e56080  
Date: 2026-03-08T15:36:54.709Z  
Build Type: Stable  
Release Track: Default  
Electron: 39.6.0  
Chromium: 142.0.7444.265  
Node.js: 22.22.0  
V8: 14.2.231.22-electron.0  
OS: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 9, 2026, 10:29am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/3 "2026-03-09T10:29:51Z")

</div>

Hey, thanks for the report. I can see you’ve already tried all the usual steps: clean install, clearing caches, bisect, and an empty workspace. Respect for such a detailed write-up.

I’ll need logs from Developer Tools to figure out what’s crashing the extension host:

1. Open Cursor
2. Immediately press `Ctrl+Shift+I` (or Help \> Toggle Developer Tools)
3. Go to the Console tab
4. Wait until you see the error “Extension host terminated”
5. Copy all red errors from the Console and send them here

Another user on the same Windows build (10.0.26200) had a similar issue caused by `Cannot find module cursor-socket`. I want to check if it’s the same on your side.

A couple more things to try while we look into it:

- Try:

- If it still crashes, start Cursor with a temporary profile from the command line:

Let me know what the logs show.

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 9, 2026, 10:53am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/4 "2026-03-09T10:53:11Z")

</div>

Here is the error while i tried to prompt and start cursor with `'–disable-extension’ `:

Request ID: 87eb61cb-a297-4c79-9e06-7aa779a11dc5 MainThreadCursor disposed while stream 6236cec8-ad29-471b-a1db-e3ca4bdd5110 was active ControlledExecDisposedError: MainThreadCursor disposed while stream 6236cec8-ad29-471b-a1db-e3ca4bdd5110 was active at Ocb.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43782:29039) at U4a.disposeCustomers (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46623:9828) at U4a.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46623:9678) at yw\_.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49751:13932) at Aw\_.stopAllInReverse (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49751:13066) at async yid.\_doStopExtensionHosts (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49750:78673)

and here when the host extension crash :

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/0/4/04aa72d6c27b284feafcbd2159226efac6f6e449.png)  
I also tried with `‘cursor --profile-temp'`and the result is the same

Thanks for the response.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 9, 2026, 11:20am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/5 "2026-03-09T11:20:53Z")

</div>

Thanks for the extra info.

Can you run these two commands in Command Prompt and share the output?

```bat
dir "C:\Users\lnoë\AppData\Local\Programs\cursor\resources\app\extensions\cursor-socket\"

```

```bat
type "C:\Users\lnoë\AppData\Local\Programs\cursor\resources\app\extensions\cursor-socket\package.json"

```

This will show what’s actually in the folder and where `package.json` is trying to load the module from. That should help narrow it down to a packaging issue in the Windows installer.

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 10, 2026, 9:33am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/7 "2026-03-10T09:33:41Z")

</div>

Hey, here is the screen of the two commands that you asked for :

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/2/1/21709985e6f0c099d86fb1931dbc42da32071584.png)

I did the last update of cursor and nothing change..

Thank you again for your help.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 10, 2026, 9:48am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/8 "2026-03-10T09:48:36Z")

</div>

Confirmed: the `out/` folder is completely missing in cursor-socket. Your `package.json` has `"main": "./out/main"`, but there’s no `out/` folder, so the extension host crashes every time it starts.

I’ve reported this to the team, and your diagnostic info was exactly what we needed.

I’ll update the thread once there’s a fix. Sorry for the downtime.

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 10, 2026, 10:40am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/9 "2026-03-10T10:40:33Z")

</div>

Thank you for your advice and help. I look forward to hearing from you.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [March 12, 2026, 10:17pm UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/11 "2026-03-12T22:17:10Z")

</div>

Hey all.

This specific issue with `cursor-socket` should be fixed in 2.6.18! Please [download the latest version](https://cursor.com/download) (if your client hasn’t auto-updated).

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 13, 2026, 10:56am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/12 "2026-03-13T10:56:38Z")

</div>

That worked perfectly. Thank you for the quick turnaround, I really appreciate it!

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 19, 2026, 3:47pm UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/13 "2026-03-19T15:47:14Z")

</div>

It came back after 6 days to work with cursor, today i started the application and it crashed again, same problem..

---

<div class="post-metadata">

**Author:** ![Jacky\_Chan](https://avatars.discourse-cdn.com/v4/letter/j/f1d935/32.png) [@Jacky\_Chan](https://forum.cursor.com/u/Jacky_Chan)\
**Post date:** [March 20, 2026, 2:29am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/14 "2026-03-20T02:29:05Z")

</div>

Hi Colin, the same problem happens even when I use the latest 2.6.20 version.

---

<div class="post-metadata">

**Author:** ![Warren\_Postma](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/warren_postma/32/102782_2.png) [@Warren\_Postma](https://forum.cursor.com/u/Warren_Postma)\
**Post date:** [March 23, 2026, 1:58am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/15 "2026-03-23T01:58:52Z")

</div>

Same problem here in 2.6.20.

---

<div class="post-metadata">

**Author:** ![mattyfaz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mattyfaz/32/102796_2.png) [@mattyfaz](https://forum.cursor.com/u/mattyfaz)\
**Post date:** [March 23, 2026, 3:36am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/16 "2026-03-23T03:36:32Z")

</div>

Same issue for me as of today on MacOS

---

<div class="post-metadata">

**Author:** ![noe-laurent](https://avatars.discourse-cdn.com/v4/letter/n/7cd45c/32.png) [@noe-laurent](https://forum.cursor.com/u/noe-laurent)\
**Post date:** [March 23, 2026, 7:55am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/17 "2026-03-23T07:55:35Z")

</div>

Here is the line that i get while i’m trying to prompt, may this will help you :

Request ID: 0880b3d7-44f4-469b-8275-d9defa06e0fb  
MainThreadCursor disposed while stream c9f26588-8751-47b5-82f0-144103cb14f1 was active  
ControlledExecDisposedError: MainThreadCursor disposed while stream c9f26588-8751-47b5-82f0-144103cb14f1 was active  
at Elb.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43805:30342)  
at oOa.disposeCustomers (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46646:9954)  
at oOa.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46646:9804)  
at T\_\_.dispose (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49774:13932)  
at x\_\_.stopAllInReverse (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49774:13066)  
at async trd.\_doStopExtensionHosts (vscode-file://vscode-app/c:/Users/lno%C3%AB/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49773:78672)

---

<div class="post-metadata">

**Author:** ![Stephan\_Pak](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@Stephan\_Pak](https://forum.cursor.com/u/Stephan_Pak)\
**Post date:** [April 1, 2026, 8:52am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/18 "2026-04-01T08:52:25Z")

</div>

I had same issue since one month. I tried to use xcopy thing. it didn’t help. The main problem is that I can not use the git within the cursor. I can not use the chat and agent. In version 2.5.26, I do not have this problem.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 23, 2026, 8:52am UTC](https://forum.cursor.com/t/the-problem-extension-host-terminated-unexpectedly-3-times-within-the-last-5-minutes-remain/154119/19 "2026-04-23T08:52:40Z")

</div>

Closed on April 23, 2026, 8:52am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
