Skip to content

Windows: sandbox initialization fails with sharing violation (os error 32) after update #52360

Open

Description

@millybridal11-eng

What version of the Codex App are you using (From “About Codex” dialog)?

26.1002.52244 (build 13536)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

Environment

  • Windows desktop package: OpenAI.Codex_26.1002.7124.0
  • Runtime version changed from 0.160.1 to 0.162.0-alpha.2

Problem
After the update, sandbox initialization started failing with:

helper_unknown_error: setup refresh had errors

The logs show a failure while validating runtime read/execute permissions and updating the ACL for node_repl.exe. Windows reports a sharing violation (os error 32: the file is being used by another process).

Observed behavior

  • The standalone sandbox self-test succeeds after fully exiting the Codex app.
  • The problem returns after reopening the app.
  • Using the Windows app Repair option did not resolve the issue.
  • The failure prevents sandboxed commands from starting.

Expected behavior
Sandbox initialization should succeed while the Codex app is running.

Request
Could you confirm whether this is a known regression or a runtime file-locking issue?

Please provide a supported fix or workaround. If a rollback is required, please provide an official Windows installation source and rollback instructions.

Feedback / Session ID: 01a11938-9188-7670-8b19-7a09e6f22ebe

What steps can reproduce the bug?

Environment

  • Windows desktop package: OpenAI.Codex_26.1002.7124.0
  • Runtime version changed from 0.160.1 to 0.162.0-alpha.2

Problem
After the update, sandbox initialization started failing with:

helper_unknown_error: setup refresh had errors

The logs show a failure while validating runtime read/execute permissions and updating the ACL for node_repl.exe. Windows reports a sharing violation (os error 32: the file is being used by another process).

Observed behavior

  • The standalone sandbox self-test succeeds after fully exiting the Codex app.
  • The problem returns after reopening the app.
  • Using the Windows app Repair option did not resolve the issue.
  • The failure prevents sandboxed commands from starting.

Expected behavior
Sandbox initialization should succeed while the Codex app is running.

Request
Could you confirm whether this is a known regression or a runtime file-locking issue?

Please provide a supported fix or workaround. If a rollback is required, please provide an official Windows installation source and rollback instructions.

Feedback / Session ID: 01a11938-9188-7670-8b19-7a09e6f22ebe

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Oct 9, 2026
  2. added
    bug
    windows-os
    sandbox
    on Oct 9, 2026
  3. Hendra827 commented on Oct 9, 2026

    @Hendra827

    This looks closely related to the broader Windows sandbox regression tracked in #51932 and PR #51822. All local tasks fail before commands start for affected users. Please consider prioritizing the Desktop rollout of the existing fix and clarifying the target release/version or safe temporary workaround.

  4. alictsay-prog commented on Oct 9, 2026

    @alictsay-prog

    I’m seeing the same issue on Windows.

    Environment:

    • Windows desktop Codex / ChatGPT
    • Current Windows package: OpenAI.Codex 26.1002.7124.0
    • Previous package: 26.1002.6548.0
    • Local execution worked before the recent update.

    Current behavior:

    • Get-Location cannot execute.
    • Local TXT/files and attachments cannot be read because the local runner fails before file access starts.
    • Every local execution attempt returns:

    helper_unknown_error: setup refresh had errors

    The sandbox log shows the fatal error is:

    runtime read/execute validation failed

    on:

    %LOCALAPPDATA%\OpenAI\Codex\runtimes\cua_node\2c9e75c4e9c71beb\bin\node_repl.exe

    with:

    The process cannot access the file because it is being used by another process. (os error 32)

    I also confirmed that the affected Codex runtime processes are launched by ChatGPT.exe.

    Troubleshooting already performed:

    • Updated from 26.1002.6548.0 to 26.1002.7124.0
    • Restarted the application
    • Tested a minimal read-only command (Get-Location)
    • Tested both Windows sandbox settings:
      • sandbox = "elevated"
      • sandbox = "unelevated"
    • The error persisted in both modes.
    • TEMP ownership/permissions appear normal.
    • Runtime path length is not excessive (maximum observed path length was about 224 characters).

    The problem started after the ChatGPT/Codex desktop update. Before the update, local file access and command execution worked normally.

    This completely blocks my normal Codex workflow because I frequently provide long task instructions as local TXT/attachment files, and Codex can no longer read them.

    Could you please confirm:

    1. Whether 26.1002.7124.0 contains the expected fix for this sharing-violation regression.
    2. Which Windows Desktop build will contain the fix if it is not yet included.
    3. Whether there is an officially supported workaround or rollback until the fix is released.

    I can provide additional sanitized sandbox log excerpts if needed.

  5. kaypro283 commented on Oct 9, 2026

    @kaypro283

    Still reproducible October 9 at 11:36 UTC. Desktop is connected, but local file access fails with exec-server -32603, helper_unknown_error: setup refresh had errors. Earlier logs showed node_repl.exe sharing violation, Windows error 32. This appears related to issue #51601 and fix #51822. Which desktop build will include that fix?

  6. SandyShan80 commented on Oct 10, 2026

    @SandyShan80

    The problem has been fixed on my Windows with the latest version 26.1007.21434.

  7. alictsay-prog commented on Oct 11, 2026

    @alictsay-prog

    Additional issue observed on 2026-10-11:

    Remote compaction is now repeatedly failing with:

    Error running remote compact task:
    stream disconnected before completion.

    Request ID:
    38088f30-086e-4b86-8e3c-5772c3ec03d6

    The failure is intermittent but occurring repeatedly today in an existing long-running Codex thread.

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

    appbugsandboxwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions