macOS Dock helper crashes recursively in CodexDockTilePlugin setDockTile after app update

Open 💬 4 comments Opened Jun 12, 2026 by SparklesKitchen
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.609.30741 (3808)

What subscription do you have?

ChatGPT Pro / Pro 20x

What platform is your computer?

macOS 26.5.1 25F80, arm64 uname -mpr: 25.5.0 arm64 arm

What issue are you seeing?

After a recent Codex Mac app update, macOS Dock and application launching behavior became unstable.

This is not a generic "Codex will not open" issue. Crash reports for com.apple.dock.external.extra.arm64 show the Dock helper crashing inside:

-[CodexDockTilePlugin_com_openai_codex setDockTile:]

The crash shows massive recursive stack frames and ends in EXC_BAD_ACCESS. This suggests the Codex Dock tile plugin is repeatedly calling itself and crashing Apple's Dock helper.

To stop the Dock helper from repeatedly crashing, the Codex Dock tile plugin was disabled/removed. After that, the Codex app bundle signature became invalid because Info.plist still declares:

NSDockTilePlugIn = CodexDockTilePlugin.plugin

while the plugin is missing. macOS then started logging AppleSystemPolicy blocks against Codex. After this, app launch behavior across the Mac became unreliable, with Dock launches bouncing, hanging, or being blocked.

Observed behavior:

  • Dock helper crash reports reference CodexDockTilePlugin_com_openai_codex setDockTile:
  • Large recursive stack in the Dock helper
  • Final crash: EXC_BAD_ACCESS
  • Removing/disabling the plugin stops the Dock helper crash loop
  • Removing the plugin invalidates the Codex app bundle signature
  • macOS logs AppleSystemPolicy blocks against Codex
  • Dock / LaunchServices behavior becomes unreliable after the broken app state

Expected behavior:

  • Codex should not install a Dock tile plugin that can recursively crash Apple's Dock helper
  • Codex updates should never leave the user with a broken or invalidly signed app bundle
  • If a Dock tile plugin is faulty, Codex should have a safe fallback build or recovery path

Requested follow-up:

  1. Provide a clean signed Codex build without the crashing Dock tile plugin.
  2. Document a recovery path for users whose Dock / LaunchServices state was destabilized.
  3. Confirm that the Codex Mac app update mechanism will not leave users with a broken signed bundle.
  4. Investigate the CodexDockTilePlugin_com_openai_codex setDockTile: recursion/crash in Apple's Dock helper.

This issue disrupted my local development workflow and made other app launches appear unreliable. Please route this to the Mac app engineering team rather than treating it as a generic reinstall issue.

What steps can reproduce the bug?

I cannot reliably reproduce the original update path now because this happened immediately after a Codex Mac app update, but the observed failure sequence was:

  1. Install or update to Codex Mac app version 26.609.30741 (3808).
  2. Launch Codex from the macOS Dock.
  3. Observe repeated Dock helper crashes in crash reports for com.apple.dock.external.extra.arm64.
  4. The crash report points to:

-[CodexDockTilePlugin_com_openai_codex setDockTile:]

  1. The stack contains massive recursive frames and ends in EXC_BAD_ACCESS.
  2. Disabling/removing CodexDockTilePlugin.plugin stops the Dock helper crash loop.
  3. Because Info.plist still declares NSDockTilePlugIn = CodexDockTilePlugin.plugin, the app bundle signature becomes invalid when the plugin is missing.
  4. macOS then logs AppleSystemPolicy blocks against Codex.
  5. After this, launching apps from the Dock becomes unreliable, with apps bouncing, hanging, or being blocked.

No code snippet is available because this is a signed macOS app bundle / Dock tile plugin issue, not an API or CLI reproduction.

What is the expected behavior?

Codex should launch normally from the macOS Dock after an update.

The Dock tile plugin should not recursively call setDockTile: or crash Apple's Dock helper. A Codex update should not leave the app in a state where removing a crashing plugin invalidates the signed bundle. If the Dock tile plugin fails, Codex should fail safely without destabilizing Dock, LaunchServices, or app launching across macOS.

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #27694

Powered by Codex Action

jacquesjurgens · 2 months ago

Confirming on a newer build — still broken.

  • Codex 26.609.41114 (newer than the 26.609.30741 in the report); bug persists across the update.
  • macOS 26.5.1 (25F80), Apple Silicon (Mac Studio, M1 Max).

Same signature: com.apple.dock.external.extra.arm64 dies of EXC_BAD_ACCESS
(stack-guard / stack overflow), crashed thread an unbounded recursion of
-[CodexDockTilePlugin_com_openai_codex setDockTile:].

Extra detail for triage: it crashes even when Codex is not running. Because
Codex is pinned in the Dock, the external-display Dock helper loads
CodexDockTilePlugin to draw the tile at rest, so it crash-loops at login/idle
(launchd respawns it on a widening backoff). On a cold boot I logged ~13 crashes
in the first 4 minutes.

Cleaner workaround than removing the plugin (which breaks the bundle signature /
trips AppleSystemPolicy): just remove Codex from the Dock — the helper then
never loads the tile plugin. Verified clean across a cold boot (0 helper crashes
in 17 min), with no modification to the app bundle. The real fix still needs to be
in setDockTile: not recursing.

(Can attach a full .ips if useful.)

gabriel-rato · 2 months ago

Environment

  • Hardware: Apple Silicon (Mac16,5), arm64
  • macOS: 26.5.1 (25F80)
  • Codex: reproduces on both 26.609.41114 (build 3888) and 26.609.30741 (build

3808) — downgrading between these does not help, so the regression predates 3808.

  • External display connected (2560×1440 @ 144 Hz)

Crash

  • Process: com.apple.dock.external.extra.arm64 (note: the external-display Dock

service specifically)

  • EXC_BAD_ACCESS (SIGSEGV) — KERN_PROTECTION_FAILURE / "Could not determine thread

index for stack guard region" (i.e. stack overflow from unbounded recursion)

  • Backtrace: objc_storeStrong → -[CodexDockTilePlugin_com_openai_codex setDockTile:]

repeated for the entire stack

  • consecutiveCrashCount: 5, throttled — ~37 crashes in 2 days

Trigger & system impact

  • Crashes whenever Codex's tile is rendered on the external Dock — i.e. whenever Codex is

pinned to the Dock and/or running. It crash-loops even when Codex is closed but
still pinned.

  • While looping, WindowServer sits at ~45–50% CPU, which produces secondary OS-wide

symptoms: stuck/incorrect mouse cursor (doesn't revert from I-beam), Dock
hover/magnification animations stop working, and other apps are slow to launch.

bugficks · 2 months ago

Workaround: disable Codex Extensions on macOS

<img width="513" height="213" alt="Image" src="https://github.com/user-attachments/assets/59349033-0dd7-4174-b523-2deea4e72f3e" />

Disabling the Dock Tile extension stopped the crashes for me.

Extensions that only crash aren't good for anything anyway. :)