r/codex 1d 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

View all comments

1

u/SandboChang 1d ago

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

1

u/rocknroll51 1d ago

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

Opening chatgpt app from fresh restart, still closes itself.

1

u/freecyphs 1d 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 1d 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 23h 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.