1Password / shell-plugins

Seamless authentication for every tool in your terminal.
https://developer.1password.com/docs/cli/shell-plugins/
MIT License
519 stars 170 forks source link

Occasional “hangs” with `gh` #416

Open chriskrycho opened 9 months ago

chriskrycho commented 9 months ago

Platform or tool

GitHub

Desired or expected behavior

The gh plugin should have consistent behavior, always succeeding or failing in the same ways under the same conditions.

Current behavior

The gh plugin semi-regularly “hangs” when invoked by op plugin run -- gh auth git-credential in a [credential] section in my .gitconfig. It does not happen at predictable intervals or under predictable conditions, unfortunately. It only happens after triggering authentication with the 1Password UI, but it does not always happen after triggering that authentication.

Relevant log output

No response

op CLI version

2.24.0

chriskrycho commented 9 months ago

Some other potentially-relevant info here—

Relevant section of my .gitconfig:

[credential "https://github.com"]
    helper = 
    helper = !/opt/homebrew/bin/op plugin run -- gh auth git-credential

Contents of ~/.config/op/plugins.sh:

export OP_PLUGIN_ALIASES_SOURCED=1
alias gh="op plugin run -- gh"

That is sourced in my ~/.config/fish/config.fish:

source /Users/chris/.config/op/plugins.sh

Contents of ~/.config/gh/config.yml:

# What protocol to use when performing git operations. Supported values: ssh, https
git_protocol: https
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
editor:
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
prompt: enabled
# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager.
pager:
# Aliases allow you to create nicknames for gh commands
aliases:
    co: pr checkout
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
http_unix_socket:
# What web browser gh should use when opening URLs. If blank, will refer to environment.
browser:
version: "1"

Output of op plugin inspect gh:

$ op plugin inspect gh

GitHub CLI

Configured Aliases

✔ Alias for "gh" configured
✔ Aliases sourced (/Users/chris/.config/op/plugins.sh)

Configured Credentials

✔ Configured as global default:
CREDENTIAL TYPE                 ITEM                            VAULT
GitHub Personal Access Token    GitHub Personal Access Token    Personal
rwjblue commented 9 months ago

I've also experienced this quite often, though with a different setup than @chriskrycho. In the cases where I've noticed the hanging behavior, I have just been running normal / standard gh commands directly (e.g. gh pr create or gh pr list).

chriskrycho commented 9 months ago

I just hit this behavior, and the actual command which is executing (per ps auxw) is:

chris            46825   0.0  0.0 409266640  22240 s004  S+    9:10PM   0:00.03 op plugin run -- gh repo create --private --source .

Since I don’t know what else to poke at, I’ll start with spindumps:

For this op plugin run process: ``` Process: op [46825] UUID: 1550BC6D-AE60-3A21-BDAF-714E7FA11E39 Path: /opt/homebrew/Caskroom/1password-cli/2.24.0/op Codesigning ID: com.1password.op Team ID: 2BUA8C4S2C Shared Cache: F9DDD844-7F3F-34BD-BE29-F0C72D5E5449 slid base address 0x189430000, slide 0x9430000 (System Primary) Architecture: arm64 Parent: fish [45218] Responsible: iTerm2 [632] UID: 501 Footprint: 10.06 MB Time Since Fork: 183s Num samples: 1001 (1-1001) CPU Time: <0.001s (159.9K cycles, 115.6K instructions, 1.38c/i) Note: 1 idle work queue thread omitted Thread 0x1adec4 DispatchQueue "com.apple.main-thread"(1) 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adec8 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (28.3K cycles, 20.4K instructions, 1.38c/i) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 + 28 (op + 427004) [0x102fac3fc] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adec9 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adeca 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adecb 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (77.8K cycles, 46.5K instructions, 1.67c/i) 1001 kevent + 8 (libsystem_kernel.dylib + 31168) [0x1898339c0] *1001 ??? (kernel.release.t6000 + 5410488) [0xfffffe0008a60eb8] Thread 0x1adecc 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adedc 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adedd 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adede 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 201 (op + 422089) [0x102fab0c9] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adedf 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adee0 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (28.9K cycles, 24.3K instructions, 1.19c/i) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x102fab0c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x1adee1 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (25.0K cycles, 24.2K instructions, 1.03c/i) 1001 runtime.asmcgocall.abi0 + 201 (op + 422089) [0x102fab0c9] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x102fac3c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Binary Images: 0x102f44000 - 0x1043fffff op (0) <1550BC6D-AE60-3A21-BDAF-714E7FA11E39> /opt/homebrew/Caskroom/1password-cli/2.24.0/op 0x18982c000 - 0x189866fff libsystem_kernel.dylib (10002.61.3) /usr/lib/system/libsystem_kernel.dylib *0xfffffe0008538000 - 0xfffffe0008db3fff kernel.release.t6000 (10002.61.3) <3DE22D7D-A5F5-3B17-84BD-A58164C8B09B>__TEXT_EXEC /System/Library/Kernels/kernel.release.t6000 *0xfffffe000b7e6560 - 0xfffffe000b7ec347 com.apple.kec.pthread (519) __TEXT_EXEC com.apple.kec.pthread ```
For the op daemon process: ``` Process: op [6591] UUID: 1550BC6D-AE60-3A21-BDAF-714E7FA11E39 Path: /opt/homebrew/Caskroom/1password-cli/2.24.0/op Codesigning ID: com.1password.op Team ID: 2BUA8C4S2C Shared Cache: F9DDD844-7F3F-34BD-BE29-F0C72D5E5449 slid base address 0x189430000, slide 0x9430000 (System Primary) Architecture: arm64 Parent: launchd [1] Responsible: iTerm2 [632] UID: 501 Footprint: 10.42 MB Time Since Fork: 273644s Num samples: 1001 (1-1001) CPU Time: 0.004s (4.3M cycles, 8.0M instructions, 0.54c/i) Thread 0x3d79d DispatchQueue 8053391736 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a0 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (440.3K cycles, 590.1K instructions, 0.75c/i) 1000 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1000 1000 runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 + 28 (op + 427004) [0x1026c83fc] 1000 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1000 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] 1 1 runtime.usleep_trampoline.abi0 + 20 (op + 426084) [0x1026c8064] 1 usleep + 68 (libsystem_c.dylib + 53776) [0x189710210] 1 __semwait_signal + 8 (libsystem_kernel.dylib + 20072) [0x189830e68] *1 ??? (kernel.release.t6000 + 69320) [0xfffffe0008548ec8] (running) Thread 0x3d7a1 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a2 1001 samples (1-1001) priority 31 (base 31) 1001 kevent + 8 (libsystem_kernel.dylib + 31168) [0x1898339c0] *1001 ??? (kernel.release.t6000 + 5410488) [0xfffffe0008a60eb8] Thread 0x3d7a3 1001 samples (1-1001) priority 31 (base 31) cpu time 0.001s (983.9K cycles, 1463.5K instructions, 0.67c/i) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a4 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (940.9K cycles, 1722.8K instructions, 0.55c/i) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a5 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a6 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a7 1001 samples (1-1001) priority 31 (base 31) cpu time <0.001s (35.6K cycles, 43.9K instructions, 0.81c/i) 1001 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a8 1001 samples (1-1001) priority 31 (base 31) 1001 runtime.asmcgocall.abi0 + 201 (op + 422089) [0x1026c70c9] 1001 1001 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1001 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *1001 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] Thread 0x3d7a9 1001 samples (1-1001) priority 31 (base 31) cpu time 0.002s (1879.5K cycles, 4.1M instructions, 0.45c/i) 1000 runtime.asmcgocall.abi0 + 200 (op + 422088) [0x1026c70c8] 1000 1000 runtime.pthread_cond_wait_trampoline.abi0 + 24 (op + 426952) [0x1026c83c8] 1000 __psynch_cvwait + 8 (libsystem_kernel.dylib + 20588) [0x18983106c] *999 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] *1 psynch_cvcontinue + 0 (com.apple.kec.pthread + 18204) [0xfffffe000b7eac7c] (suspended) 1 1 runtime.scanobject + 276 (op + 131812) [0x1026802e4] (running) Binary Images: 0x102660000 - 0x103b1bfff op (0) <1550BC6D-AE60-3A21-BDAF-714E7FA11E39> /opt/homebrew/Caskroom/1password-cli/2.24.0/op 0x189703000 - 0x189781ffb libsystem_c.dylib (1583.60.2) /usr/lib/system/libsystem_c.dylib 0x18982c000 - 0x189866fff libsystem_kernel.dylib (10002.61.3) /usr/lib/system/libsystem_kernel.dylib *0xfffffe0008538000 - 0xfffffe0008db3fff kernel.release.t6000 (10002.61.3) <3DE22D7D-A5F5-3B17-84BD-A58164C8B09B>__TEXT_EXEC /System/Library/Kernels/kernel.release.t6000 *0xfffffe000b7e6560 - 0xfffffe000b7ec347 com.apple.kec.pthread (519) __TEXT_EXEC com.apple.kec.pthread ```

