Skip to content

VSCode crashes on Linux as soon as it starts with codex extension pane #326092

Closed

Description

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.129.0
  • OS Version: Linux Mint 22.3 Cinnamon

Steps to Reproduce:

  1. I just click the VSCode icon and appears that VSCode error with "The Window terminated unexpectedly (reason: 'clean-exit', code:'0').
  2. I proceed to close or open a new window in VSCode and crashes again and again.

Activity

  1. WanHanZe commented on Jul 16, 2026

    @WanHanZe

    me too, get a different exit code:35

  2. brunojoyal commented on Jul 16, 2026

    @brunojoyal

    Same issue on Cinnamon as well. Completely broken. Exit code 0 here as well.

  3. robmv commented on Jul 16, 2026

    @robmv

    It crashes too in Fedora 44 GNOME x86_64 with my default workspace, It reopens in an empty one, no crash. If I reopen my workspace it crash again.

    Note: If I run code -verbose it does not crash even if I open the workspace that was crashing without --verbose

    Please bring back monthly updates, give insiders more time to detect bugs.

  4. NeihTzxc commented on Jul 16, 2026

    @NeihTzxc

    Same issue on Ubuntu 22.04

  5. niyazFattahov commented on Jul 16, 2026

    @niyazFattahov
    Click to view image Image

    Same on kubuntu-26.04 wayland, if opening .code-workspace, it opens without issues.

  6. snehilshah commented on Jul 16, 2026

    @snehilshah

    I see this happening only when the openai codex plugin opens

  7. njdldkl666699 commented on Jul 16, 2026

    @njdldkl666699

    I see this happening only when the openai codex plugin opens

    Mint. Everything was working fine before I enabled the Codex extension, but after enabling it, VS Code fails to open every time I try to launch it.

  8. SanukiUra commented on Jul 16, 2026

    @SanukiUra

    Changing back to v1.128 works for me, Ubuntu 24.04.

  9. snehilshah commented on Jul 16, 2026

    @snehilshah

    Mint. Everything was working fine before I enabled the Codex extension, but after enabling it, VS Code fails to open every time I try to launch it.

    I uninstalled codex extension before it loads and crashes. Insiders also having some problem.

    The Codex extension has consistently been unreliable, It often refuses to start and only works after restarting VS Code two or three times.

  10. kofmania commented on Jul 16, 2026

    @kofmania

    same.
    And javascript debugger also crashed.

    Version: 1.129.0
    Commit: 125df46
    Date: 2026-07-15T00:08:44Z
    Electron: 42.6.0
    ElectronBuildId: 14623276
    Chromium: 148.0.7778.280
    Node.js: 24.18.0
    V8: 14.8.178.38-electron.0
    OS: Linux x64 7.1.3-070103-generic

  11. tking007 commented on Jul 16, 2026

    @tking007

    Ubuntu 26.04 LTS
    Wayland
    Linux 7.0.0-27-generic
    无论是code 或者 code-insiders 更新版本之后都出现此情况
    但是按照:
    code --disable-gpu code-insiders --disable-gpu 启动就不会崩溃,点击图标启动必然崩溃

    Image
  12. rostidev commented on Jul 16, 2026

    @rostidev

    I confirm. Sometimes it looks like this:

    Image

    But most of the times it looks like this:

    Image

    This started to happen after upgrade to the currently latest 1.129.0 version.

    I have a feeling that it could be related to the older issue with starting VS Code plugins that I reported in #326112

    OS: Fedora 44 Linux
    VS Code:

    Version: 1.129.0
    Commit: 125df4672b8a6a34975303c6b0baa124e560a4f7
    Date: 2026-07-15T00:08:44Z
    Electron: 42.6.0
    ElectronBuildId: 14623276
    Chromium: 148.0.7778.280
    Node.js: 24.18.0
    V8: 14.8.178.38-electron.0
    OS: Linux x64 7.1.3-201.fc44.x86_64
    
  13. rostidev commented on Jul 16, 2026

    @rostidev

    Another suspicion is the #325428 PR which upgraded the electron platform to the 42.6.0 version specifically for the mailstone of the currently latest 1.129.0 version of VS Code. As I commented in that PR there is a newer patch level release of electron (version 42.6.1) that fixes the "crash triggered by replacing an open application menu" issue. Could it be that upgrading to that or never patch-level version of electron 42.6.x will resolve this issue?

    There is now even a newer patch-level release of electron 42.6.x - version 42.6.2 with even more fixes of crashes:

    I think it's worth to upgrade VS Code to electron version 42.6.2 anyway.

  14. 87 remaining items

  15. nickchomey commented on Jul 17, 2026

    @nickchomey

    Seems like code-insiders 1.130.0-1784307136 is working as well. Thanks!

  16. williamgorden commented on Jul 18, 2026

    @williamgorden

    Just updated to 1.29.1 on Linux Mint. Working remotely is functioning properly again when starting from the Start menu.

    Thanks for the correction.

  17. zhang-wenchao commented on Jul 18, 2026

    @zhang-wenchao

    New vscode version, Codex still fails to load in the remote-ssh. host and remote is debian.

  18. RossBoylan commented on Jul 18, 2026

    @RossBoylan

    Martin Aeschlimann (@aeschli) Confirming the released 1.129.1 deb fixes the problem for me (Linux, amd64, X, Debian 11).

    Thanks. 👏

    Robo (@deepak1556) The merged bugs reported different symptoms on different systems, and Vincent (@zhang-wenchao) 's recent report suggests there might be more than one issue behind the reports. But, as I said, seems to work for me 😄

  19. sufyan-squiibz commented on Jul 18, 2026

    @sufyan-squiibz

    Same here : New released 1.129.1 , Codex still fails to load in the remote-ssh. host Ubuntu 24.04.04

  20. locked and limited conversation to collaborators on Jul 21, 2026
  21. marked Codex #326463 as a duplicate of this issue on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcandidateconfirmedfreeze-slow-crash-leakinsiders-releasedlinuxregression

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions