Skip to content

codex plugin crashes vscode, can't use the plugin #33812

Closed

Description

@jligeza

What version of the IDE extension are you using?

openai.chatgpt 26.707.91948 (linux-x64); bundled codex-cli 0.144.5

What subscription do you have?

plus

Which IDE are you using?

VS Code 1.129.0 (commit 125df4672b8a6a34975303c6b0baa124e560a4f7), x64

What platform is your computer?

Linux Mint 22.3, kernel 6.17.0-40-generic, x86_64 - Intel Iris Xe (Mesa), 30 GB RAM

What issue are you seeing?

Using the Codex panel repeatedly crashes the entire VS Code window; the renderer exits with reason: clean-exit, code: <unknown>. After reopening it crashes again within ~1-6 minutes while Codex is active. Disabling the Codex extension stops the crashes completely; all other extensions are stable.

main.log (one session):

10:41:00 CodeWindow: renderer process gone (reason: clean-exit, code: <unknown>)
10:42:30 CodeWindow: renderer process gone (reason: clean-exit, code: <unknown>)
10:48:38 CodeWindow: renderer process gone (reason: clean-exit, code: <unknown>)

What steps can reproduce the bug?

  1. Open a workspace with the Codex panel active in VS Code.
  2. Use Codex normally.
  3. After some initial loading is done (like 10 seconds or so), the window dies with clean-exit.
  4. Reopening reproduces it; disabling the Codex extension stops it.

What is the expected behavior?

The Codex panel runs without crashing the VS Code window.

Additional information

Ruled out: not OOM (18-19 GB RAM + 8 GB swap free at crash time); no GPU/i915/drm errors in the kernel log; no native segfault in the journal at crash times; the app-server is healthy (no panic/fatal in ~/.codex/logs_2.sqlite). The renderer death is clean-exit (not a signal/segfault), so Crashpad produces no crash dump.

Tried without success: reinstalling the extension; installing older extension versions (like one week old or 1 month old); deleting ~/.codex; deleting ~/.config/Code. None fixed it.

Activity

  1. added
    extension
    on Jul 17, 2026
  2. added
    bug
    on Jul 17, 2026
  3. github-actions commented on Jul 17, 2026

    @github-actions
    Contributor
  4. jligeza commented on Jul 17, 2026

    @jligeza
    Author

    The workaround from this issue fixed the crash, closing the issue as a potential duplicate:
    #33725

  5. amiras2030 commented on Jul 17, 2026

    @amiras2030

    I can reproduce the same issue on Ubuntu 24.04 with VS Code 1.129.0 and [email protected].

    My account is on a ChatGPT Pro subscription, so this does not appear to be limited to accounts.

    In my case, an empty VS Code window remains stable. The crash starts as soon as I open a local project or workspace while the Codex extension is enabled.

    I also tried:

    • Uninstalling the latest Codex extension version.
    • Installing the previous version, [email protected].
    • Completely removing VS Code.
    • Deleting all VS Code caches.
    • Deleting all installed extensions.
    • Deleting global storage and user state.
    • Reinstalling VS Code 1.129.0 from scratch.
    • Installing only the latest OpenAI Codex extension in the clean installation.
    • Testing with no other extensions installed.

    The rollback did not fix the issue on my machine.

    A completely empty VS Code window opens normally.

    However, as soon as I open a local project or workspace while the Codex extension is installed, VS Code crashes with:

    The window terminated unexpectedly
    (reason: 'clean-exit', code: '0')
    

    Disabling or uninstalling openai.chatgpt immediately fixes the issue, and the same project opens normally.

    Environment:

    • OS: Ubuntu 24.04 LTS
    • Architecture: Linux x86_64
    • Desktop session: X11
    • VS Code: 1.129.0
    • Extension: [email protected]
    • Local workspace
    • Not Remote SSH
    • Not Dev Containers
    • Not WSL
  6. jligeza commented on Jul 17, 2026

    @jligeza
    Author

    Looks like the vscode has to be started once from bash like code --disable-gpu, and we need to watch a new advertisement of the latest GPT 5.6 model. After this advertisement is gone, the vscode can be launched normally.

    I am also using windows 11 on another machine, and also couldn't lanuch codex plugin at first.

  7. amiras2030 commented on Jul 19, 2026

    @amiras2030

    @jligeza Thanks for sharing this. After updating both VS Code and the Codex extension today, the issue seems to be resolved on my machine and everything is working normally again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions