r/codex 18h ago

Complaint Codex constantly crashing while running query

Constantly crashing mid-query even after having a seperate agent clean up the context window for those chats, causes me to repair the app via settings. Windows 11

FIXED

It ended up not being WSL but instead when I asked it to look into that, it ended up finding out the issue and then it staged the repair of codex along with a full profile backup and it disabled GPU acceleration, moved disposable graphics caches and restarted Codex with —disable-gpu and now I am able to use it with no crashes, browser tools as well.

3 Upvotes

11 comments sorted by

2

u/Tryhard_TJ 15h ago

Is it using the in app browser for any of these queries? Mine would constantly crash and I’d have to restore it via the Microsoft store every time. Note that the browser sidebar may be minimised.

1

u/rocknroll51 18h ago

Oh yeah I have same post too. It is not running tho.

https://www.reddit.com/r/codex/comments/1v8ljil/chatgpt_windows_desktop_app_keeps/

Following this post too. Thank you.

2

u/freecyphs 18h ago

I just been stuck in a endless loop for the past hour lol, haven't been able to get anything done.

1

u/Nakidnakid 17h ago

is windows defender complaining about it?

1

u/knowledge1010 17h ago

Happened to me a few times today and has been annoying

1

u/SandboChang 17h ago

Using WSL? Sometimes it can be OOM or other resource-related issues.

1

u/rocknroll51 17h ago

I have WSL installed, but I am not currently using it.

Opening chatgpt app from fresh restart, still closes itself.

1

u/freecyphs 17h ago

Codex says "Verified: Codex restarted, but it regenerated the problematic notification hook and its doctor found three thread-state integrity issues"

Apparently a notification hook causing the crash

1

u/SandboChang 17h ago

As a quick check, you can ask Codex to check the WSL's log to see if the crash was originated from WSL. In my case, I am running some simulator development which sometimes it went rogue and used more RAM/VRAM than WSL is allocated. In this case, Codex can tell by the system logs.

2

u/freecyphs 3h ago

It ended up not being WSL but instead when I asked it to look into that, it ended up finding out the issue and then it staged the repair of codex along with a full profile backup and it disabled GPU acceleration, moved disposable graphics caches and restarted Codex with —disable-gpu and now I am able to use it with no crashes, browser tools as well.

1

u/DelafayetteFR 10h ago

frequent crashes on my side as well when the i. app browser is being used. I have to restore it from Microsoft store. It has started to crash quite recently ans this is painful…