Cursor Stability Issues on Ubuntu 22.04 - Frequent Crashes and Performance Degradation
Issue Summary
Since the recent Cursor-0.49.6-x86_64.AppImage update, Cursor has become extremely unstable on my Ubuntu 22.04 system. The application frequently crashes, shows significant lag, and the overall user experience has degraded substantially. The app gets killed after showing repeated “No ptyHost heartbeat” errors.
System Information
-
OS: Ubuntu 22.04.5 LTS (Jammy)
-
Kernel: Linux 6.8.0-60-generic x86_64
-
Desktop Environment: Unity (ubuntu session)
-
Architecture: x86_64
Hardware Specifications
-
CPU: AMD Ryzen 9 7900X 12-Core Processor (24 threads)
-
RAM: 62GB total, 57GB available
-
GPU:
-
NVIDIA RTX A6000
-
NVIDIA RTX A5000
-
AMD GPU (Device 164e)
-
Storage: No swap configured
Cursor Installation Details
-
Installation Method: AppImage
-
Current Version: 0.49.6-x86_64.AppImage
-
Installation Path:
~/Downloads/curosor/Cursor-0.49.6-x86_64.AppImage
-
FUSE Version: 3.10.5 (working correctly)
Detailed Error Logs
[main 2025-05-30T20:51:50.083Z] updateURL https://api2.cursor.sh/updates/api/update/linux-x64/cursor/0.50.7/2984b844e876700939d38a6b738cf378d13a439799f729a86acc77b33e37ce57/stable
[main 2025-05-30T20:51:50.083Z] update#setState idle
[main 2025-05-30T20:51:51.455Z] vscode-file: Refused to load resource /tmp/.mount_CursorVldoho/usr/share/cursor/resources/app/extensions/theme-seti/icons/seti.woff from vscode-file: protocol (original URL: vscode-file://vscode-app/tmp/.mount_CursorVldoho/usr/share/cursor/resources/app/extensions/theme-seti/icons/seti.woff)
[main 2025-05-30T20:52:20.084Z] update#setState checking for updates
[main 2025-05-30T20:52:20.199Z] [network] #2: https://api2.cursor.sh/updates/api/update/linux-x64/cursor/0.50.7/2984b844e876700939d38a6b738cf378d13a439799f729a86acc77b33e37ce57/stable - error undefined net::ERR_NETWORK_CHANGED
[main 2025-05-30T20:52:20.199Z] Error: net::ERR_NETWORK_CHANGED
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:118774)
at SimpleURLLoaderWrapper.emit (node:events:518:28)
[main 2025-05-30T20:52:20.200Z] update#setState idle
[main 2025-05-30T20:52:58.888Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:53:59.709Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:54:20.807Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:54:33.615Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:54:46.316Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:54:55.826Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:55:05.891Z] No ptyHost heartbeat after 6 seconds
[main 2025-05-30T20:55:17.691Z] No ptyHost heartbeat after 6 seconds
Killed
Key Issues Identified
1. ptyHost Heartbeat Failures
-
Repeated “No ptyHost heartbeat after 6 seconds” errors
-
This appears to be related to terminal/shell integration
-
Eventually leads to the process being killed
2. Resource Loading Issues
-
Font loading failures from vscode-file protocol
-
Specific error with Seti theme font:
seti.woff
3. Network/Update Issues
-
net::ERR_NETWORK_CHANGED
errors during update checks -
Update mechanism seems unstable
4. AppImage Mount Issues
-
System logs show frequent AppImage mount/unmount cycles
-
Multiple temporary mount points being created and destroyed
Steps to Reproduce
-
Launch Cursor from AppImage:
./Cursor-0.49.6-x86_64.AppImage
-
Open any project or start coding
-
Use terminal/shell integration features
-
App becomes unresponsive within minutes
-
ptyHost heartbeat errors begin appearing
-
Application eventually gets killed
Impact on Workflow
-
Frequent crashes: Every 10-15 minutes of usage
-
Performance degradation: Noticeable lag in UI interactions
-
Terminal integration broken: Shell commands become unresponsive
-
Loss of work: Unsaved changes lost due to crashes
-
Productivity impact: Unable to maintain coding flow
Environment Details
-
Network: Stable connection (server environment)
-
Shell:
/usr/bin/bash
-
Python: Conda base environment active
-
Extensions: Multiple development extensions installed
-
Projects: Working with mixed Python/JavaScript/Docker projects
Workarounds Attempted
-
Different AppImage versions: Tried 0.45.14 - same issues
-
Clean restart: Rebooted system - issues persist
-
Resource monitoring: System has abundant resources (57GB RAM free)
-
Network stability: Confirmed network is stable
System Logs Context
May 30 23:24:13 systemd[1]: tmp-.mount_CursorecbLSl.mount: Deactivated successfully.
May 30 23:41:49 systemd[1]: tmp-.mount_CursorVldoho.mount: Deactivated successfully.
May 30 23:55:27 systemd[1]: tmp-.mount_Cursor5gxgZZ.mount: Deactivated successfully.
Request for Assistance
-
Root cause analysis of ptyHost heartbeat failures
-
Fix for AppImage stability on Ubuntu 22.04
-
Guidance on debugging the vscode-file protocol issues
-
Alternative installation methods if AppImage is problematic
-
Logs/debugging info you need for further investigation
Additional Context
-
Issue started after recent Cursor updates
-
Other Electron-based apps work fine on same system
-
Hardware resources are abundant (not a resource constraint issue)