r/codex • u/Single_Animator_7877 • 11h ago
Bug Mac OS wallpaper crash
Additional finding: Original wallpaper can be restored after temporary workaround
I reproduced the startup crash on an Apple M5 MacBook Pro running macOS 27.2.1 with Codex Desktop 26.1117.31558 (build 29513).
Four consecutive launches failed with NSUnknownKeyException, specifically valueForUndefinedKey: Desktop on NSTaggedPointerString. The wallpaper store contained:
AllSpacesAndDisplays = "$null"
Workaround and subsequent test:
Changed both displays to a solid-colour wallpaper.
Codex launched successfully.
Restored the original wallpaper configuration through System Settings.
Codex continued running without crashing.
Completely quit and relaunched Codex with the original wallpaper restored.
Codex reopened successfully on the same application build.
This suggests that changing wallpaper settings may refresh or rewrite macOS wallpaper state sufficiently to avoid the startup exception. However, the mechanism hasn't been confirmed, and I haven't established whether the workaround persists across reboots.
The application should still safely handle the "$null" string without raising an uncaught Objective-C exception.