[BUG] iOS app 1.260618.0 hard-crashes opening a Remote Control session — main-thread - stack overflow in Swift KeyPath metadata
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
iOS app 1.260618.0 hard-crashes opening a Remote Control session — main-thread
▎ stack overflow in Swift KeyPath metadata. iPhone 16 Pro Max, iOS 26.5 (23F77),
▎ CLI 2.1.186 (also repro'd on 2.1.183). Repro: tap any Remote Control session →
▎ instant crash, no UI. Crash: EXC_BAD_ACCESS/SIGSEGV on main thread,
▎ KERN_PROTECTION_FAILURE in the Stack Guard region; ~48 frames of unbounded
▎ recursion in libswiftCore (swift_getTypeByMangledName → decodeMangledType →
▎ createBoundGenericType → _swift_getGenericMetadata → type metadata completion
▎ function for KeyPath/WritableKeyPath, repeating). Started with build 1.260618.0;
▎ 20+ identical crashes in one afternoon. Crash log attached.
What Should Happen?
It should open the remote control session without crashing the app.
Error Messages/Logs
iOS app 1.260618.0 hard-crashes opening a Remote Control session — main-thread
▎ stack overflow in Swift KeyPath metadata. iPhone 16 Pro Max, iOS 26.5 (23F77),
▎ CLI 2.1.186 (also repro'd on 2.1.183). Repro: tap any Remote Control session →
▎ instant crash, no UI. Crash: EXC_BAD_ACCESS/SIGSEGV on main thread,
▎ KERN_PROTECTION_FAILURE in the Stack Guard region; ~48 frames of unbounded
▎ recursion in libswiftCore (swift_getTypeByMangledName → decodeMangledType →
▎ createBoundGenericType → _swift_getGenericMetadata → type metadata completion
▎ function for KeyPath/WritableKeyPath, repeating). Started with build 1.260618.0;
▎ 20+ identical crashes in one afternoon. Crash log attached.
Steps to Reproduce
Open Claude App on iOS, try to connect to any remote control session. Instant crash.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.186
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