Skip to content

[Linux] VS Code renderer crashes when opening Codex sidebar in 26.707.91948; rollback to 26.707.71524 fixes it #33521

Open

Description

@akarasulu

Summary

On Ubuntu 22.04 / X11 with VS Code 1.129.0, openai.chatgpt version 26.707.91948 reproducibly terminates the VS Code workbench renderer when the Codex sidebar webview is opened.

Rolling back to openai.chatgpt version 26.707.71524 fixes the problem completely. The older version is stable under the same OS, VS Code build, project, profile, and hardware.

This appears to be a regression between those two extension builds.

Environment

  • Ubuntu 22.04 LTS (Jammy)
  • GNOME on X11
  • Kernel: 6.8.0-134-generic
  • VS Code: 1.129.0
  • Architecture: Linux x86-64
  • Failing extension: [email protected]
  • Working extension: [email protected]

Steps to reproduce

  1. Close all VS Code processes.
  2. Start with clean user-data and extension directories.
  3. Install [email protected] as the only user extension.
  4. Launch VS Code.
  5. Open the Codex sidebar/chat view.

Minimal reproduction:

pkill -9 -f '/usr/share/code/code' 2>/dev/null || true
rm -rf /tmp/codex-repro-profile /tmp/codex-repro-extensions

code \
  --user-data-dir=/tmp/codex-repro-profile \
  --extensions-dir=/tmp/codex-repro-extensions \
  --install-extension openai.chatgpt \
  --force

/usr/share/code/code \
  --user-data-dir=/tmp/codex-repro-profile \
  --extensions-dir=/tmp/codex-repro-extensions \
  --verbose

Then open the Codex sidebar.

Expected result

The Codex sidebar opens and remains usable.

Actual result

The VS Code workbench renderer terminates and VS Code displays “The window terminated unexpectedly.”

Observed diagnostics include:

  • CodeWindow: renderer process gone
  • Renderer exit codes 135 and 139 in separate runs
  • Repeated ResizeObserver loop completed with undelivered notifications messages from the openai.chatgpt webview
  • potential listener LEAK detected, having 175 listeners already in VS Code's webview local-resource loading path
  • The extension host exits cleanly with code 0 after the renderer is gone

The extension host itself does not appear to be the crashing process; the workbench renderer containing the Codex webview is what disappears.

Confirmed workaround / A-B result

A cached previous build was installed as a VSIX:

cp ~/.config/Code/CachedExtensionVSIXs/openai.chatgpt-26.707.71524-linux-x64 \
   /tmp/openai.chatgpt-26.707.71524-linux-x64.vsix

code --uninstall-extension openai.chatgpt
code --install-extension /tmp/openai.chatgpt-26.707.71524-linux-x64.vsix --force

Verification:

Result:

  • 26.707.71524: stable; Codex sidebar works normally
  • 26.707.91948: renderer crashes when Codex sidebar opens

Additional context

The machine has an AMD/RADV graphics environment, and Vulkan/VAAPI warnings are present in verbose logs. However, ordinary VS Code is stable, VS Code is stable with the extension removed, and the crash is specifically triggered by opening the newer Codex webview. The version rollback is the decisive controlled result.

I can provide the full VS Code verbose log, Chromium/Electron log, screenshots, and a native core dump/backtrace if useful.

Activity

  1. added
    bug
    extension
    on Jul 16, 2026
  2. wongkoo commented on Jul 16, 2026

    @wongkoo

    ChatGPT 26.707.91948 is suck,renderer cpu 100%

  3. JesusMOO commented on Jul 16, 2026

    @JesusMOO

    这个问题目前仍然没有被解决

  4. Roosevelt-z commented on Jul 16, 2026

    @Roosevelt-z

    I can reproduce this on another Ubuntu/Linux x86-64 machine.

    Environment:

    • VS Code: 1.129.0 (125df4672b8a6a34975303c6b0baa124e560a4f7)
    • Codex extension after rollback: [email protected]
    • Hardware: ASUS ROG Strix SCAR 18 (G834JZR)

    Behavior:

    1. After updating VS Code/Codex, opening the Codex sidebar caused the VS Code renderer to terminate immediately with exit code 135.
    2. Enabling a network accelerator/proxy did not change the behavior, so this does not appear to be a network connectivity problem.
    3. After rolling the extension back to 26.707.71524, VS Code no longer crashes, but the Codex sidebar now fails to load.

    This is seriously disrupting normal development work. Codex has also had recurring connection problems for me in earlier versions. Please treat Linux extension stability and regression testing as a priority, especially across VS Code updates. I can provide screenshots and additional logs if needed.

    Please take this seriously and treat fixing it as an actual priority, rather than another issue that is acknowledged and then left unresolved.

  5. techagentzz commented on Jul 16, 2026

    @techagentzz

    I can reproduce this regression on another independent Linux setup.

    Environment:

    • Ubuntu 24.04.4 LTS, kernel 6.17.0-35-generic
    • GNOME on Wayland
    • VS Code 1.129.0 (125df4672b8a6a34975303c6b0baa124e560a4f7)
    • Linux x86-64
    • Intel Ivy Bridge graphics using i915
    • Failing extension: [email protected]
    • Working rollback: [email protected]

    Observations:

    • VS Code repeatedly exits shortly after the Codex extension activates.
    • main.log reports: CodeWindow: renderer process gone (reason: clean-exit, code: <unknown>)
    • Immediately before exit, renderer.log reports potential listener LEAK detected in the webview resource-loading path (doReadFileStream / loadResource).
    • The extension host then exits cleanly with code 0.
    • Disabling all extensions fixes the problem.
    • Disabling only openai.chatgpt also fixes it.
    • Keeping GPU acceleration enabled while disabling the extension remains stable, so this does not appear GPU-specific.
    • Rolling back to 26.5707.41301 restores normal operation with Codex enabled.

    This broadens the reproduction from Ubuntu 22.04/X11/AMD to Ubuntu 24.04/Wayland/Intel and supports an extension regression in 26.707.91948.

    I can provide additional sanitized log excerpts if useful.

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