koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
23.71k stars 647 forks source link

yabai: scripting-addition failed to inject payload into Dock.app! Exception EXC_GUARD (SIGKILL) GUARD_TYPE_MACH_PORT #2155

Closed nelaaro closed 7 months ago

nelaaro commented 7 months ago

Probably a duplicate of this issue

scripting addition does not support macOS Sonoma 14.4 #2150 https://github.com/koekeishiya/yabai/issues/2150

I am including all the steps I followed as well as the output so people who are searching via a search engine can find the issue. I haven't tried the new source/master code as specified in the issue linked above.

❯ yabai --install-service
yabai: service file '/Users/aaron/Library/LaunchAgents/com.koekeishiya.yabai.plist' is already installed! abort..

❯ yabai --uninstall-service

❯ yabai --install-service

❯ yabai --uninstall-sa
yabai: scripting-addition must be uninstalled as root!

❯ sudo yabai --uninstall-sa

❯ file /Library/ScriptingAdditions/yabai.osax/Contents/MacOS/mach_loader
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/mach_loader: cannot open `/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/mach_loader' (No such file or directory)

❯ find /Library/ScriptingAdditions/
/Library/ScriptingAdditions/

❯ find /Library/ScriptingAdditions/ya^C

❯ sudo yabai --install-sa
yabai: '--install-sa' is not a valid option!

❯ sudo yabai --load-sa

❯ sudo yabai --load-sa
yabai: scripting-addition failed to inject payload into Dock.app!

yabai -V
process_create: loginwindow is blacklisted! ignoring..
process_create: universalaccessd is blacklisted! ignoring..
process_create: WindowManager is blacklisted! ignoring..
process_create: CoreServicesUIAgent is blacklisted! ignoring..
process_create: SystemUIServer is blacklisted! ignoring..
process_create: BackgroundTaskManagementAgent is blacklisted! ignoring..
process_create: Control Centre is blacklisted! ignoring..
process_create: talagent is blacklisted! ignoring..
process_manager_add_running_processes: Finder (840) was found! caching psn..
process_create: CoreLocationAgent is blacklisted! ignoring..
process_create: Wallpaper is blacklisted! ignoring..
process_create: Notification Centre is blacklisted! ignoring..
process_create: Single Sign-On is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: xpc service detected! ignoring..
process_create: chronod is blacklisted! ignoring..
process_create: Wi-Fi is blacklisted! ignoring..
process_create: UIKitSystem is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: com.apple.PressAndHold is blacklisted! ignoring..
process_create: Spotlight is blacklisted! ignoring..
process_create: AirPlayUIAgent is blacklisted! ignoring..
process_create: TextInputMenuAgent is blacklisted! ignoring..
process_create: TextInputSwitcher is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: SoftwareUpdateNotificationManager is blacklisted! ignoring..
process_create: AppSSODaemon is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: studentd is blacklisted! ignoring..
process_create: coreautha is blacklisted! ignoring..
process_create: skhd is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: Dock is blacklisted! ignoring..
process_create: xpc service detected! ignoring..
process_create: xpc service detected! ignoring..
process_create: yabai is blacklisted! ignoring..
window_manager_create_and_add_window:338 PingID -  (AXWindow:AXStandardWindow:1)
window_manager_add_existing_application_windows: Brave Browser has windows that are not yet resolved
window_manager_create_and_add_window:118 Cisco AnyConnect Secure Mobility Client -  (AXWindow:AXUnknown:1)
window_manager_create_and_add_window: ignoring AXUnknown window Cisco AnyConnect Secure Mobility Client 118
window_manager_create_and_add_window:202 Alacritty - ~ (AXWindow:AXStandardWindow:1)
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXCreatedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXFocusedWindowChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXWindowMovedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXWindowResizedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXTitleChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXMenuOpenedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'open' and notification 'kAXMenuClosedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXCreatedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXFocusedWindowChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXWindowMovedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXWindowResizedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXTitleChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXMenuOpenedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'Microsoft Teams classic Helper (Renderer)' and notification 'kAXMenuClosedNotification'
window_manager_create_and_add_window:184 Alacritty - yabai -V ~ (AXWindow:AXStandardWindow:1)
window_manager_add_existing_application_windows: deemd has windows that are not yet resolved
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXCreatedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXFocusedWindowChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXWindowMovedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXWindowResizedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXTitleChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXMenuOpenedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'nxtusm' and notification 'kAXMenuClosedNotification'
window_manager_create_and_add_window:235 Microsoft Teams classic - Calendar | Microsoft Teams classic (AXWindow:AXStandardWindow:1)
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXCreatedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXFocusedWindowChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXWindowMovedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXWindowResizedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXTitleChangedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXMenuOpenedNotification'
application_observe: error 'kAXErrorCannotComplete' for application 'IntuneMdmAgent' and notification 'kAXMenuClosedNotification'
EVENT_HANDLER_DAEMON_MESSAGE: signal --add event=dock_did_restart action=sudo yabai --load-sa
yabai: scripting-addition failed to inject payload into Dock.app!
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_follows_focus on
EVENT_HANDLER_DAEMON_MESSAGE: config focus_follows_mouse autoraise
EVENT_HANDLER_DAEMON_MESSAGE: config window_origin_display focused
EVENT_HANDLER_DAEMON_MESSAGE: config window_placement second_child
EVENT_HANDLER_DAEMON_MESSAGE: config window_shadow off
EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity off
EVENT_HANDLER_DAEMON_MESSAGE: config active_window_opacity 1.0
EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_opacity 0.90
EVENT_HANDLER_DAEMON_MESSAGE: config insert_feedback_color 0xffd75f5f
EVENT_HANDLER_DAEMON_MESSAGE: config split_ratio 0.50
EVENT_HANDLER_DAEMON_MESSAGE: config split_type vertical
EVENT_HANDLER_DAEMON_MESSAGE: config auto_balance off
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_modifier fn
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action1 move
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action2 resize
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_drop_action swap
EVENT_HANDLER_DAEMON_MESSAGE: config auto_balance off
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_modifier fn
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action1 move
EVENT_HANDLER_APPLICATION_LAUNCHED: Problem Reporter (8487) is not finished launching, subscribing to finishedLaunching changes
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action2 resize
EVENT_HANDLER_DAEMON_MESSAGE: config mouse_drop_action swap
-[workspace_context observeValueForKeyPath:ofObject:change:context:]: Problem Reporter (8487) finished launching
EVENT_HANDLER_APPLICATION_LAUNCHED: Problem Reporter (8487)
window_manager_create_and_add_window:590 Problem Reporter - Problem Report for loader (AXWindow:AXStandardWindow:1)
EVENT_HANDLER_DAEMON_MESSAGE: config layout stack
EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: Problem Reporter (8487)
EVENT_HANDLER_WINDOW_RESIZED: Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED:DEBOUNCED Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED: Problem Reporter 590
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED:DEBOUNCED Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 184
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED:DEBOUNCED Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 202
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 202
EVENT_HANDLER_WINDOW_RESIZED:DEBOUNCED Alacritty 202
EVENT_HANDLER_DAEMON_MESSAGE: config top_padding 3
EVENT_HANDLER_WINDOW_RESIZED: Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED: Problem Reporter 590
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 184
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 202
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 202
EVENT_HANDLER_DAEMON_MESSAGE: config bottom_padding 3
EVENT_HANDLER_WINDOW_RESIZED: Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED: Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 202
EVENT_HANDLER_DAEMON_MESSAGE: config left_padding 3
EVENT_HANDLER_WINDOW_RESIZED: Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED: Problem Reporter 590
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 184
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 202
EVENT_HANDLER_WINDOW_MOVED:DEBOUNCED Alacritty 202
EVENT_HANDLER_DAEMON_MESSAGE: config right_padding 3
EVENT_HANDLER_WINDOW_RESIZED: Microsoft Teams classic 235
EVENT_HANDLER_WINDOW_RESIZED: Problem Reporter 590
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 184
EVENT_HANDLER_WINDOW_RESIZED: Alacritty 202
EVENT_HANDLER_DAEMON_MESSAGE: config window_gap 03
EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=^(Calculator|Authy Desktop|Postgres|VLC|System Preferences|IINA|QuickTime Player|Stickies)(Copy|Bin|About This Mac|Info|Finder Preferences|Preferences|iMazing HEIC Converter|AppCleaner|Stickies|1Password 7|VeraCrypt|Tunnelblick|WireGuard|Logi Options|JetBrains Toolbox|Logi Options\+)$ manage=off
yabai configuration loaded..
EVENT_HANDLER_DAEMON_MESSAGE: space --focus 5
EVENT_HANDLER_MISSION_CONTROL_SHOW_ALL_WINDOWS:
EVENT_HANDLER_MISSION_CONTROL_EXIT:
EVENT_HANDLER_SPACE_CHANGED: 8

...
EVENT_HANDLER_DAEMON_MESSAGE: window --focus stack.prev
EVENT_HANDLER_DAEMON_MESSAGE: window --focus stack.last
EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: Alacritty (4420)
EVENT_HANDLER_DAEMON_MESSAGE: space --focus 5
EVENT_HANDLER_DAEMON_MESSAGE: space --focus 6
EVENT_HANDLER_DAEMON_MESSAGE: space --focus 4
EVENT_HANDLER_MOUSE_DOWN: 202 2072.80, 1095.92
EVENT_HANDLER_MOUSE_DRAGGED: 2072.57, 1095.92
EVENT_HANDLER_MOUSE_DRAGGED: 2070.19, 1095.45
EVENT_HANDLER_MOUSE_DRAGGED: 2064.77, 1094.24
EVENT_HANDLER_MOUSE_DRAGGED: 2058.58, 1093.62
EVENT_HANDLER_MOUSE_DRAGGED: 2050.11, 1092.31

###########3 skhd

==> /tmp/skhd_aaron.err.log <==
could not locate the next stacked window.
could not locate the prev stacked window.
cannot focus space due to an error with the scripting-addition.
cannot focus space due to an error with the scripting-addition.
cannot focus an already focused space.

exception

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               loader [8474]
Path:                  /Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader
Identifier:            com.koekeishiya.yabai-osax
Version:               2.0.28 (2.0.28)
Code Type:             ARM-64 (Native)
Parent Process:        yabai [8473]
User ID:               0

Date/Time:             2024-03-11 11:36:15.2016 +0100
OS Version:            macOS 14.4 (23E214)
Report Version:        12
Anonymous UUID:        8A1A26A8-E4E2-B76F-35F9-3CAB918DECB4

Time Awake Since Boot: 2600 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_GUARD (SIGKILL)
Exception Codes:       GUARD_TYPE_MACH_PORT
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace GUARD, Code 2305843030688530432

External Modification Warnings:
Process used task_for_pid().

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                 0x18677a1f4 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x18678cb24 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1867a938c thread_set_state + 260
3   loader                                 0x100f3f820 main + 1116
4   dyld                                   0x1864320e0 start + 2360

Thread 1:
0   libsystem_pthread.dylib                0x1867b5d20 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000200000003   x2: 0x0000014000001513   x3: 0x0000070700001203
    x4: 0x00000e1400000000   x5: 0x0000070700000000   x6: 0x000000000000002c   x7: 0x0000000000000000
    x8: 0xfffffffffffffbbf   x9: 0x0000000000000140  x10: 0x00000000ffffebbe  x11: 0x000000016eec31c0
  x12: 0x0000000000000000  x13: 0x0000000000000001  x14: 0x0000000000000001  x15: 0x00000001ee4e8238
  x16: 0xffffffffffffffd1  x17: 0x0000000100f40060  x18: 0x0000000000000000  x19: 0x0000000000000000
  x20: 0x000000000000002c  x21: 0x0000070700000000  x22: 0x00000e1400000000  x23: 0x0000070700001203
  x24: 0x000000016eec1f28  x25: 0x0000014000001513  x26: 0x0000000200000003  x27: 0x0000000200000003
  x28: 0x0000000000000000   fp: 0x000000016eec1f10   lr: 0x000000018678cb24
    sp: 0x000000016eec1ec0   pc: 0x000000018677a1f4 cpsr: 0x80001000
  far: 0x0000000000000000  esr: 0x56000080  Address size fault

Binary Images:
      0x100f3c000 -        0x100f3ffff com.koekeishiya.yabai-osax (2.0.28) <e02e5f67-38f5-383c-b212-2340510079ce> /Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader
      0x186779000 -        0x1867b3ffb libsystem_kernel.dylib (*) <1889ce0a-52e7-3122-8907-81af920ac472> /usr/lib/system/libsystem_kernel.dylib
      0x18642c000 -        0x1864b49db dyld (*) <8e1e5ee2-f89a-33a7-bb0a-74bdc06b7828> /usr/lib/dyld
              0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
      0x1867b4000 -        0x1867c0fff libsystem_pthread.dylib (*) <45239f06-cc53-36d0-9933-7776ac7ea2fa> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 1
    thread_create: 1
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 8
    thread_create: 8
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=766.8M resident=0K(0%) swapped_out_or_unallocated=766.8M(100%)
Writable regions: Total=531.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=531.2M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
Kernel Alloc Once                   32K        1
MALLOC                           522.2M       12
MALLOC guard page                   96K        6
STACK GUARD                       56.0M        2
Stack                             8720K        2
__AUTH                             729K      165
__AUTH_CONST                      12.7M      306
__DATA                            3051K      293
__DATA_CONST                      15.6M      309
__DATA_DIRTY                       698K      104
__FONT_DATA                          4K        1
__LINKEDIT                       525.4M        2
__OBJC_RO                         71.7M        1
__OBJC_RW                         2195K        1
__TEXT                           241.5M      322
dyld private memory                272K        2
mapped file                         64K        1
shared memory                      160K        3
===========                     =======  =======
TOTAL                              1.4G     1534

-----------
Full Report
-----------

{"app_name":"loader","timestamp":"2024-03-11 11:36:15.00 +0100","app_version":"2.0.28","sroute_id":12,"slice_uuid":"e02e5f67-38f5-383c-b212-2340510079ce","build_version":"2.0.28","platform":1,"bundleID":"com.koekeishiya.yabai-osax","share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.4 (23E214)","roots_installed":0,"name":"loader","incident_id":"B336ED50-0904-4781-AAA9-097475FB7A9A"}
{
  "uptime" : 2600,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 0,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro17,1",
  "coalitionID" : 2598,
  "osVersion" : {
    "train" : "macOS 14.4",
    "build" : "23E214",
    "releaseType" : "User"
  },
  "captureTime" : "2024-03-11 11:36:15.2016 +0100",
  "codeSigningMonitor" : 1,
  "incident" : "B336ED50-0904-4781-AAA9-097475FB7A9A",
  "pid" : 8474,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-03-11 11:36:15.1690 +0100",
  "procStartAbsTime" : 64652786763,
  "procExitAbsTime" : 64653563797,
  "procName" : "loader",
  "procPath" : "\/Library\/ScriptingAdditions\/yabai.osax\/Contents\/MacOS\/loader",
  "bundleInfo" : {"CFBundleShortVersionString":"2.0.28","CFBundleVersion":"2.0.28","CFBundleIdentifier":"com.koekeishiya.yabai-osax"},
  "parentProc" : "yabai",
  "parentPid" : 8473,
  "coalitionName" : "org.alacritty",
  "crashReporterKey" : "8A1A26A8-E4E2-B76F-35F9-3CAB918DECB4",
  "responsiblePid" : 2406,
  "codeSigningID" : "com.koekeishiya.yabai-osax",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570425345,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"ARAA1MADX9aQBYCSARAA1MADX9awBYCSARAA1MADX9bQBYCSARAA1A==","atPC":"wANf1vAFgJIBEADUwANf1hAGgJIBEADUwANf1jAGgJIBEADUwANf1g=="},
  "sip" : "disabled",
  "sroute_id" : 12,
  "exception" : {"port":0,"signal":"SIGKILL","guardId":0,"codes":"0x0000000000000000, 0x0000000000000000","violations":["THREAD_SET_STATE"],"message":" THREAD_SET_STATE on mach port 0 (guarded with 0x0000000000000000)","subtype":"GUARD_TYPE_MACH_PORT","type":"EXC_GUARD","rawCodes":[0,0]},
  "termination" : {"namespace":"GUARD","flags":2,"code":2305843030688530432},
  "extMods" : {"caller":{"thread_create":1,"thread_set_state":0,"task_for_pid":1},"system":{"thread_create":8,"thread_set_state":0,"task_for_pid":8},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":1},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":65211,"threadState":{"x":[{"value":0},{"value":8589934595},{"value":1374389540115},{"value":7726646170115},{"value":15479062134784},{"value":7726646165504},{"value":44},{"value":0},{"value":18446744073709550527},{"value":320},{"value":4294962110},{"value":6155940288},{"value":0},{"value":1},{"value":1},{"value":8293089848,"symbolLocation":0,"symbol":"OBJC_CLASS_$_NSLock"},{"value":18446744073709551569},{"value":4310958176},{"value":0},{"value":0},{"value":44},{"value":7726646165504},{"value":15479062134784},{"value":7726646170115},{"value":6155935528},{"value":1374389540115},{"value":8589934595},{"value":8589934595},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6551030564},"cpsr":{"value":2147487744},"fp":{"value":6155935504},"sp":{"value":6155935424},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6550954484,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4596,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":80676,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":1},{"imageOffset":197516,"symbol":"thread_set_state","symbolLocation":260,"imageIndex":1},{"imageOffset":14368,"symbol":"main","symbolLocation":1116,"imageIndex":0},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":2}]},{"id":65212,"frames":[{"imageOffset":7456,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}],"threadState":{"x":[{"value":6156496896},{"value":5635},{"value":6155960320},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6156496896},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6551199008},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4310941696,
    "CFBundleShortVersionString" : "2.0.28",
    "CFBundleIdentifier" : "com.koekeishiya.yabai-osax",
    "size" : 16384,
    "uuid" : "e02e5f67-38f5-383c-b212-2340510079ce",
    "path" : "\/Library\/ScriptingAdditions\/yabai.osax\/Contents\/MacOS\/loader",
    "name" : "loader",
    "CFBundleVersion" : "2.0.28"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6550949888,
    "size" : 241660,
    "uuid" : "1889ce0a-52e7-3122-8907-81af920ac472",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6547488768,
    "size" : 559580,
    "uuid" : "8e1e5ee2-f89a-33a7-bb0a-74bdc06b7828",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6551191552,
    "size" : 53248,
    "uuid" : "45239f06-cc53-36d0-9933-7776ac7ea2fa",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 6546735104,
  "size" : 4189880320,
  "uuid" : "664c17e3-f7ed-3226-8594-589aa9bf8fd2"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=766.8M resident=0K(0%) swapped_out_or_unallocated=766.8M(100%)\nWritable regions: Total=531.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=531.2M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           522.2M       12 \nMALLOC guard page                   96K        6 \nSTACK GUARD                       56.0M        2 \nStack                             8720K        2 \n__AUTH                             729K      165 \n__AUTH_CONST                      12.7M      306 \n__DATA                            3051K      293 \n__DATA_CONST                      15.6M      309 \n__DATA_DIRTY                       698K      104 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       525.4M        2 \n__OBJC_RO                         71.7M        1 \n__OBJC_RW                         2195K        1 \n__TEXT                           241.5M      322 \ndyld private memory                272K        2 \nmapped file                         64K        1 \nshared memory                      160K        3 \n===========                     =======  ======= \nTOTAL                              1.4G     1534 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "5255c2461653b988d7ef22337474eb361d1d2f1d",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000508
    },
    {
      "rolloutId" : "654439cdafbf5b61207873a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro17,1, BootROM 10151.101.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Display: HP E24q G4, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 13 2024 03:06:59 version 18.20.440.9.7.8.167 FWID 01-7be24857
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB3.1 Hub
USB Device: AX88179A
USB Device: USB2.0 Hub
USB Device: USB2.1 Hub
USB Device: Microsoft Ergonomic Keyboard
USB Device: HP 128 Laser Wired Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

❯ file /Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader (for architecture x86_64): Mach-O 64-bit executable x86_64
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader (for architecture arm64e): Mach-O 64-bit executable arm64e

❯ file /Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader (for architecture x86_64): Mach-O 64-bit executable x86_64
/Library/ScriptingAdditions/yabai.osax/Contents/MacOS/loader (for architecture arm64e): Mach-O 64-bit executable arm64e

❯ file /Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS/payload
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS/payload: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm64e:Mach-O 64-bit dynamically linked shared library arm64e]
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS/payload (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS/payload (for architecture arm64e): Mach-O 64-bit dynamically linked shared library arm64e

❯ yabai --version
yabai-v6.0.15

❯ sw_vers
ProductName:        macOS
ProductVersion:     14.4
BuildVersion:       23E214

❯ find /Library/ScriptingAdditions/yabai.osax/Contents/
/Library/ScriptingAdditions/yabai.osax/Contents/
/Library/ScriptingAdditions/yabai.osax/Contents//_CodeSignature
/Library/ScriptingAdditions/yabai.osax/Contents//_CodeSignature/CodeResources
/Library/ScriptingAdditions/yabai.osax/Contents//MacOS
/Library/ScriptingAdditions/yabai.osax/Contents//MacOS/loader
/Library/ScriptingAdditions/yabai.osax/Contents//Resources
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/_CodeSignature
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/_CodeSignature/CodeResources
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/MacOS/payload
/Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/Info.plist
/Library/ScriptingAdditions/yabai.osax/Contents//Info.plist

❯ cat /Library/ScriptingAdditions/yabai.osax/Contents//Resources/payload.bundle/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>payload</string>
<key>CFBundleIdentifier</key>
<string>com.koekeishiya.yabai-sa</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>payload</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.0.28</string>
<key>CFBundleVersion</key>
<string>2.0.28</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 Åsmund Vikane. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>⏎

❯ cat /Library/ScriptingAdditions/yabai.osax/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>loader</string>
<key>CFBundleIdentifier</key>
<string>com.koekeishiya.yabai-osax</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>yabai</string>
<key>CFBundlePackageType</key>
<string>osax</string>
<key>CFBundleShortVersionString</key>
<string>2.0.28</string>
<key>CFBundleVersion</key>
<string>2.0.28</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 Åsmund Vikane. All rights reserved.</string>
<key>OSAXHandlers</key>
<dict>
</dict>
</dict>
</plist>
nelaaro commented 7 months ago

https://github.com/koekeishiya/yabai/issues/2146

I see there was an issue logged with the trace output as well.