And just for extra good measure, samples:

For the op plugin run process ``` Analysis of sampling op (pid 46825) every 1 millisecond Process: op [46825] Path: /opt/homebrew/*/op Load Address: 0x102f44000 Identifier: op Version: 0 Code Type: ARM64 Platform: macOS Parent Process: fish [45218] Date/Time: 2023-12-30 21:16:45.530 -0700 Launch Time: 2023-12-30 21:10:08.521 -0700 OS Version: macOS 14.2.1 (23C71) Report Version: 7 Analysis Tool: /usr/bin/sample Physical footprint: 10.2M Physical footprint (peak): 10.2M Idle exit: untracked ---- Call graph: 2464 Thread_1760964 DispatchQueue_1: com.apple.main-thread (serial) + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760968 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 (in op) + 28 [0x102fac3fc] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1272 [0x18986e628] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760969 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760970 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760971 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760972 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760981 + 2464 start_wqthread (in libsystem_pthread.dylib) + 8 [0x189868e30] + 2464 _pthread_wqthread (in libsystem_pthread.dylib) + 364 [0x18986a160] + 2464 __workq_kernreturn (in libsystem_kernel.dylib) + 8 [0x18982f524] 2464 Thread_1760988 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760989 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760990 + 2464 runtime.asmcgocall.abi0 (in op) + 201 [0x102fab0c9] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760991 + 2464 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] + 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] + 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2464 Thread_1760992 + 2464 runtime.kevent_trampoline.abi0 (in op) + 40 [0x102fac128] + 2464 kevent (in libsystem_kernel.dylib) + 8 [0x1898339c0] 2464 Thread_1760993 2464 runtime.asmcgocall.abi0 (in op) + 201 [0x102fab0c9] 2464 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] 2464 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] 2464 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] Total number in stack (recursive counted multiple, when >=5): 11 __psynch_cvwait (in libsystem_kernel.dylib) + 0 [0x189831064] 10 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] 10 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x102fac3c8] 9 runtime.asmcgocall.abi0 (in op) + 200 [0x102fab0c8] Sort by top of stack, same collapsed (when >= 5): __psynch_cvwait (in libsystem_kernel.dylib) 27104 __workq_kernreturn (in libsystem_kernel.dylib) 2464 kevent (in libsystem_kernel.dylib) 2464 Binary Images: 0x102f44000 - 0x103a23fff +op (0) <1550BC6D-AE60-3A21-BDAF-714E7FA11E39> /opt/homebrew/*/op 0x189498000 - 0x1894e6fe0 libobjc.A.dylib (906.2) <9BAB9556-7A2A-30A8-ACDE-010BA8E2367D> /usr/lib/libobjc.A.dylib 0x1894e7000 - 0x18957b347 dyld (1.0.0 - 1125.5) <324E4AD9-E01F-3183-B09F-3E20B326643A> /usr/lib/dyld 0x18957c000 - 0x189580ff8 libsystem_blocks.dylib (90) <41DD58AD-E581-3BC7-A2C4-314046BA471F> /usr/lib/system/libsystem_blocks.dylib 0x189581000 - 0x1895c7fff libxpc.dylib (2679.61.1) <272DC84F-1871-3ADD-8126-2155D6EFF7AB> /usr/lib/system/libxpc.dylib 0x1895c8000 - 0x1895e2fff libsystem_trace.dylib (1481.40.16) <1F45FD2F-3ABC-3AB3-9A6F-CC9C727ACBDA> /usr/lib/system/libsystem_trace.dylib 0x1895e3000 - 0x189681fc7 libcorecrypto.dylib (1608.60.11) <61DEF451-18FC-3FA7-B05A-F80B0BF36404> /usr/lib/system/libcorecrypto.dylib 0x189682000 - 0x1896b8fff libsystem_malloc.dylib (474.0.13) <690A8B04-8E64-3332-B5A5-56A3D5C1C43F> /usr/lib/system/libsystem_malloc.dylib 0x1896b9000 - 0x1896fffff libdispatch.dylib (1462.0.4) /usr/lib/system/libdispatch.dylib 0x189700000 - 0x189702fff libsystem_featureflags.dylib (85) /usr/lib/system/libsystem_featureflags.dylib 0x189703000 - 0x189781ffb libsystem_c.dylib (1583.60.2) /usr/lib/system/libsystem_c.dylib 0x189782000 - 0x18980fff7 libc++.1.dylib (1600.157) <375254EB-5A65-35D0-B6B4-773E6763D289> /usr/lib/libc++.1.dylib 0x189810000 - 0x18982bfff libc++abi.dylib (1600.157) /usr/lib/libc++abi.dylib 0x18982c000 - 0x189866fff libsystem_kernel.dylib (10002.61.3) /usr/lib/system/libsystem_kernel.dylib 0x189867000 - 0x189873ff3 libsystem_pthread.dylib (519) /usr/lib/system/libsystem_pthread.dylib 0x189874000 - 0x189899ff3 libdyld.dylib (1125.5) <33108EF5-2DC1-3E6D-B3BE-C55520E1594F> /usr/lib/system/libdyld.dylib 0x18989a000 - 0x1898a0ffb libsystem_platform.dylib (306.0.1) /usr/lib/system/libsystem_platform.dylib 0x1898a1000 - 0x1898cdffb libsystem_info.dylib (583.0.1) <0B3340BE-7CBE-356F-9ACE-7A062DC0554E> /usr/lib/system/libsystem_info.dylib 0x1898ce000 - 0x189da5fff com.apple.CoreFoundation (6.9 - 2202) <47E4EC09-8F6E-30A8-99D0-34024D4F8122> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x189da6000 - 0x18a059fff com.apple.LaunchServices (1141.1 - 1141.1) <5E6140E6-AF9A-39DE-BBD6-D49E864E9BA5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x18a1a5000 - 0x18a52efff libBLAS.dylib (1447) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x18a52f000 - 0x18a61bfff com.apple.Lexicon-framework (1.0 - 134.0.1) <05C34310-29E1-305F-883C-1899EF5D3614> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon 0x18a61c000 - 0x18a682ff7 libSparse.dylib (123) <77591504-8F1F-398C-9813-76DB35F5AF27> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib 0x18a683000 - 0x18a715ffb com.apple.SystemConfiguration (1.21 - 1.21) <1B1793BB-37F8-3D8D-B7EC-5A3A68A2B1AA> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x18a716000 - 0x18a74affb libCRFSuite.dylib (52) /usr/lib/libCRFSuite.dylib 0x18a9f9000 - 0x18b640fff com.apple.Foundation (6.9 - 2202) <9558B1EB-DDA3-3FDA-88A5-E785ECDFCD30> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x18b641000 - 0x18b823fff com.apple.LanguageModeling (1.0 - 366.4.3) <67169141-82E8-395D-B21C-177B919604C6> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling 0x18c597000 - 0x18c958fff com.apple.security (7.0 - 61040.61.2) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x18c959000 - 0x18cc11ff7 libicucore.A.dylib (72123.15) <9F20561D-1BED-3956-AAE9-ACE7DD31547C> /usr/lib/libicucore.A.dylib 0x18cc12000 - 0x18cc1cff7 libsystem_darwin.dylib (1583.60.2) /usr/lib/system/libsystem_darwin.dylib 0x18cc1d000 - 0x18cf21fff com.apple.CoreServices.CarbonCore (1333 - 1333) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x18cf22000 - 0x18cf61ff3 com.apple.CoreServicesInternal (505 - 505) <20323588-8601-3D08-B7B6-6A9299C70FC0> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal 0x18cf62000 - 0x18cfa2fff com.apple.CSStore (1141.1 - 1141.1) /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore 0x18cfa3000 - 0x18d084fff com.apple.framework.IOKit (2.0.2 - 100065.60.6) <95D2A74C-6FC0-39A8-990F-5E07A3FF7952> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x18d085000 - 0x18d095fff libsystem_notify.dylib (317) <60ECA172-D5DA-3743-AE08-2E397A8C7754> /usr/lib/system/libsystem_notify.dylib 0x18ead9000 - 0x18ead9fff libnetwork.dylib (3762.61.2) <91762C87-634A-322E-96F1-9694859367BF> /usr/lib/libnetwork.dylib 0x18eada000 - 0x18eeadfff com.apple.CFNetwork (1.0 - 1490.0.4) <4E848675-3A1D-397E-9884-CBB30BD02067> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x18eeae000 - 0x18eec7ff7 libsystem_networkextension.dylib (1838.61.1) /usr/lib/system/libsystem_networkextension.dylib 0x18eec8000 - 0x18eec9fff libenergytrace.dylib (23) /usr/lib/libenergytrace.dylib 0x18eeca000 - 0x18ef3dfdf libMobileGestalt.dylib (1291.60.3) /usr/lib/libMobileGestalt.dylib 0x18ef3e000 - 0x18ef55fff libsystem_asl.dylib (398) <092396DB-281D-3FA0-9E50-43F0B11AA972> /usr/lib/system/libsystem_asl.dylib 0x18ef56000 - 0x18ef76ffd com.apple.TCC (1.0 - 1) <7A7D68C5-148C-3F4B-9098-CCF7AA2931CC> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC 0x1904fd000 - 0x190516fff com.apple.ProtocolBuffer (1 - 300.21.8.9.2) /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer 0x190517000 - 0x1906c7ff3 libsqlite3.dylib (350.2) /usr/lib/libsqlite3.dylib 0x190895000 - 0x190908ff7 com.apple.AE (944 - 944) <3BECA17E-6610-32DD-80CA-805B81F0C933> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x190909000 - 0x190912ffc libdns_services.dylib (2200.60.25.0.4) <9F8AAE10-B5FB-3280-BBF6-449B8594DD77> /usr/lib/libdns_services.dylib 0x190913000 - 0x19091bff3 libsystem_symptoms.dylib (1848.60.8) <16E4B671-D97C-3908-9127-307A83DF3DCD> /usr/lib/system/libsystem_symptoms.dylib 0x19091c000 - 0x191508fff com.apple.Network (1.0 - 1) /System/Library/Frameworks/Network.framework/Versions/A/Network 0x191509000 - 0x191537fff com.apple.analyticsd (1.0 - 1) <2E12D943-55E1-330B-81EF-C05AF23EB10C> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics 0x191538000 - 0x191539fff libDiagnosticMessagesClient.dylib (113) <8CD8AF83-68A6-30D5-B87C-4E0F298855D8> /usr/lib/libDiagnosticMessagesClient.dylib 0x19153a000 - 0x191580fff com.apple.spotlight.metadata.utilities (1.0 - 2274.11.2) <4D0CAB3E-B2C0-30F2-8F73-573633D80062> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities 0x191581000 - 0x19161bfff com.apple.Metadata (14.2 - 2274.11.2) <7B51046E-CCA3-36B9-A482-F794A213E7A0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x19161c000 - 0x191624ffb com.apple.DiskArbitration (2.7 - 2.7) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x191625000 - 0x191a09ff7 com.apple.vImage (8.1 - 584) <4E3A75F6-4279-3EAF-B37B-ECF17B29F5C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x19208f000 - 0x19209efff com.apple.OpenDirectory (14.2 - 642) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x19209f000 - 0x1920beffb com.apple.CFOpenDirectory (14.2 - 642) <8D68076F-28A7-30E8-8BAD-442637CDE37A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x1920bf000 - 0x1920cbff7 com.apple.CoreServices.FSEvents (1376 - 1376) <440F98EC-73CE-3061-838F-3E3FD2EC1650> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents 0x1920cc000 - 0x1920f6fff com.apple.coreservices.SharedFileList (225 - 225) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList 0x1920f7000 - 0x1920fdfff libapp_launch_measurement.dylib (17) <1AC1C95F-436E-3A8C-B5A8-3217E61090A0> /usr/lib/libapp_launch_measurement.dylib 0x1920fe000 - 0x192147fff com.apple.CoreAutoLayout (1.0 - 32) <87EB9A8E-C6C3-3DB5-94D2-5504050A6C57> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout 0x192148000 - 0x192231fff libxml2.2.dylib (37.14) <72AFEC77-29CC-3B5C-814E-2CF54793111F> /usr/lib/libxml2.2.dylib 0x19397e000 - 0x1939a7ffb libsystem_containermanager.dylib (582.60.2) <9176BF94-EF84-3C52-93FD-7014FD23E850> /usr/lib/system/libsystem_containermanager.dylib 0x1939a8000 - 0x1939bffff com.apple.IOSurface (352.0.3 - 352.0.3) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x1948fe000 - 0x194902fff libsystem_configuration.dylib (1296.60.3) <136CD597-BE32-3806-8C7E-B144FCC956C6> /usr/lib/system/libsystem_configuration.dylib 0x194903000 - 0x194908ff3 libsystem_sandbox.dylib (2169.60.10) <5F138857-5FE4-30BE-8B63-FDD645DF23A1> /usr/lib/system/libsystem_sandbox.dylib 0x19490b000 - 0x19490fffb com.apple.AppleSystemInfo (3.1.5 - 3.1.5) /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo 0x194910000 - 0x194911fff liblangid.dylib (138) <23F7C91D-AD38-3B84-90DF-E4846739C57E> /usr/lib/liblangid.dylib 0x194912000 - 0x194a2dfff com.apple.CoreNLP (1.0 - 313) <95A1A9CB-0240-319D-86E8-AD531544C4F8> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP 0x194a2e000 - 0x194a33fff com.apple.LinguisticData (1.0 - 483.10) <3E886D78-394F-3B35-8B49-AD1B02276167> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData 0x194a34000 - 0x19520efef libBNNS.dylib (830.60.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib 0x19520f000 - 0x1952fff47 libvDSP.dylib (1041) <0BDEAEB0-774C-3B6D-826D-14858B940227> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x195300000 - 0x195332fff com.apple.CoreEmoji (1.0 - 200.201) /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji 0x195333000 - 0x195342ff7 com.apple.IOMobileFramebuffer (343.0.0 - 343.0.0) <2B820A01-5282-3E74-9162-46E49A817F94> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer 0x195563000 - 0x1955f0fff com.apple.securityfoundation (6.0 - 55282) <6B07DA2F-AF6E-350A-A71D-5A01FAC81AB8> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x1955f1000 - 0x195617fff com.apple.coreservices.BackgroundTaskManagement (1.0 - 104) <2960C285-B9E8-3883-87F6-0CA1C66CDD85> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement 0x195623000 - 0x195625ffb libquarantine.dylib (172.60.2) <9A7AD27E-0ECF-3D69-AD56-4C41E0AC19DE> /usr/lib/system/libquarantine.dylib 0x195626000 - 0x195631fff libCheckFix.dylib (32) <62AA5B38-5737-3CD9-8D48-CDCF78DEED85> /usr/lib/libCheckFix.dylib 0x195632000 - 0x195649fff libcoretls.dylib (186) <773DD9AD-7C14-31DF-B874-27B5406BD91B> /usr/lib/libcoretls.dylib 0x19564a000 - 0x19565bffb libbsm.0.dylib (89) <2CBDE0F7-1A4E-314B-8652-36F3E7FA2829> /usr/lib/libbsm.0.dylib 0x19565c000 - 0x1956b7fff libmecab.dylib (1062.204) <373C9AD8-4A9C-3581-A647-FBDD2FED931A> /usr/lib/libmecab.dylib 0x1956b8000 - 0x1956baffb libgermantok.dylib (29) <3AABEEAD-A0EF-3B9D-9C44-9487CBB6A974> /usr/lib/libgermantok.dylib 0x1956bb000 - 0x1956cffff libLinearAlgebra.dylib (1447) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib 0x195c58000 - 0x195d1bfdf com.apple.AppleFSCompression (158 - 1.0) /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression 0x195d1c000 - 0x195d28ffb libbz2.1.0.dylib (45) /usr/lib/libbz2.1.0.dylib 0x195d29000 - 0x195d2efff libsystem_coreservices.dylib (152.1) <9DF87415-44A0-31F3-BC0B-BFBC6D5BFC2B> /usr/lib/system/libsystem_coreservices.dylib 0x195d2f000 - 0x195d60fff com.apple.CoreServices.OSServices (1141.1 - 1141.1) <04B71F3C-EFC3-3469-9507-A3778F97405D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x196040000 - 0x19604efff libz.1.dylib (91.40.4) <0E96113D-04E8-3404-A96A-8D5DE355F9B8> /usr/lib/libz.1.dylib 0x19604f000 - 0x196085ff3 libsystem_m.dylib (3252.40.2) /usr/lib/system/libsystem_m.dylib 0x196086000 - 0x196089fff libcharset.1.dylib (92) <721A2A54-E2CB-359D-BD10-C0507C0C1FD6> /usr/lib/libcharset.1.dylib 0x19608a000 - 0x196091ffb libmacho.dylib (1009.3) <8C3F607B-5FA9-3C80-AC97-66F2BBCF2F85> /usr/lib/system/libmacho.dylib 0x196092000 - 0x1960b1fff libkxld.dylib (10002.61.3) <7DEAFFAA-C838-3518-AF2A-A2021115178C> /usr/lib/system/libkxld.dylib 0x1960b2000 - 0x1960bfff7 libcommonCrypto.dylib (600025) <1A4B497A-69D2-3048-8F47-133482DABAFA> /usr/lib/system/libcommonCrypto.dylib 0x1960c0000 - 0x1960cbfff libunwind.dylib (1600.136) <0C443A31-8851-30E2-9FAD-B4C7633F5135> /usr/lib/system/libunwind.dylib 0x1960cc000 - 0x1960d3fff liboah.dylib (315.2) /usr/lib/liboah.dylib 0x1960d4000 - 0x1960ddff3 libcopyfile.dylib (196) <11CC75EB-6597-33C6-B725-607F7E0B0A28> /usr/lib/system/libcopyfile.dylib 0x1960de000 - 0x1960e1fff libcompiler_rt.dylib (103.1) /usr/lib/system/libcompiler_rt.dylib 0x1960e2000 - 0x1960e6ffb libsystem_collections.dylib (1583.60.2) <15F74475-A05D-333E-85B8-8BCFF0170FAC> /usr/lib/system/libsystem_collections.dylib 0x1960e7000 - 0x1960e9ffb libsystem_secinit.dylib (143) /usr/lib/system/libsystem_secinit.dylib 0x1960ea000 - 0x1960ecffb libremovefile.dylib (70) /usr/lib/system/libremovefile.dylib 0x1960ed000 - 0x1960edffb libkeymgr.dylib (31) /usr/lib/system/libkeymgr.dylib 0x1960ee000 - 0x1960f6ff7 libsystem_dnssd.dylib (2200.60.25.0.4) <4FCBB463-F915-38A4-AB32-159AF74479E9> /usr/lib/system/libsystem_dnssd.dylib 0x1960f7000 - 0x1960fcfff libcache.dylib (92) /usr/lib/system/libcache.dylib 0x1960fd000 - 0x1960fefff libSystem.B.dylib (1336.61.1) /usr/lib/libSystem.B.dylib 0x1960ff000 - 0x196102fff libfakelink.dylib (5) /usr/lib/libfakelink.dylib 0x196103000 - 0x196103ffb com.apple.SoftLinking (1.0 - 47) <2EB02DCF-5685-39B9-BF6A-1E543DA93F62> /System/Library/PrivateFrameworks/SoftLinking.framework/Versions/A/SoftLinking 0x196104000 - 0x196139ff3 libpcap.A.dylib (130) /usr/lib/libpcap.A.dylib 0x19613a000 - 0x196140ffb libiconv.2.dylib (92) <19A66B4E-19BD-3651-B506-D2B4198BE9FA> /usr/lib/libiconv.2.dylib 0x196141000 - 0x196152fff libcmph.dylib (8) <86FBDF30-BA65-31F5-93E6-AD0ED65994A5> /usr/lib/libcmph.dylib 0x196153000 - 0x1961dbff3 libarchive.2.dylib (121.40.3) <039B4DC9-D00D-38C8-A5A8-9328D18653EC> /usr/lib/libarchive.2.dylib 0x1961dc000 - 0x196252ff3 com.apple.SearchKit (1.4.1 - 1.4.1) <62CD2063-DBCE-38C8-A3CE-D453F79CC770> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x196253000 - 0x196254ff7 libThaiTokenizer.dylib (15) /usr/lib/libThaiTokenizer.dylib 0x196255000 - 0x19627afff com.apple.applesauce (1.0 - 16.55) <61416159-DB07-3A37-A1AD-DABC9E0F187E> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce 0x19627b000 - 0x196294ffb libapple_nghttp2.dylib (16) <0EA82363-3FA5-3489-9B13-0977CAD7FB07> /usr/lib/libapple_nghttp2.dylib 0x196295000 - 0x1962a7fff libSparseBLAS.dylib (1447) <9D0E00DF-932B-314B-8C6A-9DEB5B1F19C7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib 0x1962aa000 - 0x1962affff libpam.2.dylib (33) /usr/lib/libpam.2.dylib 0x1962b0000 - 0x19637dfcf libcompression.dylib (166) <21A593D8-DEBE-39B4-981F-C8EC657FEFE3> /usr/lib/libcompression.dylib 0x19637e000 - 0x196382ffb libQuadrature.dylib (7) <8C4FE15B-72E7-35E2-A4FB-AD80DE90DF58> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib 0x196383000 - 0x1974f4fff libLAPACK.dylib (1447) <860F6513-9D5B-3281-BE2D-28EF333C3AF1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x1974f5000 - 0x19754bfff com.apple.DictionaryServices (1.2 - 355) <2F03B6C3-5731-3C86-8E57-04C8FA98DFB4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x19754c000 - 0x197564ff3 liblzma.5.dylib (18) <928D680D-943D-337C-BAC3-B561709503AC> /usr/lib/liblzma.5.dylib 0x197565000 - 0x197566ffb libcoretls_cfhelpers.dylib (186) <44F43C33-3DD0-3BF8-99A3-2ACAA5DEB5D9> /usr/lib/libcoretls_cfhelpers.dylib 0x197567000 - 0x1975d5ff3 com.apple.APFS (2235.60.6 - 2235.60.6) <70B41A5A-5969-3D54-8AC7-7D57F7BDC490> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS 0x1975d6000 - 0x1975e4ffb libxar.1.dylib (498) /usr/lib/libxar.1.dylib 0x1975e5000 - 0x1975e8ff7 libutil.dylib (72) /usr/lib/libutil.dylib 0x1975e9000 - 0x197614ff3 libxslt.1.dylib (20.3) <825AB0BE-C9BA-3D93-BA1D-9AD4818117DC> /usr/lib/libxslt.1.dylib 0x19761d000 - 0x197698fff libvMisc.dylib (1041) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x1979bd000 - 0x1979c7fff libheimdal-asn1.dylib (685) <88F4BAD4-46A8-35DB-9692-CDF6D7231EB2> /usr/lib/libheimdal-asn1.dylib 0x19911d000 - 0x19965dfff libswiftCore.dylib (5.9.2 - 5.9.2.2.11) <68646D6F-4B05-34D3-8656-83C5062B9919> /usr/lib/swift/libswiftCore.dylib 0x19b5cc000 - 0x19b708fff com.apple.combine (1.0 - 311) <49FB9E63-943F-358B-83C4-5FB4B2CAB6AA> /System/Library/Frameworks/Combine.framework/Versions/A/Combine 0x19d6bc000 - 0x19d6bcfff com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x19d6e5000 - 0x19d6e5fff com.apple.CoreServices (1226 - 1226) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x19d9e9000 - 0x19d9e9fff com.apple.Accelerate (1.11 - Accelerate 1.11) <70C4EEC6-ACCF-3E75-804C-659DD8DA930F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x19ed58000 - 0x19ed70ff7 libswiftDispatch.dylib (34.0.2) /usr/lib/swift/libswiftDispatch.dylib 0x1a1543000 - 0x1a1546ff5 libswiftObjectiveC.dylib (8) /usr/lib/swift/libswiftObjectiveC.dylib 0x1a1547000 - 0x1a155ffff libswiftos.dylib (1040) <3279F49D-8D65-3E62-A7CD-F6F52C9BBCEA> /usr/lib/swift/libswiftos.dylib 0x1ac30a000 - 0x1ac313ff7 libswiftDarwin.dylib (??? - 5.9.2.2.11) <8C200B8A-A9E9-3F22-8BF8-63A50A5FD150> /usr/lib/swift/libswiftDarwin.dylib 0x1ae650000 - 0x1ae663fff libmis.dylib (381) /usr/lib/libmis.dylib 0x1ae672000 - 0x1ae678fff libswiftCoreFoundation.dylib (2000) <75A76738-335C-32DA-9364-BCEEF281E9F2> /usr/lib/swift/libswiftCoreFoundation.dylib 0x1ae688000 - 0x1ae6bdff7 libswiftXPC.dylib (29.0.2) <8561FC6B-959B-3756-B8D8-078B4726D515> /usr/lib/swift/libswiftXPC.dylib 0x1ae6bf000 - 0x1ae6bffff libswiftIOKit.dylib (1) /usr/lib/swift/libswiftIOKit.dylib 0x1be162000 - 0x1be169fff com.apple.MobileSystemServices (1.0 - 1) /System/Library/PrivateFrameworks/MobileSystemServices.framework/Versions/A/MobileSystemServices 0x1ef3b8000 - 0x1ef3bbfff com.apple.ConfigProfileHelper (16.2 - 1631) <888E2822-B333-32FE-8BA6-491C215F3A26> /System/Library/PrivateFrameworks/ConfigProfileHelper.framework/Versions/A/ConfigProfileHelper 0x1fdec6000 - 0x1fded9fff com.apple.private.AppleMobileFileIntegrity-fmk (1.0 - 1) <3692B185-30A3-365B-B389-F5D4027AF839> /System/Library/PrivateFrameworks/AppleMobileFileIntegrity.framework/Versions/A/AppleMobileFileIntegrity 0x200312000 - 0x200470fff com.apple.CollectionsInternal (1.1.0 - 19) /System/Library/PrivateFrameworks/CollectionsInternal.framework/Versions/A/CollectionsInternal 0x20d87e000 - 0x20d955fff com.apple.InstalledContentLibrary (1.0 - 1.0) /System/Library/PrivateFrameworks/InstalledContentLibrary.framework/Versions/A/InstalledContentLibrary 0x20f649000 - 0x20fb1dffb com.apple.MIL (5.33 - 5.33.5) /System/Library/PrivateFrameworks/MIL.framework/Versions/A/MIL 0x210dd3000 - 0x210e1dfff com.apple.MessageSecurity (1.0 - 101.40.6) /System/Library/PrivateFrameworks/MessageSecurity.framework/Versions/A/MessageSecurity 0x215a5a000 - 0x215a60ff7 com.apple.ReflectionInternal (1.0.0 - 19) <3D21C16E-D64D-3FFD-919A-8FE09E994C0D> /System/Library/PrivateFrameworks/ReflectionInternal.framework/Versions/A/ReflectionInternal 0x216007000 - 0x21601dff7 com.apple.RuntimeInternal (1.0.0 - 19) /System/Library/PrivateFrameworks/RuntimeInternal.framework/Versions/A/RuntimeInternal 0x229355000 - 0x229360fff libCoreEntitlements.dylib (53) /usr/lib/libCoreEntitlements.dylib 0x22953e000 - 0x229549fff libTLE.dylib (53) <4020CC2D-3A4F-37DC-89B9-157735FEAB17> /usr/lib/libTLE.dylib 0x22a8be000 - 0x22a91cff3 libswift_Concurrency.dylib (5.9.2 - 5.9.2.2.11) <3C12212B-2AA0-33C1-9555-CD3389118483> /usr/lib/swift/libswift_Concurrency.dylib 0x22a95b000 - 0x22aa06fff libswift_RegexParser.dylib (??? - 5.9.2.2.11) <990A00C6-DF12-3FD6-BC4E-09EB6540C02A> /usr/lib/swift/libswift_RegexParser.dylib 0x22aa07000 - 0x22aaa7ff7 libswift_StringProcessing.dylib (??? - 5.9.2.2.11) <3C4CD4DC-720C-3E7A-8DB1-ECD812E9341F> /usr/lib/swift/libswift_StringProcessing.dylib 0x22abea000 - 0x22abedfff libsystem_darwindirectory.dylib (86.0.2) <458D27F4-5C6F-312C-A552-437FE7B0F705> /usr/lib/system/libsystem_darwindirectory.dylib ```
for the op daemon process ``` Analysis of sampling op (pid 6591) every 1 millisecond Process: op [6591] Path: /opt/homebrew/*/op Load Address: 0x102660000 Identifier: op Version: 0 Code Type: ARM64 Platform: macOS Parent Process: ??? [1] Date/Time: 2023-12-30 21:18:23.495 -0700 Launch Time: 2023-12-27 17:12:27.111 -0700 OS Version: macOS 14.2.1 (23C71) Report Version: 7 Analysis Tool: /usr/bin/sample Physical footprint: 10.4M Physical footprint (peak): 10.4M Idle exit: untracked ---- Call graph: 2516 Thread_251805 DispatchQueue_1: com.apple.main-thread (serial) + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251808 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_timedwait_relative_np_trampoline.abi0 (in op) + 28 [0x1026c83fc] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1272 [0x18986e628] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251809 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251810 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251811 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251812 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251813 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251814 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251815 + 2516 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251816 + 2516 runtime.asmcgocall.abi0 (in op) + 201 [0x1026c70c9] + 2516 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] + 2516 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] + 2516 __psynch_cvwait (in libsystem_kernel.dylib) + 8 [0x18983106c] 2516 Thread_251817 2516 runtime.kevent_trampoline.abi0 (in op) + 40 [0x1026c8128] 2516 kevent (in libsystem_kernel.dylib) + 8 [0x1898339c0] Total number in stack (recursive counted multiple, when >=5): 10 __psynch_cvwait (in libsystem_kernel.dylib) + 0 [0x189831064] 9 _pthread_cond_wait (in libsystem_pthread.dylib) + 1228 [0x18986e5fc] 9 runtime.asmcgocall.abi0 (in op) + 200 [0x1026c70c8] 9 runtime.pthread_cond_wait_trampoline.abi0 (in op) + 24 [0x1026c83c8] Sort by top of stack, same collapsed (when >= 5): __psynch_cvwait (in libsystem_kernel.dylib) 25160 kevent (in libsystem_kernel.dylib) 2516 Binary Images: 0x102660000 - 0x10313ffff +op (0) <1550BC6D-AE60-3A21-BDAF-714E7FA11E39> /opt/homebrew/*/op 0x189498000 - 0x1894e6fe0 libobjc.A.dylib (906.2) <9BAB9556-7A2A-30A8-ACDE-010BA8E2367D> /usr/lib/libobjc.A.dylib 0x1894e7000 - 0x18957b347 dyld (1.0.0 - 1125.5) <324E4AD9-E01F-3183-B09F-3E20B326643A> /usr/lib/dyld 0x18957c000 - 0x189580ff8 libsystem_blocks.dylib (90) <41DD58AD-E581-3BC7-A2C4-314046BA471F> /usr/lib/system/libsystem_blocks.dylib 0x189581000 - 0x1895c7fff libxpc.dylib (2679.61.1) <272DC84F-1871-3ADD-8126-2155D6EFF7AB> /usr/lib/system/libxpc.dylib 0x1895c8000 - 0x1895e2fff libsystem_trace.dylib (1481.40.16) <1F45FD2F-3ABC-3AB3-9A6F-CC9C727ACBDA> /usr/lib/system/libsystem_trace.dylib 0x1895e3000 - 0x189681fc7 libcorecrypto.dylib (1608.60.11) <61DEF451-18FC-3FA7-B05A-F80B0BF36404> /usr/lib/system/libcorecrypto.dylib 0x189682000 - 0x1896b8fff libsystem_malloc.dylib (474.0.13) <690A8B04-8E64-3332-B5A5-56A3D5C1C43F> /usr/lib/system/libsystem_malloc.dylib 0x1896b9000 - 0x1896fffff libdispatch.dylib (1462.0.4) /usr/lib/system/libdispatch.dylib 0x189700000 - 0x189702fff libsystem_featureflags.dylib (85) /usr/lib/system/libsystem_featureflags.dylib 0x189703000 - 0x189781ffb libsystem_c.dylib (1583.60.2) /usr/lib/system/libsystem_c.dylib 0x189782000 - 0x18980fff7 libc++.1.dylib (1600.157) <375254EB-5A65-35D0-B6B4-773E6763D289> /usr/lib/libc++.1.dylib 0x189810000 - 0x18982bfff libc++abi.dylib (1600.157) /usr/lib/libc++abi.dylib 0x18982c000 - 0x189866fff libsystem_kernel.dylib (10002.61.3) /usr/lib/system/libsystem_kernel.dylib 0x189867000 - 0x189873ff3 libsystem_pthread.dylib (519) /usr/lib/system/libsystem_pthread.dylib 0x189874000 - 0x189899ff3 libdyld.dylib (1125.5) <33108EF5-2DC1-3E6D-B3BE-C55520E1594F> /usr/lib/system/libdyld.dylib 0x18989a000 - 0x1898a0ffb libsystem_platform.dylib (306.0.1) /usr/lib/system/libsystem_platform.dylib 0x1898a1000 - 0x1898cdffb libsystem_info.dylib (583.0.1) <0B3340BE-7CBE-356F-9ACE-7A062DC0554E> /usr/lib/system/libsystem_info.dylib 0x1898ce000 - 0x189da5fff com.apple.CoreFoundation (6.9 - 2202) <47E4EC09-8F6E-30A8-99D0-34024D4F8122> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x189da6000 - 0x18a059fff com.apple.LaunchServices (1141.1 - 1141.1) <5E6140E6-AF9A-39DE-BBD6-D49E864E9BA5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x18a1a5000 - 0x18a52efff libBLAS.dylib (1447) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x18a52f000 - 0x18a61bfff com.apple.Lexicon-framework (1.0 - 134.0.1) <05C34310-29E1-305F-883C-1899EF5D3614> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon 0x18a61c000 - 0x18a682ff7 libSparse.dylib (123) <77591504-8F1F-398C-9813-76DB35F5AF27> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib 0x18a683000 - 0x18a715ffb com.apple.SystemConfiguration (1.21 - 1.21) <1B1793BB-37F8-3D8D-B7EC-5A3A68A2B1AA> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x18a716000 - 0x18a74affb libCRFSuite.dylib (52) /usr/lib/libCRFSuite.dylib 0x18a9f9000 - 0x18b640fff com.apple.Foundation (6.9 - 2202) <9558B1EB-DDA3-3FDA-88A5-E785ECDFCD30> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x18b641000 - 0x18b823fff com.apple.LanguageModeling (1.0 - 366.4.3) <67169141-82E8-395D-B21C-177B919604C6> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling 0x18c597000 - 0x18c958fff com.apple.security (7.0 - 61040.61.2) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x18c959000 - 0x18cc11ff7 libicucore.A.dylib (72123.15) <9F20561D-1BED-3956-AAE9-ACE7DD31547C> /usr/lib/libicucore.A.dylib 0x18cc12000 - 0x18cc1cff7 libsystem_darwin.dylib (1583.60.2) /usr/lib/system/libsystem_darwin.dylib 0x18cc1d000 - 0x18cf21fff com.apple.CoreServices.CarbonCore (1333 - 1333) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x18cf22000 - 0x18cf61ff3 com.apple.CoreServicesInternal (505 - 505) <20323588-8601-3D08-B7B6-6A9299C70FC0> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal 0x18cf62000 - 0x18cfa2fff com.apple.CSStore (1141.1 - 1141.1) /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore 0x18cfa3000 - 0x18d084fff com.apple.framework.IOKit (2.0.2 - 100065.60.6) <95D2A74C-6FC0-39A8-990F-5E07A3FF7952> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x18d085000 - 0x18d095fff libsystem_notify.dylib (317) <60ECA172-D5DA-3743-AE08-2E397A8C7754> /usr/lib/system/libsystem_notify.dylib 0x18ead9000 - 0x18ead9fff libnetwork.dylib (3762.61.2) <91762C87-634A-322E-96F1-9694859367BF> /usr/lib/libnetwork.dylib 0x18eada000 - 0x18eeadfff com.apple.CFNetwork (1.0 - 1490.0.4) <4E848675-3A1D-397E-9884-CBB30BD02067> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x18eeae000 - 0x18eec7ff7 libsystem_networkextension.dylib (1838.61.1) /usr/lib/system/libsystem_networkextension.dylib 0x18eec8000 - 0x18eec9fff libenergytrace.dylib (23) /usr/lib/libenergytrace.dylib 0x18eeca000 - 0x18ef3dfdf libMobileGestalt.dylib (1291.60.3) /usr/lib/libMobileGestalt.dylib 0x18ef3e000 - 0x18ef55fff libsystem_asl.dylib (398) <092396DB-281D-3FA0-9E50-43F0B11AA972> /usr/lib/system/libsystem_asl.dylib 0x18ef56000 - 0x18ef76ffd com.apple.TCC (1.0 - 1) <7A7D68C5-148C-3F4B-9098-CCF7AA2931CC> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC 0x1904fd000 - 0x190516fff com.apple.ProtocolBuffer (1 - 300.21.8.9.2) /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer 0x190517000 - 0x1906c7ff3 libsqlite3.dylib (350.2) /usr/lib/libsqlite3.dylib 0x190895000 - 0x190908ff7 com.apple.AE (944 - 944) <3BECA17E-6610-32DD-80CA-805B81F0C933> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x190909000 - 0x190912ffc libdns_services.dylib (2200.60.25.0.4) <9F8AAE10-B5FB-3280-BBF6-449B8594DD77> /usr/lib/libdns_services.dylib 0x190913000 - 0x19091bff3 libsystem_symptoms.dylib (1848.60.8) <16E4B671-D97C-3908-9127-307A83DF3DCD> /usr/lib/system/libsystem_symptoms.dylib 0x19091c000 - 0x191508fff com.apple.Network (1.0 - 1) /System/Library/Frameworks/Network.framework/Versions/A/Network 0x191509000 - 0x191537fff com.apple.analyticsd (1.0 - 1) <2E12D943-55E1-330B-81EF-C05AF23EB10C> /System/Library/PrivateFrameworks/CoreAnalytics.framework/Versions/A/CoreAnalytics 0x191538000 - 0x191539fff libDiagnosticMessagesClient.dylib (113) <8CD8AF83-68A6-30D5-B87C-4E0F298855D8> /usr/lib/libDiagnosticMessagesClient.dylib 0x19153a000 - 0x191580fff com.apple.spotlight.metadata.utilities (1.0 - 2274.11.2) <4D0CAB3E-B2C0-30F2-8F73-573633D80062> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities 0x191581000 - 0x19161bfff com.apple.Metadata (14.2 - 2274.11.2) <7B51046E-CCA3-36B9-A482-F794A213E7A0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x19161c000 - 0x191624ffb com.apple.DiskArbitration (2.7 - 2.7) /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x191625000 - 0x191a09ff7 com.apple.vImage (8.1 - 584) <4E3A75F6-4279-3EAF-B37B-ECF17B29F5C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x19208f000 - 0x19209efff com.apple.OpenDirectory (14.2 - 642) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x19209f000 - 0x1920beffb com.apple.CFOpenDirectory (14.2 - 642) <8D68076F-28A7-30E8-8BAD-442637CDE37A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x1920bf000 - 0x1920cbff7 com.apple.CoreServices.FSEvents (1376 - 1376) <440F98EC-73CE-3061-838F-3E3FD2EC1650> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents 0x1920cc000 - 0x1920f6fff com.apple.coreservices.SharedFileList (225 - 225) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList 0x1920f7000 - 0x1920fdfff libapp_launch_measurement.dylib (17) <1AC1C95F-436E-3A8C-B5A8-3217E61090A0> /usr/lib/libapp_launch_measurement.dylib 0x1920fe000 - 0x192147fff com.apple.CoreAutoLayout (1.0 - 32) <87EB9A8E-C6C3-3DB5-94D2-5504050A6C57> /System/Library/PrivateFrameworks/CoreAutoLayout.framework/Versions/A/CoreAutoLayout 0x192148000 - 0x192231fff libxml2.2.dylib (37.14) <72AFEC77-29CC-3B5C-814E-2CF54793111F> /usr/lib/libxml2.2.dylib 0x19397e000 - 0x1939a7ffb libsystem_containermanager.dylib (582.60.2) <9176BF94-EF84-3C52-93FD-7014FD23E850> /usr/lib/system/libsystem_containermanager.dylib 0x1939a8000 - 0x1939bffff com.apple.IOSurface (352.0.3 - 352.0.3) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x1948fe000 - 0x194902fff libsystem_configuration.dylib (1296.60.3) <136CD597-BE32-3806-8C7E-B144FCC956C6> /usr/lib/system/libsystem_configuration.dylib 0x194903000 - 0x194908ff3 libsystem_sandbox.dylib (2169.60.10) <5F138857-5FE4-30BE-8B63-FDD645DF23A1> /usr/lib/system/libsystem_sandbox.dylib 0x19490b000 - 0x19490fffb com.apple.AppleSystemInfo (3.1.5 - 3.1.5) /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo 0x194910000 - 0x194911fff liblangid.dylib (138) <23F7C91D-AD38-3B84-90DF-E4846739C57E> /usr/lib/liblangid.dylib 0x194912000 - 0x194a2dfff com.apple.CoreNLP (1.0 - 313) <95A1A9CB-0240-319D-86E8-AD531544C4F8> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP 0x194a2e000 - 0x194a33fff com.apple.LinguisticData (1.0 - 483.10) <3E886D78-394F-3B35-8B49-AD1B02276167> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData 0x194a34000 - 0x19520efef libBNNS.dylib (830.60.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib 0x19520f000 - 0x1952fff47 libvDSP.dylib (1041) <0BDEAEB0-774C-3B6D-826D-14858B940227> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x195300000 - 0x195332fff com.apple.CoreEmoji (1.0 - 200.201) /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji 0x195333000 - 0x195342ff7 com.apple.IOMobileFramebuffer (343.0.0 - 343.0.0) <2B820A01-5282-3E74-9162-46E49A817F94> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/Versions/A/IOMobileFramebuffer 0x195563000 - 0x1955f0fff com.apple.securityfoundation (6.0 - 55282) <6B07DA2F-AF6E-350A-A71D-5A01FAC81AB8> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x1955f1000 - 0x195617fff com.apple.coreservices.BackgroundTaskManagement (1.0 - 104) <2960C285-B9E8-3883-87F6-0CA1C66CDD85> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement 0x195623000 - 0x195625ffb libquarantine.dylib (172.60.2) <9A7AD27E-0ECF-3D69-AD56-4C41E0AC19DE> /usr/lib/system/libquarantine.dylib 0x195626000 - 0x195631fff libCheckFix.dylib (32) <62AA5B38-5737-3CD9-8D48-CDCF78DEED85> /usr/lib/libCheckFix.dylib 0x195632000 - 0x195649fff libcoretls.dylib (186) <773DD9AD-7C14-31DF-B874-27B5406BD91B> /usr/lib/libcoretls.dylib 0x19564a000 - 0x19565bffb libbsm.0.dylib (89) <2CBDE0F7-1A4E-314B-8652-36F3E7FA2829> /usr/lib/libbsm.0.dylib 0x19565c000 - 0x1956b7fff libmecab.dylib (1062.204) <373C9AD8-4A9C-3581-A647-FBDD2FED931A> /usr/lib/libmecab.dylib 0x1956b8000 - 0x1956baffb libgermantok.dylib (29) <3AABEEAD-A0EF-3B9D-9C44-9487CBB6A974> /usr/lib/libgermantok.dylib 0x1956bb000 - 0x1956cffff libLinearAlgebra.dylib (1447) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib 0x195c58000 - 0x195d1bfdf com.apple.AppleFSCompression (158 - 1.0) /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression 0x195d1c000 - 0x195d28ffb libbz2.1.0.dylib (45) /usr/lib/libbz2.1.0.dylib 0x195d29000 - 0x195d2efff libsystem_coreservices.dylib (152.1) <9DF87415-44A0-31F3-BC0B-BFBC6D5BFC2B> /usr/lib/system/libsystem_coreservices.dylib 0x195d2f000 - 0x195d60fff com.apple.CoreServices.OSServices (1141.1 - 1141.1) <04B71F3C-EFC3-3469-9507-A3778F97405D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x196040000 - 0x19604efff libz.1.dylib (91.40.4) <0E96113D-04E8-3404-A96A-8D5DE355F9B8> /usr/lib/libz.1.dylib 0x19604f000 - 0x196085ff3 libsystem_m.dylib (3252.40.2) /usr/lib/system/libsystem_m.dylib 0x196086000 - 0x196089fff libcharset.1.dylib (92) <721A2A54-E2CB-359D-BD10-C0507C0C1FD6> /usr/lib/libcharset.1.dylib 0x19608a000 - 0x196091ffb libmacho.dylib (1009.3) <8C3F607B-5FA9-3C80-AC97-66F2BBCF2F85> /usr/lib/system/libmacho.dylib 0x196092000 - 0x1960b1fff libkxld.dylib (10002.61.3) <7DEAFFAA-C838-3518-AF2A-A2021115178C> /usr/lib/system/libkxld.dylib 0x1960b2000 - 0x1960bfff7 libcommonCrypto.dylib (600025) <1A4B497A-69D2-3048-8F47-133482DABAFA> /usr/lib/system/libcommonCrypto.dylib 0x1960c0000 - 0x1960cbfff libunwind.dylib (1600.136) <0C443A31-8851-30E2-9FAD-B4C7633F5135> /usr/lib/system/libunwind.dylib 0x1960cc000 - 0x1960d3fff liboah.dylib (315.2) /usr/lib/liboah.dylib 0x1960d4000 - 0x1960ddff3 libcopyfile.dylib (196) <11CC75EB-6597-33C6-B725-607F7E0B0A28> /usr/lib/system/libcopyfile.dylib 0x1960de000 - 0x1960e1fff libcompiler_rt.dylib (103.1) /usr/lib/system/libcompiler_rt.dylib 0x1960e2000 - 0x1960e6ffb libsystem_collections.dylib (1583.60.2) <15F74475-A05D-333E-85B8-8BCFF0170FAC> /usr/lib/system/libsystem_collections.dylib 0x1960e7000 - 0x1960e9ffb libsystem_secinit.dylib (143) /usr/lib/system/libsystem_secinit.dylib 0x1960ea000 - 0x1960ecffb libremovefile.dylib (70) /usr/lib/system/libremovefile.dylib 0x1960ed000 - 0x1960edffb libkeymgr.dylib (31) /usr/lib/system/libkeymgr.dylib 0x1960ee000 - 0x1960f6ff7 libsystem_dnssd.dylib (2200.60.25.0.4) <4FCBB463-F915-38A4-AB32-159AF74479E9> /usr/lib/system/libsystem_dnssd.dylib 0x1960f7000 - 0x1960fcfff libcache.dylib (92) /usr/lib/system/libcache.dylib 0x1960fd000 - 0x1960fefff libSystem.B.dylib (1336.61.1) /usr/lib/libSystem.B.dylib 0x1960ff000 - 0x196102fff libfakelink.dylib (5) /usr/lib/libfakelink.dylib 0x196103000 - 0x196103ffb com.apple.SoftLinking (1.0 - 47) <2EB02DCF-5685-39B9-BF6A-1E543DA93F62> /System/Library/PrivateFrameworks/SoftLinking.framework/Versions/A/SoftLinking 0x196104000 - 0x196139ff3 libpcap.A.dylib (130) /usr/lib/libpcap.A.dylib 0x19613a000 - 0x196140ffb libiconv.2.dylib (92) <19A66B4E-19BD-3651-B506-D2B4198BE9FA> /usr/lib/libiconv.2.dylib 0x196141000 - 0x196152fff libcmph.dylib (8) <86FBDF30-BA65-31F5-93E6-AD0ED65994A5> /usr/lib/libcmph.dylib 0x196153000 - 0x1961dbff3 libarchive.2.dylib (121.40.3) <039B4DC9-D00D-38C8-A5A8-9328D18653EC> /usr/lib/libarchive.2.dylib 0x1961dc000 - 0x196252ff3 com.apple.SearchKit (1.4.1 - 1.4.1) <62CD2063-DBCE-38C8-A3CE-D453F79CC770> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x196253000 - 0x196254ff7 libThaiTokenizer.dylib (15) /usr/lib/libThaiTokenizer.dylib 0x196255000 - 0x19627afff com.apple.applesauce (1.0 - 16.55) <61416159-DB07-3A37-A1AD-DABC9E0F187E> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce 0x19627b000 - 0x196294ffb libapple_nghttp2.dylib (16) <0EA82363-3FA5-3489-9B13-0977CAD7FB07> /usr/lib/libapple_nghttp2.dylib 0x196295000 - 0x1962a7fff libSparseBLAS.dylib (1447) <9D0E00DF-932B-314B-8C6A-9DEB5B1F19C7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib 0x1962aa000 - 0x1962affff libpam.2.dylib (33) /usr/lib/libpam.2.dylib 0x1962b0000 - 0x19637dfcf libcompression.dylib (166) <21A593D8-DEBE-39B4-981F-C8EC657FEFE3> /usr/lib/libcompression.dylib 0x19637e000 - 0x196382ffb libQuadrature.dylib (7) <8C4FE15B-72E7-35E2-A4FB-AD80DE90DF58> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib 0x196383000 - 0x1974f4fff libLAPACK.dylib (1447) <860F6513-9D5B-3281-BE2D-28EF333C3AF1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x1974f5000 - 0x19754bfff com.apple.DictionaryServices (1.2 - 355) <2F03B6C3-5731-3C86-8E57-04C8FA98DFB4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x19754c000 - 0x197564ff3 liblzma.5.dylib (18) <928D680D-943D-337C-BAC3-B561709503AC> /usr/lib/liblzma.5.dylib 0x197565000 - 0x197566ffb libcoretls_cfhelpers.dylib (186) <44F43C33-3DD0-3BF8-99A3-2ACAA5DEB5D9> /usr/lib/libcoretls_cfhelpers.dylib 0x197567000 - 0x1975d5ff3 com.apple.APFS (2235.60.6 - 2235.60.6) <70B41A5A-5969-3D54-8AC7-7D57F7BDC490> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS 0x1975d6000 - 0x1975e4ffb libxar.1.dylib (498) /usr/lib/libxar.1.dylib 0x1975e5000 - 0x1975e8ff7 libutil.dylib (72) /usr/lib/libutil.dylib 0x1975e9000 - 0x197614ff3 libxslt.1.dylib (20.3) <825AB0BE-C9BA-3D93-BA1D-9AD4818117DC> /usr/lib/libxslt.1.dylib 0x19761d000 - 0x197698fff libvMisc.dylib (1041) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x1979bd000 - 0x1979c7fff libheimdal-asn1.dylib (685) <88F4BAD4-46A8-35DB-9692-CDF6D7231EB2> /usr/lib/libheimdal-asn1.dylib 0x19911d000 - 0x19965dfff libswiftCore.dylib (5.9.2 - 5.9.2.2.11) <68646D6F-4B05-34D3-8656-83C5062B9919> /usr/lib/swift/libswiftCore.dylib 0x19b5cc000 - 0x19b708fff com.apple.combine (1.0 - 311) <49FB9E63-943F-358B-83C4-5FB4B2CAB6AA> /System/Library/Frameworks/Combine.framework/Versions/A/Combine 0x19d6bc000 - 0x19d6bcfff com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x19d6e5000 - 0x19d6e5fff com.apple.CoreServices (1226 - 1226) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x19d9e9000 - 0x19d9e9fff com.apple.Accelerate (1.11 - Accelerate 1.11) <70C4EEC6-ACCF-3E75-804C-659DD8DA930F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x19ed58000 - 0x19ed70ff7 libswiftDispatch.dylib (34.0.2) /usr/lib/swift/libswiftDispatch.dylib 0x1a1543000 - 0x1a1546ff5 libswiftObjectiveC.dylib (8) /usr/lib/swift/libswiftObjectiveC.dylib 0x1a1547000 - 0x1a155ffff libswiftos.dylib (1040) <3279F49D-8D65-3E62-A7CD-F6F52C9BBCEA> /usr/lib/swift/libswiftos.dylib 0x1ac30a000 - 0x1ac313ff7 libswiftDarwin.dylib (??? - 5.9.2.2.11) <8C200B8A-A9E9-3F22-8BF8-63A50A5FD150> /usr/lib/swift/libswiftDarwin.dylib 0x1ae650000 - 0x1ae663fff libmis.dylib (381) /usr/lib/libmis.dylib 0x1ae672000 - 0x1ae678fff libswiftCoreFoundation.dylib (2000) <75A76738-335C-32DA-9364-BCEEF281E9F2> /usr/lib/swift/libswiftCoreFoundation.dylib 0x1ae688000 - 0x1ae6bdff7 libswiftXPC.dylib (29.0.2) <8561FC6B-959B-3756-B8D8-078B4726D515> /usr/lib/swift/libswiftXPC.dylib 0x1ae6bf000 - 0x1ae6bffff libswiftIOKit.dylib (1) /usr/lib/swift/libswiftIOKit.dylib 0x1be162000 - 0x1be169fff com.apple.MobileSystemServices (1.0 - 1) /System/Library/PrivateFrameworks/MobileSystemServices.framework/Versions/A/MobileSystemServices 0x1ef3b8000 - 0x1ef3bbfff com.apple.ConfigProfileHelper (16.2 - 1631) <888E2822-B333-32FE-8BA6-491C215F3A26> /System/Library/PrivateFrameworks/ConfigProfileHelper.framework/Versions/A/ConfigProfileHelper 0x1fdec6000 - 0x1fded9fff com.apple.private.AppleMobileFileIntegrity-fmk (1.0 - 1) <3692B185-30A3-365B-B389-F5D4027AF839> /System/Library/PrivateFrameworks/AppleMobileFileIntegrity.framework/Versions/A/AppleMobileFileIntegrity 0x200312000 - 0x200470fff com.apple.CollectionsInternal (1.1.0 - 19) /System/Library/PrivateFrameworks/CollectionsInternal.framework/Versions/A/CollectionsInternal 0x20d87e000 - 0x20d955fff com.apple.InstalledContentLibrary (1.0 - 1.0) /System/Library/PrivateFrameworks/InstalledContentLibrary.framework/Versions/A/InstalledContentLibrary 0x20f649000 - 0x20fb1dffb com.apple.MIL (5.33 - 5.33.5) /System/Library/PrivateFrameworks/MIL.framework/Versions/A/MIL 0x210dd3000 - 0x210e1dfff com.apple.MessageSecurity (1.0 - 101.40.6) /System/Library/PrivateFrameworks/MessageSecurity.framework/Versions/A/MessageSecurity 0x215a5a000 - 0x215a60ff7 com.apple.ReflectionInternal (1.0.0 - 19) <3D21C16E-D64D-3FFD-919A-8FE09E994C0D> /System/Library/PrivateFrameworks/ReflectionInternal.framework/Versions/A/ReflectionInternal 0x216007000 - 0x21601dff7 com.apple.RuntimeInternal (1.0.0 - 19) /System/Library/PrivateFrameworks/RuntimeInternal.framework/Versions/A/RuntimeInternal 0x229355000 - 0x229360fff libCoreEntitlements.dylib (53) /usr/lib/libCoreEntitlements.dylib 0x22953e000 - 0x229549fff libTLE.dylib (53) <4020CC2D-3A4F-37DC-89B9-157735FEAB17> /usr/lib/libTLE.dylib 0x22a8be000 - 0x22a91cff3 libswift_Concurrency.dylib (5.9.2 - 5.9.2.2.11) <3C12212B-2AA0-33C1-9555-CD3389118483> /usr/lib/swift/libswift_Concurrency.dylib 0x22a95b000 - 0x22aa06fff libswift_RegexParser.dylib (??? - 5.9.2.2.11) <990A00C6-DF12-3FD6-BC4E-09EB6540C02A> /usr/lib/swift/libswift_RegexParser.dylib 0x22aa07000 - 0x22aaa7ff7 libswift_StringProcessing.dylib (??? - 5.9.2.2.11) <3C4CD4DC-720C-3E7A-8DB1-ECD812E9341F> /usr/lib/swift/libswift_StringProcessing.dylib 0x22abea000 - 0x22abedfff libsystem_darwindirectory.dylib (86.0.2) <458D27F4-5C6F-312C-A552-437FE7B0F705> /usr/lib/system/libsystem_darwindirectory.dylib ```

@rwjblue I suspect you have a sourced plugins.sh like the one I showed above, in which case any gh invocation like gh pr create is actually doing op plugin run -- gh pr create.

cknowles commented 7 months ago

Are there meant to be two helper = in the .gitconfig or only one? I've experienced the hangs too and my config was like this:

[credential "https://github.com"]
        helper = 
        helper = !op plugin run -- gh auth git-credential
[credential "https://gist.github.com"]
        helper = 
        helper = !op plugin run -- gh auth git-credential

https://git-scm.com/docs/gitcredentials seems to indicate that each helper will be tried in turn.

I've just removed those two extra lines with nothing after the equals to see if I continue to experience hangs.

benmoss commented 5 months ago

Since these plugins are written in Go you can send SIGQUIT (ctrl-) to the program and have it emit a stack dump. Here's mine from experiencing this bug today.

Looks like it's blocked on searchDefaultsFileInCurrentDirRecursively. There's 5212 files in my current directory but it seems like it hangs indefinitely, so guessing there might be some bugs in that function, maybe to do with the fact that there's a bunch of symlinks in the .pixi subdirectory.

Here's a repo that has my working directory in it: https://github.com/benmoss/op-gh-repro

Unfortunately it looks like this bug is in the op CLI itself which is closed-source AFAIK. https://go.1password.io/op/op-cli redirects to https://gitlab.1password.io/dev/b5/op which is not public

