When cursor is working, it sometimes opens a document and creates a new conversation, then quickly returns to the original conversation and reconnects to the previous round of conversation. This can cause the workspace to be filled with plan documents opened by cursor. After repeating this several times, it will crash with errors. Here is the request detail:
Request ID: 00d852c1-da60-4421-a37b-e738dee6713f
[internal] serialize binary: invalid int 32: 4294963248
NTe: [internal] serialize binary: invalid int 32: 4294963248
at tpf (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9097:38348)
at Xmf (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9097:37251)
at gpf (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9098:5088)
at yva.run (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9098:9098)
at async Wyt.runAgentLoop (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34198:57104)
at async ngc.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34247:7835)
at async ngc.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:34247:8576)
at async OTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:9172:14624)
at async Xi (vscode-file://vscode-app/c:/Users/28291/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32996:3808)
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
This is a known issue on Windows. The serialize binary: invalid int 32 error happens when the Agent runs commands in the terminal and gets a bad exit code that can’t fit into an int32 during serialization.
Try switching to Command Prompt:
Fully close Cursor
Open Settings with Ctrl+,
Find terminal.integrated.defaultProfile.windows
Set it to “Command Prompt” instead of PowerShell
Restart Cursor
Just a heads up, this workaround doesn’t always help, especially in Plan mode with repeated operations. The team is aware of the issue.
We need a bit more info for the report:
Cursor version (Menu → About Cursor → Copy)
What task did you give the agent when this started?
Can you reproduce it consistently with certain prompts?