Hey, this is a known Windows issue. retrieval-always-local crashes with 0xC0000005 because of a regression in cursor-socket.
Two workarounds:
- Fix cursor-socket
Open Command Prompt as admin:
cd "%LOCALAPPDATA%\Programs\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I
If Cursor is installed in C:\Program Files\cursor:
cd "C:\Program Files\cursor\resources\app\extensions\cursor-socket"
xcopy dist out\ /E /I
Restart Cursor.
- If it still crashes, disable Instant Grep
- Cursor Settings (not VS Code settings) > Indexing & Docs
- Turn off “Index Repositories for Instant Grep (BETA)”
- Restart Cursor
For a few users, doing both steps fixed it on 2.6.21. More details here: The problem “Extension host terminated unexpectedly 3 times within the last 5 minutes” remain in 2.6.21 - #3 by deanrie
Note that you’ll need to run xcopy again after every Cursor update until the fix ships in a build. The team is aware of this regression.
Let me know if it helped.