Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Sandboxed agent shell commands intermittently hang forever with zero output — even trivial commands like echo, true, pwd, whoami, kill -9, ps. Roughly 1 in 3 sandboxed invocations got stuck in this session. No error, no timeout — they simply never return unless manually terminated by the user.
Steps to Reproduce
Repro steps:
- Open an agent session in a Linux devcontainer running on Docker Desktop (linuxkit kernel)
- Run several sequential trivial shell commands via the agent (e.g. echo test, true, pwd)
- Observe that some fraction hang indefinitely with no output, while others succeed normally
- Restart the container and repeat — same behavior recurs
Expected Behavior
Trivial shell commands should return in well under a second.
Screenshots / Screen Recordings
Operating System
Linux
Version Information
IDE version: 3.9.16 (Universal)
Additional Information
Environment: Devcontainer, kernel linux 6.12.76-linuxkit (Docker Desktop VM), container user root
Does this stop you from using Cursor
Yes - Cursor is unusable