pan93412 commented 5 months ago

Since these plugins are written in Go you can send SIGQUIT (ctrl-) to the program and have it emit a stack dump. Here's mine from experiencing this bug today.

Looks like it's blocked on searchDefaultsFileInCurrentDirRecursively. There's 5212 files in my current directory but it seems like it hangs indefinitely, so guessing there might be some bugs in that function, maybe to do with the fact that there's a bunch of symlinks in the .pixi subdirectory.

Here's a repo that has my working directory in it: benmoss/op-gh-repro

Unfortunately it looks like this bug is in the op CLI itself which is closed-source AFAIK. go.1password.io/op/op-cli redirects to gitlab.1password.io/dev/b5/op which is not public

I also found the same problem and reported it to the 1Password team via the support email about 2 weeks ago. They responded “I have reported this to my team for investigation, and we will do our best to resolve it as soon as possible for you”, but unfortunately, they have not resolved the issue yet.

The current workaround (that works on my machine) is:

  1. Avoid executing commands in the /tmp directory or anywhere outside your home directory.
  2. Run op plugin init service and select "Use automatically when in this directory or subdirectories" if you prefer to work on volumes separate from your home directory.

Hopefully, they can fix it one day or at least open-source this part and allow people to contribute to this component.


For 1Password engineer team, I am not sure if the support team forwards my patch to you. Let me paste the patch again:

After profiling the op CLI, I found that searchDefaultsFilelnCurrentDirRecursively under the plugin module attempts to traverse the parent directories and open files to locate the .op/plugins/<plugin>.json file before falling back to the global configuration. However, this process can be slow due to the complexity of the parent directory structure.

As there is no needs to traverse the parents to find the .op directory of the parent, I propose simplifying the searchDefaultsFilelnCurrentDirRecursively function, which would take (the worst) $O(n)$ time, where $n$ is the depth of the current directory relative to the root. Unit tests should be added to this code, but I have tested it with some hanging cases in my directory.

package main

import (
 "errors"
 "fmt"
 "os"
 "path/filepath"
 "strings"
)

func searchDefaultsFilelnCurrentDirRecursively(dir string, program string) ([]byte, error) {
 dirToCheck := filepath.Clean(dir)
 configFile := filepath.Join(".op", "plugins", program+".json")

 for len(dirToCheck) > 0 {
  configFilePath := filepath.Join(dirToCheck, configFile)

  content, err := os.ReadFile(configFilePath)
  if err == nil {
   return content, nil
  }

  dirToCheck = dirToCheck[:strings.LastIndexByte(dirToCheck, byte(os.PathSeparator))]
 }

 content, err := os.ReadFile(filepath.Join("/", configFile))
 if err == nil {
  return content, nil
 }

 return nil, errors.New("no defaults found")
}
bishopfaure commented 4 months ago

I have exactly the same issue. Running the gh command outside /tmp was the solution for me.