Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#52,360 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
desktop, security

Research direction

The payload names no source files. Its concrete leads are node_repl.exe, the ACL update during sandbox setup, and the sandbox self-test, which reportedly passes once the app is fully closed. Start by finding where the sandbox setup refresh validates runtime read/execute permissions and applies ACLs, then reproduce the os error 32 sharing violation on Windows with the app running. Done means setup succeeds while the app is running, with a regression test if one is feasible.

Written by the indexing model from the issue text.

Description

app bug sandbox windows-os
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

Dominant language
Rust
Stars
129k
Forks
20.3k
Avg merge
1m
Merged PRs (30d)
998

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.