Skip to content

Infinite loop when searching over system menu #6738

@bazhenov

Description

@bazhenov

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

Don't thunk it is important, but technically speaking I'm using Rectangle for macOS

WezTerm version

20250223-153857-fd532a8c

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

app became non responsive to any input, 100% CPU usage, Activity monitor reports that Application is not responding

To Reproduce

  1. launch wezterm
  2. press / (system shortcut to search application menu)
  3. search and confirm any item (for example, "New tab")
  4. press / again

Configuration

local wezterm = require 'wezterm'

local config = wezterm.config_builder()

config.front_end = "WebGpu"
config.color_scheme = 'rose-pine'
config.colors = {
  copy_mode_active_highlight_bg = { Color = '#ffffff' },
  copy_mode_active_highlight_fg = { Color = '#ffffff' },
  copy_mode_inactive_highlight_bg = { Color = '#ffffff' },
  copy_mode_inactive_highlight_fg = { Color = '#ffffff' },
  selection_bg = 'rgba(50% 50% 50% 50%)',
}
config.font = wezterm.font 'JetBrains Mono'
config.font_size = 13.0
config.quick_select_patterns = {
  '[a-zA-Z0-9-./_]{10,}',
}

return config

Expected Behavior

No response

Logs

When sampling Activity Monitor shows following abuser:

    2441 Thread_5135455   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2441 start  (in dyld) + 2840  [0x182578274]
    +   2441 main  (in wezterm-gui) + 52  [0x100b15f88]
    +     2441 std::rt::lang_start_internal::hacda2dedffd2edb4  (in wezterm-gui) + 1092  [0x102100004]
    +       2441 std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h48f6b4e5859b9547  (in wezterm-gui) + 16  [0x100a3cdd8]
    +         2441 std::sys::backtrace::__rust_begin_short_backtrace::hd92b484e19f66cee  (in wezterm-gui) + 12  [0x100896918]
    +           2441 wezterm_gui::main::he3dd59a410255453  (in wezterm-gui) + 4812  [0x100b1013c]
    +             2441 wezterm_gui::run_terminal_gui::h281bca82533d10ee  (in wezterm-gui) + 2772  [0x100b0e348]
    +               2441 _$LT$window..os..macos..connection..Connection$u20$as$u20$window..connection..ConnectionOps$GT$::run_message_loop::h9972762771fcfa4d  (in wezterm-gui) + 24  [0x10152c010]
    +                 2441 -[NSApplication run]  (in AppKit) + 520  [0x18654989c]
    +                   2441 -[NSApplication _handleEvent:]  (in AppKit) + 60  [0x186ac2b04]
    +                     2441 -[NSApplication(NSEventRouting) sendEvent:]  (in AppKit) + 648  [0x186ebb618]
    +                       2441 routeKeyEquivalent  (in AppKit) + 460  [0x186ebd790]
    +                         2441 _NSKeyboardUIHandleSymbolicHotKey  (in AppKit) + 432  [0x1866fbbc0]
    +                           2441 -[NSMenuBarTrackingSession handleHelpSymbolicHotKey:]  (in AppKit) + 228  [0x186da4a74]
    +                             2441 -[SCTMenuBarVisibilityManager _showMenu]  (in Shortcut) + 136  [0x1c8cf62d4]
    +                               2441 -[SCTSearchManager continueWithMenuVisible]  (in Shortcut) + 52  [0x1c8ce8634]
    +                                 2441 -[NSCocoaMenuImpl openWithOptions:]  (in AppKit) + 820  [0x186edc854]
    +                                   2441 -[NSMenuBarImpl prepareToOpenSubmenuAtIndex:options:]  (in AppKit) + 120  [0x1872e0734]
    +                                     2441 -[NSCocoaMenuImpl openSubmenuFromHighlightedItem]  (in AppKit) + 188  [0x186ee2ccc]
    +                                       2441 -[NSCocoaMenuImpl _openSubmenuFromView:highlightingFirstItem:withDelay:]  (in AppKit) + 568  [0x186edf49c]
    +                                         2441 -[NSCocoaMenuImpl _openSubmenuFromView:impl:parentFrame:highlightingFirstItem:withDelay:]  (in AppKit) + 524  [0x186edf9a4]
    +                                           2441 -[NSCocoaMenuImpl presentSubmenuWindow:fromView:parentFrame:highlightingFirstItem:withDelay:]  (in AppKit) + 312  [0x186edfb7c]
    +                                             2441 -[NSPopupMenuWindow _commonPresentFromView:animated:]  (in AppKit) + 564  [0x186dbd9c4]
    +                                               2441 -[NSPopupMenuWindow _orderFrontWithParentWindow:screenFrame:]  (in AppKit) + 320  [0x186dbdc38]
    +                                                 2441 -[NSContextMenuImpl viewWillAppear]  (in AppKit) + 60  [0x186c994c4]
    +                                                   2441 -[NSCocoaMenuImpl viewWillAppear]  (in AppKit) + 48  [0x186edd054]
    +                                                     2441 -[NSCocoaMenuImpl forEachLinkedMenuDo:includingSelf:]  (in AppKit) + 176  [0x186eddc64]
    +                                                       2441 __36-[NSCocoaMenuImpl _sendMenuPopulate]_block_invoke  (in AppKit) + 40  [0x186eddfa0]
    +                                                         2441 -[NSCocoaMenuImpl _send1MenuPopulate]  (in AppKit) + 128  [0x186ede054]
    +                                                           2441 -[NSMenu _populateWithFlags:eventRef:incomplete:]  (in AppKit) + 276  [0x186d45e18]
    +                                                             2441 -[NSMenu _withUpdateFlags:do:]  (in AppKit) + 72  [0x186d45f64]
    +                                                               2441 __49-[NSMenu _populateWithFlags:eventRef:incomplete:]_block_invoke  (in AppKit) + 32  [0x186d45f04]
    +                                                                 2441 -[NSMenu _populateWithEventRef:]  (in AppKit) + 96  [0x1866b6988]
    +                                                                   2441 -[NSMenu _populateWithEventProvider:]  (in AppKit) + 236  [0x186d45b88]
    +                                                                     2441 -[NSMenu _populateFromDelegateWithEventProvider:]  (in AppKit) + 352  [0x186d451bc]
    +                                                                       2441 -[SCTSearchManager performSearch]  (in Shortcut) + 92  [0x1c8ce3598]
    +                                                                         2441 -[SCTSearchManager updateGRLIndex]  (in Shortcut) + 80  [0x1c8ce231c]
    +                                                                           2441 -[SCTGRLIndex indexAppKitMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:]  (in Shortcut) + 664  [0x1c8ceee88]
    +                                                                             2441 -[SCTGRLIndex indexAppKitMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:]  (in Shortcut) + 636  [0x1c8ceee6c]
    +                                                                               2441 -[NSMenu _simulateOpening:]  (in AppKit) + 128  [0x186d41b34]
    +                                                                                 2441 -[NSCocoaMenuImpl forEachLinkedMenuDo:includingSelf:]  (in AppKit) + 176  [0x186eddc64]
    +                                                                                   2441 -[NSMenu _enableItemsWithFlags:]  (in AppKit) + 96  [0x186d433f4]
    +                                                                                     2441 -[NSMenu _withUpdateFlags:do:]  (in AppKit) + 72  [0x186d45f64]
    +                                                                                       2441 __32-[NSMenu _enableItemsWithFlags:]_block_invoke  (in AppKit) + 60  [0x186d4343c]
    +                                                                                         2441 -[NSMenu _enableItems]  (in AppKit) + 156  [0x1866b6ad0]
    +                                                                                           2441 -[NSMenu _enableItem:]  (in AppKit) + 692  [0x1866b6f18]
    +                                                                                             2441 -[_NSWritingToolsManager validateUserInterfaceItem:]  (in AppKit) + 32  [0x186d58e4c]
    +                                                                                               2441 -[_NSWritingToolsManager targetForWritingToolsWithSender:targetType:]  (in AppKit) + 512  [0x186d5890c]
    +                                                                                                 2390 +[NSServicesMenuHandler _requestorStartingWithChain:forProposedSendTypes:proposedReturnTypes:sendTypes:returnTypes:]  (in AppKit) + 1724  [0x1868768d8]
    +                                                                                                 ! 349 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 60  [0x186ebe89c]
    +                                                                                                 ! : 122 objc_loadWeak  (in libobjc.A.dylib) + 24  [0x18252f2ac]
    +                                                                                                 ! : | 122 objc_loadWeakRetained  (in libobjc.A.dylib) + 464,92,...  [0x18252f4ac,0x18252f338,...]
    +                                                                                                 ! : 108 objc_autorelease  (in libobjc.A.dylib) + 284,92,...  [0x18252e2ec,0x18252e22c,...]
    +                                                                                                 ! : 62 objc_autorelease  (in libobjc.A.dylib) + 232  [0x18252e2b8]
    +                                                                                                 ! : | 62 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 60,164,...  [0x18255e348,0x18255e3b0,...]
    +                                                                                                 ! : 24 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8  [0x1873ded40]
    +                                                                                                 ! : 21 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 264  [0x18255e414]
    +                                                                                                 ! : 12 objc_loadWeakRetained  (in libobjc.A.dylib) + 500  [0x18252f4d0]
    +                                                                                                 ! 347 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 76  [0x186ebe8ac]
    +                                                                                                 ! : 143 objc_loadWeak  (in libobjc.A.dylib) + 24  [0x18252f2ac]
    +                                                                                                 ! : | 128 objc_loadWeakRetained  (in libobjc.A.dylib) + 92,464,...  [0x18252f338,0x18252f4ac,...]
    +                                                                                                 ! : | 14 objc_loadWeakRetained  (in libobjc.A.dylib) + 528  [0x18252f4ec]
    +                                                                                                 ! : | + 7 objc_object::rootRetain_overflow(bool)  (in libobjc.A.dylib) + 240  [0x182534a90]
    +                                                                                                 ! : | + ! 6 objc_object::sidetable_addExtraRC_nolock(unsigned long)  (in libobjc.A.dylib) + 72  [0x182534b0c]
    +                                                                                                 ! : | + ! : 5 objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>, DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>::operator[](DisguisedPtr<objc_object const>&&)  (in libobjc.A.dylib) + 44  [0x18255e954]
    +                                                                                                 ! : | + ! : | 5 objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>, DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>::LookupBucketFor<DisguisedPtr<objc_object const>>(DisguisedPtr<objc_object const> const&, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>*&)  (in libobjc.A.dylib) + 108,144,...  [0x18255e128,0x18255e14c,...]
    +                                                                                                 ! : | + ! : 1 objc::DenseMapBase<objc::DenseMap<DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>, DisguisedPtr<objc_object const>, unsigned long, (anonymous namespace)::RefcountMapValuePurgeable, objc::DenseMapInfo<DisguisedPtr<objc_object const>>, objc::detail::DenseMapPair<DisguisedPtr<objc_object const>, unsigned long>>::operator[](DisguisedPtr<objc_object const>&&)  (in libobjc.A.dylib) + 32  [0x18255e948]
    +                                                                                                 ! : | + ! 1 objc_object::sidetable_addExtraRC_nolock(unsigned long)  (in libobjc.A.dylib) + 72  [0x182534b0c]
    +                                                                                                 ! : | + 6 objc_object::rootRetain_overflow(bool)  (in libobjc.A.dylib) + 16,36,...  [0x1825349b0,0x1825349c4,...]
    +                                                                                                 ! : | + 1 objc_object::sidetable_addExtraRC_nolock(unsigned long)  (in libobjc.A.dylib) + 104  [0x182534b2c]
    +                                                                                                 ! : | 1 objc_object::rootRetain_overflow(bool)  (in libobjc.A.dylib) + 268  [0x182534aac]
    +                                                                                                 ! : 93 objc_autorelease  (in libobjc.A.dylib) + 284,92,...  [0x18252e2ec,0x18252e22c,...]
    +                                                                                                 ! : 58 objc_autorelease  (in libobjc.A.dylib) + 232  [0x18252e2b8]
    +                                                                                                 ! : | 58 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 60,272,...  [0x18255e348,0x18255e41c,...]
    +                                                                                                 ! : 17 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8  [0x1873ded40]
    +                                                                                                 ! : 15 objc_loadWeak  (in libobjc.A.dylib) + 12  [0x18252f2a0]
    +                                                                                                 ! : 13 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 264  [0x18255e414]
    +                                                                                                 ! : 8 objc_loadWeakRetained  (in libobjc.A.dylib) + 500  [0x18252f4d0]
    +                                                                                                 ! 327 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 116  [0x186ebe8d4]
    +                                                                                                 ! : 117 objc_loadWeak  (in libobjc.A.dylib) + 24  [0x18252f2ac]
    +                                                                                                 ! : | 117 objc_loadWeakRetained  (in libobjc.A.dylib) + 92,464,...  [0x18252f338,0x18252f4ac,...]
    +                                                                                                 ! : 100 objc_autorelease  (in libobjc.A.dylib) + 284,112,...  [0x18252e2ec,0x18252e240,...]
    +                                                                                                 ! : 56 objc_autorelease  (in libobjc.A.dylib) + 232  [0x18252e2b8]
    +                                                                                                 ! : | 56 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 60,272,...  [0x18255e348,0x18255e41c,...]
    +                                                                                                 ! : 19 objc_loadWeakRetained  (in libobjc.A.dylib) + 500  [0x18252f4d0]
    +                                                                                                 ! : 15 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 264  [0x18255e414]
    +                                                                                                 ! : 14 objc_loadWeak  (in libobjc.A.dylib) + 12  [0x18252f2a0]
    +                                                                                                 ! : 6 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8  [0x1873ded40]
    +                                                                                                 ! 315 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 176  [0x186ebe910]
    +                                                                                                 ! : 122 objc_loadWeak  (in libobjc.A.dylib) + 24  [0x18252f2ac]
    +                                                                                                 ! : | 122 objc_loadWeakRetained  (in libobjc.A.dylib) + 464,92,...  [0x18252f4ac,0x18252f338,...]
    +                                                                                                 ! : 96 objc_autorelease  (in libobjc.A.dylib) + 284,92,...  [0x18252e2ec,0x18252e22c,...]
    +                                                                                                 ! : 51 objc_autorelease  (in libobjc.A.dylib) + 232  [0x18252e2b8]
    +                                                                                                 ! : | 51 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 272,44,...  [0x18255e41c,0x18255e338,...]
    +                                                                                                 ! : 16 objc_loadWeakRetained  (in libobjc.A.dylib) + 500  [0x18252f4d0]
    +                                                                                                 ! : 11 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8  [0x1873ded40]
    +                                                                                                 ! : 10 objc_loadWeak  (in libobjc.A.dylib) + 12  [0x18252f2a0]
    +                                                                                                 ! : 9 AutoreleasePoolPage::add(objc_object*)  (in libobjc.A.dylib) + 264  [0x18255e414]
    +                                                                                                 ! 237 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 120  [0x186ebe8d8]
    +                                                                                                 ! : 65 -[NSResponder nextResponder]  (in AppKit) + 32  [0x1865ab5d4]
    +                                                                                                 ! : | 44 _NSAddKeyValueDependency  (in AppKit) + 32  [0x18656bb90]
    +                                                                                                 ! : | 13 __NSAppKitGetThreadSpecificData  (in AppKit) + 76  [0x18652da40]
    +                                                                                                 ! : | 8 _NSAddKeyValueDependency  (in AppKit) + 56  [0x18656bba8]
    +                                                                                                 ! : |   8 __NSAppKitGetThreadSpecificData  (in AppKit) + 20  [0x18652da08]
    +                                                                                                 ! : 45 -[NSResponder nextResponder]  (in AppKit) + 0,120  [0x1865ab5b4,0x1865ab62c]
    +                                                                                                 ! : 33 -[NSResponder nextResponder]  (in AppKit) + 140  [0x1865ab640]
    +                                                                                                 ! : | 13 DYLD-STUB$$objc_retain  (in AppKit) + 8  [0x1873dee20]
    +                                                                                                 ! : | 11 ???  (in libobjc.A.dylib)  load address 0x182520000 + 0x7b74  [0x182527b74]
    +                                                                                                 ! : | 9 objc_retain  (in libobjc.A.dylib) + 0  [0x182527b78]
    +                                                                                                 ! : 27 DYLD-STUB$$objc_autorelease  (in AppKit) + 8  [0x1873dec10]
    +                                                                                                 ! : 27 objc_autorelease  (in libobjc.A.dylib) + 336,12  [0x18252e320,0x18252e1dc]
    +                                                                                                 ! : 23 objc_msgSend  (in libobjc.A.dylib) + 52,64  [0x182529834,0x182529840]
    +                                                                                                 ! : 10 objc_msgSend$nextResponder  (in AppKit) + 16  [0x18790fa70]
    +                                                                                                 ! : 7 _NSAddKeyValueDependency  (in AppKit) + 72  [0x18656bbb8]
    +                                                                                                 ! 128 objc_autorelease  (in libobjc.A.dylib) + 348,352  [0x18252e32c,0x18252e330]
    +                                                                                                 ! 107 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 104  [0x186ebe8c8]
    +                                                                                                 ! : 95 objc_opt_isKindOfClass  (in libobjc.A.dylib) + 112,92,...  [0x18253e4a8,0x18253e494,...]
    +                                                                                                 ! : 12 DYLD-STUB$$objc_opt_isKindOfClass  (in AppKit) + 8  [0x1873dedc0]
    +                                                                                                 ! 89 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 44,104,...  [0x186ebe88c,0x186ebe8c8,...]
    +                                                                                                 ! 82 objc_msgSend  (in libobjc.A.dylib) + 52,0,...  [0x182529834,0x182529800,...]
    +                                                                                                 ! 64 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 0,40,...  [0x186876ca0,0x186876cc8,...]
    +                                                                                                 ! 60 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 72  [0x186876ce8]
    +                                                                                                 ! : 46 objc_loadWeak  (in libobjc.A.dylib) + 52,48,...  [0x18252f2c8,0x18252f2c4,...]
    +                                                                                                 ! : 14 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8  [0x1873ded40]
    +                                                                                                 ! 56 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 100  [0x186876d04]
    +                                                                                                 ! : 40 objc_opt_isKindOfClass  (in libobjc.A.dylib) + 152,0  [0x18253e4d0,0x18253e438]
    +                                                                                                 ! : 16 DYLD-STUB$$objc_opt_isKindOfClass  (in AppKit) + 8  [0x1873dedc0]
    +                                                                                                 ! 52 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 88  [0x186876cf8]
    +                                                                                                 ! : 30 objc_opt_class  (in libobjc.A.dylib) + 48,0,...  [0x18253d418,0x18253d3e8,...]
    +                                                                                                 ! : 22 DYLD-STUB$$objc_opt_class  (in AppKit) + 8  [0x1873dedb0]
    +                                                                                                 ! 48 objc_loadWeak  (in libobjc.A.dylib) + 32  [0x18252f2b4]
    +                                                                                                 ! 46 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 56  [0x186876cd8]
    +                                                                                                 ! : 35 objc_loadWeak  (in libobjc.A.dylib) + 52,48  [0x18252f2c8,0x18252f2c4]
    +                                                                                                 ! : 11 DYLD-STUB$$objc_loadWeak  (in AppKit) + 8,12  [0x1873ded40,0x1873ded44]
    +                                                                                                 ! 45 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 92  [0x186ebe8bc]
    +                                                                                                 ! : 33 objc_opt_class  (in libobjc.A.dylib) + 4,28,...  [0x18253d3ec,0x18253d404,...]
    +                                                                                                 ! : 12 DYLD-STUB$$objc_opt_class  (in AppKit) + 8  [0x1873dedb0]
    +                                                                                                 ! 28 objc_msgSend$validRequestorForSendType:returnType:  (in AppKit) + 16,20  [0x187953590,0x187953594]
    +                                                                                                 ! 10 -[NSResponder nextResponder]  (in AppKit) + 152  [0x1865ab64c]
    +                                                                                                 30 -[NSWindow validRequestorForSendType:returnType:]  (in AppKit) + 224  [0x186876d80]
    +                                                                                                 21 -[NSApplication(NSResponder) validRequestorForSendType:returnType:]  (in AppKit) + 204  [0x186ebe92c]

This is confirmed by stackshots reported when force killing application:

Date/Time:        2025-02-28 16:16:44.160 +0100
End time:         2025-02-28 16:17:12.732 +0100
OS Version:       macOS 15.3.1 (Build 24D70)
Architecture:     arm64e
Report Version:   55

Data Source:      Stackshots

Command:          wezterm-gui
Path:             /Applications/WezTerm.app/Contents/MacOS/wezterm-gui
Identifier:       com.github.wez.wezterm
Version:          0.1.0 (1)
Is First Party:   No
Architecture:     arm64
Parent:           launchd [1]
PID:              76665
Time Since Fork:  42s

Event:            hang
Duration:         28.57s
Duration Sampled: 1.30s (process was unresponsive for 27 seconds before sampling)
Steps:            13 (100ms sampling interval)

Hardware model:   Mac15,10
Active cpus:      14
HW page size:     16384
VM page size:     16384

Fan speed:        0 rpm
Total CPU Time:   2.837s (8.6G cycles, 36.5G instructions, 0.23c/i)

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
  13  start + 2840 (dyld + 25204) [0x182578274]
  13  main + 52 (wezterm-gui + 3514248) [0x100b15f88]
  13  std::rt::lang_start_internal::hacda2dedffd2edb4 + 1092 (wezterm-gui + 26492932) [0x102100004]
  13  std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h48f6b4e5859b9547 + 16 (wezterm-gui + 2624984) [0x100a3cdd8]
  13  std::sys::backtrace::__rust_begin_short_backtrace::hd92b484e19f66cee + 12 (wezterm-gui + 895256) [0x100896918]
  13  wezterm_gui::main::he3dd59a410255453 + 4812 (wezterm-gui + 3490108) [0x100b1013c]
  13  wezterm_gui::run_terminal_gui::h281bca82533d10ee + 2772 (wezterm-gui + 3482440) [0x100b0e348]
  13  _$LT$window..os..macos..connection..Connection$u20$as$u20$window..connection..ConnectionOps$GT$::run_message_loop::h9972762771fcfa4d + 24 (wezterm-gui + 14090256) [0x10152c010]
  13  -[NSApplication run] + 520 (AppKit + 190620) [0x18654989c]
  13  -[NSApplication _handleEvent:] + 60 (AppKit + 5929732) [0x186ac2b04]
  13  -[NSApplication(NSEventRouting) sendEvent:] + 648 (AppKit + 10094104) [0x186ebb618]
  13  routeKeyEquivalent + 460 (AppKit + 10102672) [0x186ebd790]
  13  _NSKeyboardUIHandleSymbolicHotKey + 432 (AppKit + 1969088) [0x1866fbbc0]
  13  -[NSMenuBarTrackingSession handleHelpSymbolicHotKey:] + 228 (AppKit + 8952436) [0x186da4a74]
  13  -[SCTMenuBarVisibilityManager _showMenu] + 136 (Shortcut + 94932) [0x1c8cf62d4]
  13  -[SCTSearchManager continueWithMenuVisible] + 52 (Shortcut + 38452) [0x1c8ce8634]
  13  -[NSCocoaMenuImpl openWithOptions:] + 820 (AppKit + 10229844) [0x186edc854]
  13  -[NSMenuBarImpl prepareToOpenSubmenuAtIndex:options:] + 120 (AppKit + 14440244) [0x1872e0734]
  13  -[NSCocoaMenuImpl openSubmenuFromHighlightedItem] + 188 (AppKit + 10255564) [0x186ee2ccc]
  13  -[NSCocoaMenuImpl _openSubmenuFromView:highlightingFirstItem:withDelay:] + 568 (AppKit + 10241180) [0x186edf49c]
  13  -[NSCocoaMenuImpl _openSubmenuFromView:impl:parentFrame:highlightingFirstItem:withDelay:] + 524 (AppKit + 10242468) [0x186edf9a4]
  13  -[NSCocoaMenuImpl presentSubmenuWindow:fromView:parentFrame:highlightingFirstItem:withDelay:] + 312 (AppKit + 10242940) [0x186edfb7c]
  13  -[NSPopupMenuWindow _commonPresentFromView:animated:] + 564 (AppKit + 9054660) [0x186dbd9c4]
  13  -[NSPopupMenuWindow _orderFrontWithParentWindow:screenFrame:] + 320 (AppKit + 9055288) [0x186dbdc38]
  13  -[NSContextMenuImpl viewWillAppear] + 60 (AppKit + 7857348) [0x186c994c4]
  13  -[NSCocoaMenuImpl viewWillAppear] + 48 (AppKit + 10231892) [0x186edd054]
  13  -[NSCocoaMenuImpl forEachLinkedMenuDo:includingSelf:] + 176 (AppKit + 10234980) [0x186eddc64]
  13  __36-[NSCocoaMenuImpl _sendMenuPopulate]_block_invoke + 40 (AppKit + 10235808) [0x186eddfa0]
  13  -[NSCocoaMenuImpl _send1MenuPopulate] + 128 (AppKit + 10235988) [0x186ede054]
  13  -[NSMenu _populateWithFlags:eventRef:incomplete:] + 276 (AppKit + 8564248) [0x186d45e18]
  13  -[NSMenu _withUpdateFlags:do:] + 72 (AppKit + 8564580) [0x186d45f64]
  13  __49-[NSMenu _populateWithFlags:eventRef:incomplete:]_block_invoke + 32 (AppKit + 8564484) [0x186d45f04]
  13  -[NSMenu _populateWithEventRef:] + 96 (AppKit + 1685896) [0x1866b6988]
  13  -[NSMenu _populateWithEventProvider:] + 236 (AppKit + 8563592) [0x186d45b88]
  13  -[NSMenu _populateFromDelegateWithEventProvider:] + 352 (AppKit + 8561084) [0x186d451bc]
  13  -[SCTSearchManager performSearch] + 92 (Shortcut + 17816) [0x1c8ce3598]
  13  -[SCTSearchManager updateGRLIndex] + 80 (Shortcut + 13084) [0x1c8ce231c]
  13  -[SCTGRLIndex indexAppKitMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:] + 664 (Shortcut + 65160) [0x1c8ceee88]
  13  -[SCTGRLIndex indexAppKitMenu:withParentMenu:resultGRLs:isRootMenu:systemHelpMenu:withDepth:] + 636 (Shortcut + 65132) [0x1c8ceee6c]
  13  -[NSMenu _simulateOpening:] + 128 (AppKit + 8547124) [0x186d41b34]
  13  -[NSCocoaMenuImpl forEachLinkedMenuDo:includingSelf:] + 176 (AppKit + 10234980) [0x186eddc64]
  13  -[NSMenu _enableItemsWithFlags:] + 96 (AppKit + 8553460) [0x186d433f4]
  13  -[NSMenu _withUpdateFlags:do:] + 72 (AppKit + 8564580) [0x186d45f64]
  13  __32-[NSMenu _enableItemsWithFlags:]_block_invoke + 60 (AppKit + 8553532) [0x186d4343c]
  13  -[NSMenu _enableItems] + 156 (AppKit + 1686224) [0x1866b6ad0]
  13  -[NSMenu _enableItem:] + 692 (AppKit + 1687320) [0x1866b6f18]
  13  -[_NSWritingToolsManager validateUserInterfaceItem:] + 32 (AppKit + 8642124) [0x186d58e4c]
  13  -[_NSWritingToolsManager targetForWritingToolsWithSender:targetType:] + 512 (AppKit + 8640780) [0x186d5890c]
  13  +[NSServicesMenuHandler _requestorStartingWithChain:forProposedSendTypes:proposedReturnTypes:sendTypes:returnTypes:] + 1724 (AppKit + 3520728) [0x1868768d8]
  3   -[NSApplication(NSResponder) validRequestorForSendType:returnType:] + 76 (AppKit + 10107052) [0x186ebe8ac]
  1   objc_autorelease + 188 (libobjc.A.dylib + 57996) [0x18252e28c]

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmacOSIssue applies to Apple macOSneeds:triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions