Skip to content

Warp hangs for minutes, consuming >100% CPU when Claude code session is running - unhangs when the claude is finished with the job #8409

@genesiscz

Description

@genesiscz

Pre-submit Checks

Similar bugs:

Describe the bug

Image

happens a lot when running claude code

Just to be completely fair, I am stressing it out a litlte bit - but I have M4 PRO MAX, 128GB RAM - but in most cases, it flies, but if some of the tabs get into that state, the whole Warp is unusable until CC stops the response loop.

Image

@vorporeal So i did log stream --predicate 'process == "Warp" || process == "stable"' --info --style compact and waited Warp to hang.

I hope it helps! I am open to debug on my machine if you're open to it via Google Meet or something. Let me know!

To reproduce

0: I am open to debug on my machine, let me know how can I contact you directly!

  1. I am not sure how YOU can reproduce it but just run multiple claude code instances at a time for a very long time and suddenly sometimes it just starts hanging every time you submit a prompt to it
  2. Wait for the Claude to stop responding
  3. Then the hang resolves again.

Expected behavior

It just shouldn't hang for 2 minutes

Screenshots, videos, and logs

Image

@genesiscz please take a process sample when Warp is using this much CPU (in the menu in your screenshot next to the "CPU" button) and attach it here

"Sample Process"? The warp goes "Not responding" every time I have a long conversation with Claude code - and this sample got recorded straight after going to "Non responding" (funnily enough, the claude just does it stuff in the meanwhile and when it finishes, it goes to responding again)
Warp_CpuSample.txt

Image

@vorporeal So i did log stream --predicate 'process == "Warp" || process == "stable"' --info --style compact and waited Warp to hang.

Here are the logs that happened straight before the hang (around the 20:30:17):

2026-01-06 20:28:58.561 Df stable[997:2db0] [com.apple.AppKit:Pasteboard] NSPasteboard (name: Apple CFPasteboard general): data requested for type com.compuserve.gif at index 0
2026-01-06 20:28:58.561 I  stable[997:2db0] [com.apple.AppKit:Menu] Donating invocation type KeyboardShortcut for menu item <NSMenuItem: 0xb3e40e940, ke='Command-V', action: itemWasTriggered:>
2026-01-06 20:29:07.928 I  stable[997:674d4e3] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:29:18.585 I  stable[997:6755bbf] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:29:31.224 I  stable[997:6755bbf] [com.apple.AppKit:WindowTab] Indexing 1 items
2026-01-06 20:29:31.224 A  stable[997:6755bbf] (CoreSpotlight) end-index-batch
2026-01-06 20:29:31.224 A  stable[997:6755bbf] (CoreSpotlight) index-items
2026-01-06 20:29:33.008 I  stable[997:674d4e3] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:29:37.413 I  stable[997:2db0] [com.apple.CoreAnalytics:client] Dropping "com.apple.keyboard.shortcut" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:29:37.413 A  stable[997:2db0] (AppKit) performKeyEquivalent:
2026-01-06 20:29:37.413 A  stable[997:2db0] (AppKit) sendAction:
2026-01-06 20:29:37.414 I  stable[997:2db0] [com.apple.AppKit:Menu] Donating invocation type KeyboardShortcut for menu item <NSMenuItem: 0xb3e40ee40, ke='Command-F', action: itemWasTriggered:>
2026-01-06 20:29:47.252 I  stable[997:6755bbf] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:29:47.271 I  stable[997:2db0] [com.apple.libspindump:logging] Reporting 9.51s HID response delay 10278966470556-10279194770003
2026-01-06 20:29:47.818 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]
2026-01-06 20:29:47.819 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges] finishing enqueued operations
2026-01-06 20:29:47.819 Df stable[997:674d4e3] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke asyncing to main queue
2026-01-06 20:29:47.819 Df stable[997:6755bbf] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke writing records
2026-01-06 20:29:47.894 I  stable[997:2db0] [com.apple.libspindump:logging] Reporting 9.12s HID response delay 10278975950414-10279209702019 with start time capped to 10279194770003 (9.74s original)
2026-01-06 20:29:48.397 I  stable[997:2db0] [com.apple.libspindump:logging] Reporting 9.55s HID response delay 10278980509576-10279221776383 with start time capped to 10279209702019 (10.05s original)
2026-01-06 20:29:48.996 I  stable[997:2db0] [com.apple.libspindump:logging] Reporting 9.87s HID response delay 10278984925409-10279236164907 with start time capped to 10279221776383 (10.47s original)
2026-01-06 20:29:57.770 I  stable[997:6755bbf] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:30:17.186 A  stable[997:6755bbf] (RunningBoardServices) didChangeInheritances

It hanged for 2 minutes (!!) until the claude code finished answering my question and after it I saw these:

2026-01-06 20:32:02.206 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:02.207 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:02.210 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:02.210 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:02.210 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:02.212 I  stable[997:2db0] [com.apple.sharedfilelist:default] -[SFLGenericList handleListChangeNotification:] received
2026-01-06 20:32:02.212 I  stable[997:674d4e3] [com.apple.sharedfilelist:XPC] -[SFLGenericList _fetchList]: com.apple.LSSharedFileList.RecentApplications
2026-01-06 20:32:02.213 I  stable[997:674d4e3] [com.apple.sharedfilelist:XPC] received: com.apple.LSSharedFileList.RecentApplications
2026-01-06 20:32:02.213 Df stable[997:675ce47] [com.apple.network:path] nw_path_libinfo_path_check [79A8C131-59F9-43E1-9D1A-6F173F5046C6 Hostname#de2322cc:0 tcp, legacy-socket, attribution: developer]
	libinfo check path: <private>
2026-01-06 20:32:02.222 I  stable[997:2db0] [com.apple.libspindump:logging] Reporting 108.33s HID response delay 10279833552601-10282433553929
2026-01-06 20:32:02.222 I  stable[997:2db0] [com.apple.launchservices:cas] information in shared memory for 0x0-0x65065 with seed 789 was still valid, so using cached info { "ATSApplicationFontsPath"=".", "ApplicationType"="UIElement", "BuildMachineOSBuild"="24G325", "BundleIdentifierLowerCase"="com.raycast.macos", "CFBundleDevelopmentRegion"="en", "CFBundleDisplayName"="Raycast", "CFBundleDocumentTypes"=( { "CFBundleTypeExtensions"=( "rayconfig"), "CFBundleTypeIconFile"="RayConfig", "CFBundleTypeIconSystemGenerated"=0, "CFBundleTypeName"="Raycast Configuration", "CFBundleTypeRole"="Editor", "LSHandlerRank"="Owner" }), "CFBundleExecutable"="Raycast", "CFBundleExecutablePath"="/Applications/Raycast.app/Contents/MacOS/Raycast", "CFBundleExecutablePathDeviceID"=16777230, "CFBundleExecutablePathINode"=686137112, "CFBundleIconFile"="AppIcon-Release", "CFBundleIconName"="AppIcon-Release", "CFBundleIdentifier"="com.raycast.macos", "CFBundleInfoDictionaryVersion"="6.0", "CFBundleName"="Raycast", "CFBundleNameLowerCase"="raycast", "CFBundleNumericVersion"=32768, "CFBundlePackageType"="APPL", "CFBundleShortVersionString"="1.104.1", "CFBundleSignature"="????", "<…>
2026-01-06 20:32:02.245 A  stable[997:304a] (Security) SecTrustEvaluateIfNecessary
2026-01-06 20:32:02.341 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]
2026-01-06 20:32:02.341 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges] finishing enqueued operations
2026-01-06 20:32:02.341 Df stable[997:6755bbf] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke asyncing to main queue
2026-01-06 20:32:02.341 Df stable[997:674d4e3] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke writing records
2026-01-06 20:32:06.248 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:12.721 I  stable[997:674d4e3] [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)
2026-01-06 20:32:20.955 A  stable[997:6755bbf] (RunningBoardServices) didChangeInheritances
2026-01-06 20:32:20.960 A  stable[997:674d4e3] (RunningBoardServices) didChangeInheritances
2026-01-06 20:32:20.967 I  stable[997:2db0] [com.apple.AppKit:Window] order window front conditionally: e7 related: 0
2026-01-06 20:32:20.968 I  stable[997:2db0] [com.apple.AppKit:Window] order all windows front 428453462289333
2026-01-06 20:32:20.969 Df stable[997:674d4e3] [com.apple.xpc:connection] [0xb11a0c3c0] activating connection: mach=false listener=false peer=false name=com.apple.TextInputUI.xpc.CursorUIViewService
2026-01-06 20:32:20.970 Df stable[997:6755bbf] [com.apple.xpc:connection] [0xb11a0c3c0] invalidated after the last release of the connection object
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 5080 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 8876 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 9408 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 11912 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 12144 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 61956 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 62684 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 63036 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 63116 returned -43
2026-01-06 20:32:20.970 Df stable[997:2db0] [com.apple.launchservices:default] _LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 65048 returned -43
2026-01-06 20:32:20.971 Df stable[997:2db0] [com.apple.xpc:connection] [0xb11a0d7c0] activating connection: mach=false listener=false peer=false name=(anonymous)
2026-01-06 20:32:20.971 Df stable[997:2db0] [com.apple.xpc:connection] [0xb11a0c3c0] activating connection: mach=false listener=false peer=false name=(anonymous)
2026-01-06 20:32:21.008 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:21.014 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController activate:]_block_invoke: Create CursorUIViewService: TUINSRemoteViewController
2026-01-06 20:32:21.014 Df stable[997:2db0] [com.apple.xpc:connection] [0xb11a0c780] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2026-01-06 20:32:21.014 Df stable[997:2db0] [com.apple.xpc:connection] [0xb11a0d680] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2026-01-06 20:32:21.089 I  stable[997:6755bbf] [com.apple.AppKit:WindowTab] Indexing 1 items
2026-01-06 20:32:21.089 A  stable[997:6755bbf] (CoreSpotlight) end-index-batch
2026-01-06 20:32:21.089 A  stable[997:6755bbf] (CoreSpotlight) index-items
2026-01-06 20:32:22.915 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:22.968 A  stable[997:67564d4] (RunningBoardServices) didChangeInheritances
2026-01-06 20:32:22.978 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]
2026-01-06 20:32:22.979 Df stable[997:2db0] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges] finishing enqueued operations
2026-01-06 20:32:22.979 Df stable[997:67564d4] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke asyncing to main queue
2026-01-06 20:32:22.982 Df stable[997:6755bbf] [com.apple.AppKit:StateRestoration] -[NSPersistentUIManager flushAllChanges]_block_invoke writing records
2026-01-06 20:32:24.984 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:26.794 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:29.733 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:30.105 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:30.850 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:31.287 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {
}
2026-01-06 20:32:31.825 Df stable[997:2db0] [com.apple.TextInputUI:CursorUI] -[TUINSCursorUIController hideTextInputMenuHUD:] {

Here are the full logs (zip -j ./Warp.zip ~/Library/Logs/warp.log*) from last days.

Warp.zip

I hope it helps! I am open to debug on my machine if you're open to it via Google Meet or something. Let me know!

Operating system (OS)

macOS

Operating system and version

MacOS Tahoe 26.1

Shell Version

zsh 5.9 (arm64-apple-darwin25.0)

Current Warp version

v0.2025.12.17.17.17.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

Will try to stress it out again and will add the logs if I encounter the lag again.

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.ready-to-implementThe issue is ready for implementation work.triagedIssue has received an initial automated triage pass.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions