Skip to content

Codex macOS app crashes (Oops / Maximum call stack size exceeded in AppRoutes) #12754

@wibaek

Description

@wibaek

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

Version 26.224.1209 (697)

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.2.0 arm64 arm

What issue are you seeing?

When I open a workspace folder containing 8 Python projects (each is a separate project directory), Codex shows “Oops, an error has occurred” and the UI crashes.
The logs show an error boundary with:
errorMessage="Maximum call stack size exceeded" name=AppRoutes

What steps can reproduce the bug?

  1. Launch Codex app
  2. Press Cmd+O
  3. Select/open folder:
    • This folder contains 8 Python project subfolders
  4. Codex immediately shows “Oops, an error has occurred” and becomes unusable

What is the expected behavior?

No response

Additional information

  • Repo Total size: 241M

error log

2026-02-25T08:13:17.040Z info [electron-message-handler] [desktop-notifications] service starting
2026-02-25T08:13:17.156Z info [electron-message-handler] Handled 'ready' message, sent ide-context-updated
2026-02-25T08:13:17.188Z info [ElectronAppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=111 errorCode=null hadInternalHandler=false hadPending=true method=experimentalFeature/list originWebcontentsId=1 requestId=d2413c0a-4c2e-47ff-8bf6-28becd0852be targetDestroyed=false
2026-02-25T08:13:17.216Z info [ElectronAppServerConnection] response_routed broadcastFallback=false conversationId=null durationMs=94 errorCode=null hadInternalHandler=false hadPending=true method=mcpServerStatus/list originWebcontentsId=1 requestId=1f6b09c8-b91b-4269-a1b8-30b79d2b6892 targetDestroyed=false
2026-02-25T08:13:17.849Z error [electron-message-handler] error boundary componentStack="\n    at xoe (app://-/assets/index-DYrX9Gof.js:2908:181)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at Activity (<anonymous>)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at Tbn (app://-/assets/index-DYrX9Gof.js:2611:63658)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at $Ve (app://-/assets/index-DYrX9Gof.js:2611:79436)\n    at dD (app://-/assets/index-DYrX9Gof.js:2611:106160)\n    at div (<anonymous>)\n    at aqe (app://-/assets/index-DYrX9Gof.js:2611:96011)\n    at dqe (app://-/assets/index-DYrX9Gof.js:2611:105661)\n    at hD (app://-/assets/index-DYrX9Gof.js:2611:107681)\n    at div (<anonymous>)\n    at yr (app://-/assets/index-DYrX9Gof.js:260:50320)\n    at div (<anonymous>)\n    at TCn (app://-/assets/index-DYrX9Gof.js:2911:21001)\n    at RYe (app://-/assets/index-DYrX9Gof.js:69:3356)\n    at ev (app://-/assets/index-DYrX9Gof.js:69:7198)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at div (<anonymous>)\n    at b9t (app://-/assets/index-DYrX9Gof.js:260:82932)\n    at W6t (app://-/assets/index-DYrX9Gof.js:260:54195)\n    at v9t (app://-/assets/index-DYrX9Gof.js:260:82643)\n    at IOt (app://-/assets/index-DYrX9Gof.js:1626:142313)\n    at DOt (app://-/assets/index-DYrX9Gof.js:1626:143013)\n    at RYe (app://-/assets/index-DYrX9Gof.js:69:3356)\n    at ev (app://-/assets/index-DYrX9Gof.js:69:7198)\n    at rAn (app://-/assets/index-DYrX9Gof.js:2933:23607)\n    at RYe (app://-/assets/index-DYrX9Gof.js:69:3356)\n    at UYe (app://-/assets/index-DYrX9Gof.js:69:8225)\n    at sPn (app://-/assets/index-DYrX9Gof.js:2964:2853)\n    at aNn (app://-/assets/index-DYrX9Gof.js:2951:169317)\n    at ese (app://-/assets/index-DYrX9Gof.js:2366:2253)\n    at nNn (app://-/assets/index-DYrX9Gof.js:2951:159930)\n    at yIn (app://-/assets/index-DYrX9Gof.js:2951:71615)\n    at YPn (app://-/assets/index-DYrX9Gof.js:1626:184625)\n    at v (app://-/assets/shiki-highlight-provider-DIqPaiKF.js:1:142)\n    at Suspense (<anonymous>)\n    at uPn (app://-/assets/index-DYrX9Gof.js:2964:3595)\n    at c (app://-/assets/index-DYrX9Gof.js:216:4085)\n    at ZSe (app://-/assets/index-DYrX9Gof.js:260:29607)\n    at D6t (app://-/assets/index-DYrX9Gof.js:260:37354)\n    at jvt (app://-/assets/index-DYrX9Gof.js:260:160593)\n    at _In (app://-/assets/index-DYrX9Gof.js:2951:72417)\n    at e (app://-/assets/index-DYrX9Gof.js:212:6204)\n    at cNn (app://-/assets/index-DYrX9Gof.js:2951:170041)\n    at a (app://-/assets/index-DYrX9Gof.js:1622:203360)\n    at s (app://-/assets/index-DYrX9Gof.js:1622:202685)\n    at oDn (app://-/assets/index-DYrX9Gof.js:2951:114715)\n    at sDn (app://-/assets/index-DYrX9Gof.js:2951:113515)\n    at dNn (app://-/assets/index-DYrX9Gof.js:2951:173338)\n    at kIn (app://-/assets/index-DYrX9Gof.js:2951:76463)\n    at r9t (app://-/assets/index-DYrX9Gof.js:260:73319)\n    at ZDn (app://-/assets/index-DYrX9Gof.js:2951:151879)\n    at QDn (app://-/assets/index-DYrX9Gof.js:2951:154944)\n    at HYe (app://-/assets/index-DYrX9Gof.js:69:7387)\n    at zYe (app://-/assets/index-DYrX9Gof.js:69:6174)\n    at WZe (app://-/assets/index-DYrX9Gof.js:26:7222)\n    at JXe (app://-/assets/index-DYrX9Gof.js:69:58876)\n    at KNn (app://-/assets/index-DYrX9Gof.js:2958:2210)\n    at MIn (app://-/assets/index-DYrX9Gof.js:2951:78528)\n    at UNn (app://-/assets/index-DYrX9Gof.js:2958:558)" errorMessage="Maximum call stack size exceeded" errorName=Error errorStack="Error: Maximum call stack size exceeded" name=AppRoutes

Additionally, when I click/select that project folder in the app (or in the folder picker), the UI noticeably lags/freezes for a while. This happens even though my system still has plenty of available RAM and CPU headroom at the time.

Additionally, this issue only reproduces when I actually enter/open the problematic folder (i.e., navigate into it). Simply having the folder present isn’t enough—the crash happens only after I go into that folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions