-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Environment
- iMCP version: 1.4.0 (Build 10)
- macOS: 26.2 (25C56) Tahoe
- Hardware: Mac17,2 (Apple Silicon, arm64)
- Installation: Homebrew cask (
brew install --cask mattt/tap/iMCP)
Description
iMCP v1.4.0 crashes immediately upon receiving an MCP client connection via imcp-server. The crash occurs in CheckedContinuation.resume(throwing:) with SWIFT TASK CONTINUATION MISUSE, identical to the issue fixed in PR #112.
This appears to be a regression or incomplete fix -- the same crash pattern occurs on the com.apple.root.user-initiated-qos.cooperative queue.
Reproduction Steps
- Install iMCP v1.4.0 via Homebrew cask
- Launch iMCP.app (menu bar icon appears)
- Run:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude-code","version":"1.0.0"}}}' | /Applications/iMCP.app/Contents/MacOS/imcp-server - iMCP.app shows client approval dialog → click "Allow"
- iMCP.app crashes immediately after approval
Observed Behavior
imcp-serveroutputs repeatedconnectionClosederrors- System log shows:
Fatal error: SWIFT TASK CONTINUATION MISUSE: connect() tried to resume its continuation more than once - 4 crash reports generated within 8 minutes
Crash Log (Thread 3, faulting thread)
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Queue: com.apple.root.user-initiated-qos.cooperative
Thread 3 Crashed:
0 libswiftCore.dylib _assertionFailure(_:_:file:line:flags:)
1 libswift_Concurrency.dylib CheckedContinuation.resume(throwing:)
2 iMCP (offset 899416)
3 iMCP (offset 108941)
4 iMCP (offset 877321)
5 iMCP (offset 108941)
6 libswift_Concurrency.dylib completeTaskWithClosure
Related Issues
- App crashes with "CheckedContinuation resumed multiple times" after running for ~12 minutes #111 (closed with v1.4.0 -- same crash pattern)
- Fix crash caused by calling checked continuation multiple times #112 (PR fix for continuation misuse -- merged in v1.4.0)
- bug: crash immediately on launch with error -10810 on macOS 26.1 #113 (closed with v1.4.0 -- macOS 26.1 crash)
Notes
This may be specific to macOS 26.2 (Tahoe). The previous reporters were on macOS 26.2 beta and macOS 26.1. The PR #112 fix addresses continuation misuse in CLI/main.swift, Capture.swift, and ServerController.swift, but the crash stack suggests an unpatched code path in the main app binary.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels