cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Cursor keeps randomly crashing

Open radu-corbu opened this issue 1 year ago • 12 comments

Description

After a while of of working with the IDE, Cursor crashes. The window goes blank for a few seconds then it closes. It doesn't seem to matter what I'm doing; I've had it crash while chatting with the AI and applying suggestions, and while simply browsing code.

I wish I could provide steps to reproduce this issue, but it occurs very randomly. It's happened twice in one hour, so far.

System information

  • OS: OpenSUSE Tumbleweed
  • DE: KDE Plasma 6.1.4
  • Cursor information:
Version: 0.39.6
VSCode Version: 1.91.1
Commit: a4f99b7dfb14460cb0bcebd9f6ac7ca158217920
Date: 2024-08-19T00:03:08.275Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 6.10.5-1-default

radu-corbu avatar Aug 21 '24 06:08 radu-corbu

same issue on arch running lts kernel

absolutegravitas avatar Aug 28 '24 08:08 absolutegravitas

For me, the issue went away after a few system upgrades. I don't know what could have caused it.

radu-corbu avatar Aug 28 '24 14:08 radu-corbu

Also experiencing this on Fedora 40 with gnome. Usually when I click on a code action suggestion. Very annoying.

Tanguille avatar Sep 05 '24 13:09 Tanguille

i've found it's stable when running the AppImage file directly (instead of installing cursor-bin via AUR) -- ymmv

absolutegravitas avatar Sep 06 '24 02:09 absolutegravitas

i've found it's stable when running the AppImage file directly (instead of installing cursor-bin via AUR) -- ymmv

Interesting. I'm using this to integrate my AppImage applications.

Tanguille avatar Sep 06 '24 09:09 Tanguille

I've noticed running it in firejail and from a terminal that remains open keeps it stable. No crashes since i started doing that

bardicreels avatar Sep 16 '24 14:09 bardicreels

firejail --noprofile ~/path/to/Cursor.AppImage

bardicreels avatar Sep 16 '24 14:09 bardicreels

Same problem, I installed the AppImage via AppImageLauncher. I noticed that when I run it via my terminal it doesn't seems to crash anymore

AnthonyLedru avatar Sep 18 '24 14:09 AnthonyLedru

Same problem, I installed the AppImage via AppImageLauncher. I noticed that when I run it via my terminal it doesn't seems to crash anymore

same here... do you have better solution?

lesong36 avatar Sep 19 '24 04:09 lesong36

For me, the issue went away after a few system upgrades. I don't know what could have caused it.

I stand corrected. It still happens. Just now I've had it happen twice in a row: Cursor closed again after re-launching.

Haven't tried running from the terminal.

radu-corbu avatar Sep 26 '24 11:09 radu-corbu

Executing cursor via the default desktop entry produced by appimaged would display a blank window for 2-3 seconds then crash. As others pointed out above, executing using firejail (in my case, via the desktop entry's firejail action) or directly executing the AppImage file via the terminal would work reliably without crashing.

Setting DRI_PRIME=1 in the .desktop file fixes the issue entirely for me.

cylera-paul avatar Oct 01 '24 18:10 cylera-paul

Seems to crash randomly, definitely however the launch

RichardScottOZ avatar Apr 27 '25 01:04 RichardScottOZ

I run in windows 11 pro connecting to WSL and it crashes many times a day. could not find the log file location

mickey-perlstein-glbe avatar Aug 07 '25 13:08 mickey-perlstein-glbe