Very heavy cpu usage + randomly crashing after the last update

This crashes every 2-3 hours now since the last update
"The window terminated unexpectedly (resaon: ‘crashed’, code: ‘132’)
heres the cursor about dump

CPU usage was 500%+

Version: 0.23.8
VSCode Version: 1.85.1
Commit: 8cbd0bf24e5c279cdece285075618a5b4fc752c0
Date: 2024-01-23T20:50:25.002Z
Electron: 25.9.7
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 5.15.0-91-generic

Heres my system dump

System:
Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX Z370-E GAMING v: Rev X.0x
serial: UEFI: American Megatrends v: 0430 date: 11/01/2017
CPU:
Info: 6-core model: Intel Core i7-8700K bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
Speed (MHz): avg: 4401 high: 4462 min/max: 800/4700 cores: 1: 4401 2: 4394 3: 4462 4: 4392
5: 4396 6: 4378 7: 4399 8: 4434 9: 4397 10: 4398 11: 4367 12: 4394 bogomips: 88796
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 Rev. A] vendor: Gigabyte driver: nvidia v: 525.147.05
pcie: speed: 8 GT/s lanes: 8 ports: active: none off: DP-3, DP-4, DP-5, HDMI-A-1
empty: DP-1,DP-2,Unknown-1 bus-ID: 01:00.0 chip-ID: 10de:1e87
OpenGL: renderer: NVIDIA GeForce RTX 2080/PCIe/SSE2 v: 4.6.0 NVIDIA 525.147.05
direct render: Yes

That’s not good, will look into it! Do you happen to know what version you were on before upgrading?

I’ve been auto updating and using cursor every day, so probably whatever the last release before this was

Does this happen when you do anything in particular? I.e. when you start a chat? Or just after using the editor for a while?

Definitely want to get to the bottom of this. Could you zip and send your local logs to hi@cursor.sh? This will give us much more visibility into the error.

Full steps below…

  1. Use Ctrl + Shift + P + ‘open logs’ to find your logs folder

Screenshot 2024-01-24 at 1.34.32 PM

  1. Back out two steps to the logs folder containing all the logs, zip, email hi@cursor.sh

Screenshot 2024-01-24 at 1.34.50 PM

I’m not being too careful about having some sensitive info in my code or at least referencing it in environment variables when its local, is there anything to sanitize in here before I send this?

Hmmm do you see any of your source in the logs? IIRC it should be logging statements about the IDE internals. No worries if you’d prefer not to send.

oh, no I just noticed it was a lot of files. looks fine, sent it, thanks

Also, do you have any tips on steps to reproduce?

Maybe could have to do with an extremely long AI conversation?
the thing is I can be doing other stuff for half an hour and it crashes in the background
so def not in response to a specific action
fwiw its been up without a crash since last night, will report back if it happens again, but this is the longest its gone
I had started a new conversation also

Ok, perfect! Please let me know if it happens again.

Just happened again. I think I opened the long chat again but I wasn’t using it for a half hour or so and I was flipping between chats so unfort cannot confirm definitively
same “crashed” and code “132”

Could you try again with 0.24.0? You should be able to update with Cmd/Ctrl + Shift + P, then “Attempt Update.”

Just checking in here :slight_smile: would be very helpful to know if things look the same.

Hasn’t crashed yet

2 Likes

Was experiencing a similar issue, albeit Cursor wasn’t crashing. Downloaded AppPolice for MacOs and throttled max CPU to 25%, then restarted and the issue seems to be under control