Skip to content

[macOS 26.6.2][ChatGPT Desktop 26.814.41957 Build 6744] Computer Use worker/thread leak crashes GUI after ~104 seconds #39403

Open

Description

@ShaoGuo520

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

26.814.41957

What subscription do you have?

gpt pro 20x

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

Environment:

  • Hardware: Mac16,7
  • Architecture: Apple Silicon ARM64
  • macOS: 26.6.2 (25G82)
  • ChatGPT/Codex Desktop: 26.814.41957 (Build 6744)
  • Bundle ID: com.openai.codex
  • Crash time: 2026-08-19 11:33:05 +0800
  • Launch time: 2026-08-19 11:31:21 +0800

Observed behavior:
The desktop GUI crashes approximately 104 seconds after launch.

Crash signature:

  • Triggered by Thread 328: computer-use
  • EXC_BREAKPOINT (SIGTRAP)
  • Dispatch Thread Soft Limit Reached: 70
  • Too many dispatch threads blocked in synchronous operations

Thread evidence:

  • 185 threads named "computer-use"
  • 70 com.apple.root.user-initiated-qos dispatch threads
  • Repeated blocking stack:

_dispatch_group_wait_slow
AESendMessage
NSAppleEventDescriptor sendEventWithOptions:timeout:error:
sky.node
RemoteHostedPIPContentService
sendBootstrapToServiceWithProcessIdentifier:rendezvousPort:attempt:

The computer-use workers appear to be created repeatedly without the
previous workers being cancelled or destroyed. Each worker appears to
create a Node/V8 isolate and then blocks in the synchronous Apple Event
bootstrap path.

This issue previously reproduced on 26.810 builds and still reproduces
on 26.814.41957 and macOS 26.6.2.

Please investigate:

  1. Missing single-flight protection around Computer Use bootstrap.
  2. Missing cancellation/timeout cleanup for AESendMessage.
  3. Worker/V8 isolate lifecycle cleanup after bootstrap failure.
  4. Whether Computer Use initializes before config.toml or
    requirements.toml feature gating is applied.
  5. Whether RemoteHostedPIPContentService retries create a new worker
    instead of reusing one service instance.

What steps can reproduce the bug?

This is bare‑metal native macOS, NOT Docker / container / VM environment.

Steps: Start ChatGPT desktop app, run multiple Computer‑Use agent tasks via ao cli in local terminal.
After each task finishes, SkyComputerUseService helper becomes orphaned (ppid=1) and keeps accumulating.
Leak is more severe when cache resides on external disk volume.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    app
    on Aug 19, 2026
  2. TyceHerrman commented on Oct 27, 2026

    @TyceHerrman

    the bot already suggested closely matching reports, particularly #38813, #39151 and #38841. The captured roughly 185 computer-use workers, blocked AppleEvent bootstrap calls, and dispatch-thread exhaustion fit that failure family.

    would suggest #38455 as the common consolidation destination. The bot also suggested #38744, whose author explicitly closed that matching bootstrap-crash report into #38455: #38744 (comment).

    before closing this as duplicate, would be useful to clarify the reproduction section describing helpers becoming PPID-1 orphans after Computer Use tasks finish. If that is a separately observed completion/cleanup failure, it should be preserved separately rather than assumed to be the same startup storm. The build 6744 crash evidence itself would be valuable to consolidate with #38455.

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

    appbugcomputer-useperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions