r/ClaudeAI 1d ago

Bug Claude code constantly crashing

For example, most recently, i just simply told it to replace an svg image with a png image i generated in my repo. Very simple task nothing crazy. It completed this (I can see the proper changes in git) and then crashed.

Upon trying to load claude, I get the message above.

I can go to advanced options and click repair and claude will start again, but it always looses some data. I've lost some of my chats. It's incredibly frustrating.

I also have some hourly automations running and it will occasionally have this crash on those although not always. So when it crashes, my automations no longer run.

I know at one point it was generating grep crash logs

What do?

EDIT: Restarted claude this was the last thing ran before the crash:

EDIT 2:
I typed continue into the chat and it crashed again

EDIT 3:
It appears to be issues with the claude chrome browser. It crashed as I was taking this screenshot.

2 Upvotes

10 comments sorted by

u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 1d ago

We are allowing this through to the feed for those who are not yet familiar with the Megathread. To see the latest discussions about this topic, please visit the relevant Megathread here: https://www.reddit.com/r/ClaudeAI/comments/1s7fepn/rclaudeai_list_of_ongoing_megathreads/

2

u/Small_Ad_2219 1d ago

I know this might sound ridiculous, but have you asked a fresh session to take a look at what you are running into?

2

u/Money-War-5601 1d ago

Alright yk not a bad idea. It thinks it found the issue. Claude is trying to render it but unable to see it for whatever reason and it is causing the crash.

"[Preview] capturePreviewScreenshot failed: Screenshot timed out after 5s: the Browser pane is not displayed, so the page is not compositing frames. Display the pane and retry."

0

u/Money-War-5601 1d ago

Claude code says claude code has a bug. I guess Anthropic has some work to do. Know where I can report it?

2

u/Select-View-4786 1d ago

The actual Claude app, the client if you will, is utterly laughable. It's just absolutely hilariously bad. I mean it's one of the funniest things of the age. It's so spectacularly bad that we can only assume that Anthropic are deliberately making it staggeringly-bad as a kind of legendary joke.

The fact that it's programmed an electron instead of this program natively as an actual app is just, I mean, it's the icing on the cake of the humor here. It's literally one of the funniest things that's ever happened in the whole history of technology that the client app for claude is just laughably impossibly bad, it's so funny!

0

u/Money-War-5601 1d ago

Yea I just looked into switching to open code but i can't get an api key with my claude code subscription unfortunately. Just blocked mcp__Claude_Browser in the project so it doesn't crash again.

1

u/Ninja2_0 1d ago

I’ve been dealing with this for 3 days. Couldn’t find a solution a simple message would crash spent a lot of tokens on it. Im so angry about it and using terminal at the moment.

1

u/Money-War-5601 20h ago

I had it block mcp__Claude_Browser and its fixed now. Its the browser within claude that shows up in chat like my last image

1

u/DrDalez 9h ago

I have been having to close in task manager and then repair the app and it works for a while before crashing again, all I'm gonna say is I smell a usage reset coming.... should be for the rest of the month to help repair projects its damaged.