Skip to content

Once file/code editing starts, vscode crashes and closes immediately #6041

@liusiyuanlsy

Description

@liusiyuanlsy

App Version

3.23.16

API Provider

DeepSeek

Model Used

N/A

Roo Code Task Links (Optional)

https://app.roocode.com/share/0ac5f436-bf13-4654-b541-e386e706de9e

🔁 Steps to Reproduce

Visual Studio Code:
Version: 1.102.1 (system setup)
Submitted: 7adae6a56e34cb64d08899664b814cf620465925
Date: 2025-07-15T16:41:17.147Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.26100

vscode which uses kilo code or roo code plug-in to write code, a run to the "file/code editing" step, vscode will crash

Input command, automatically create a file and then test the file and code editing function ("create a file and then complete the test file and code editing function"), sometimes does not crash, can be automatically edited normally, sometimes still crash; open a file alone and input the command to edit the file ("complete the test file and code editing function in the current file"), will crash, crash will occur when the plug-in displays the following content
"Need to edit file:
<<<<<<< SEARCH
:start_line:1
xxxxxx”

💥 Outcome Summary

vscode process directly exit, the window immediately closed, the task interrupted

  1. A similar Lingma-Alibaba Cloud AI Coding Assistant plugin does not crash when performing the same operation
  2. No such problem in May of this year and before
  3. Disable all other plugins and still crash
  4. Replace PC (same configuration as environment), still crashes
  5. Changing potentially relevant vscode settings or plug-in settings (e.g. file editing, auto-confirm execution, etc.) still crashes
  6. Try to create/open test file in different path, still crash
  7. Run vscode in administrator mode all the time, still crash
  8. Change different AI API, still crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions