koekeishiya / yabai

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

Semi-regular Dock-crashes on load-sa. Sonoma 14.5 #2332

Open EkstraOst opened 3 months ago

EkstraOst commented 3 months ago

13inch 2020 MacBook Pro running Sonoma 14.5. I regularly get crashes; Dock, siriknowledged, launchserviced. Dock crashes are most prevalent when yabai is loading scripting addition. Sometimes no problem, and sometimes will crash dock repeatedly when --restarting-service or on startup.

Any advice?

Most recent crashreport from console.app:

Process: Dock [13280] Path: /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock Identifier: com.apple.dock Version: 1.8 (2273.105) Build Info: Dock-2273105000000000~396 Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-06-21 10:03:52.7999 +0200 OS Version: macOS 14.5 (23F79) Report Version: 12 Bridge OS Version: 8.5 (21P5077) Anonymous UUID: 720D5B48-16E7-1A0D-FDF8-753202CC0372

Time Awake Since Boot: 30000 seconds

System Integrity Protection: disabled

Crashed Thread: 2

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4 Terminating Process: exc handler [13280]

External Modification Warnings: Thread creation by external task.

Application Specific Information: CFRelease() called with NULL

Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff807dd93ce mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff807de7c88 mach_msg2_internal + 84 2 libsystem_kernel.dylib 0x7ff807de0510 mach_msg_overwrite + 653 3 libsystem_kernel.dylib 0x7ff807dd96bd mach_msg + 19 4 CoreFoundation 0x7ff807ef61c5 CFRunLoopServiceMachPort + 143 5 CoreFoundation 0x7ff807ef4c35 CFRunLoopRun + 1371 6 CoreFoundation 0x7ff807ef4112 CFRunLoopRunSpecific + 557 7 Dock 0x1022a9b99 0x102167000 + 1321881 8 Dock 0x10216d431 0x102167000 + 25649 9 dyld 0x7ff807a8d366 start + 1942

Thread 1:: com.apple.dock.animation 0 libsystem_kernel.dylib 0x7ff807ddbf7a __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff807e196f3 _pthread_cond_wait + 1211 2 Dock 0x10217ee1d 0x102167000 + 97821 3 libsystem_pthread.dylib 0x7ff807e1918b _pthread_start + 99 4 libsystem_pthread.dylib 0x7ff807e14ae3 thread_start + 15

Thread 2 Crashed: 0 CoreFoundation 0x7ff80804cd2f CFRelease.cold.1 + 14 1 CoreFoundation 0x7ff807e83a3d CFRelease + 70 2 payload 0x10618fa47 handle_connection + 3623 3 libsystem_pthread.dylib 0x7ff807e1918b _pthread_start + 99 4 libsystem_pthread.dylib 0x7ff807e14ae3 thread_start + 15

Thread 3: 0 libsystem_pthread.dylib 0x7ff807e14ac0 start_wqthread + 0

Thread 4: 0 libsystem_pthread.dylib 0x7ff807e14ac0 start_wqthread + 0

Thread 2 crashed with X86 Thread State (64-bit): rax: 0x00007ff8081e0d50 rbx: 0x00006000001d6400 rcx: 0x00007000062cf9d0 rdx: 0x00007000062cff10 rdi: 0x0000000000000000 rsi: 0x00007ff827dd483a rbp: 0x00007000062ce960 rsp: 0x00007000062ce948 r8: 0x0000000000000010 r9: 0x000000000000204a r10: 0x00007fa9b1038260 r11: 0x00007ff818534b30 r12: 0x0000000000000028 r13: 0x0000000000000005 r14: 0x0000000000000000 r15: 0x0000000000000000 rip: 0x00007ff80804cd2f rfl: 0x0000000000010246 cr2: 0x0000000000000000

Logical CPU: 7 Error Code: 0x00000000 Trap Number: 6

Thread 2 instruction stream: 41 0f 0b 55 48 89 e5 53-50 49 89 c8 48 89 d1 48 A..UH..SPI..H..H 89 fb 48 85 f6 75 18 48-8d 15 92 45 19 00 be 00 ..H..u.H...E.... 01 00 00 48 89 df 31 c0-e8 d4 7a 00 00 eb 1a 4c ...H..1...z....L 8b 4e 08 48 8d 15 43 45-19 00 be 00 01 00 00 48 .N.H..CE.......H 89 df 31 c0 e8 b8 7a 00-00 48 89 1d 99 3e 5d 41 ..1...z..H...>]A 0f 0b 48 8d 05 28 40 19-00 48 89 05 89 3e 5d 41 ..H..(@..H...>]A [0f]0b 48 8d 05 3d 40 19-00 48 89 05 79 3e 5d 41 ..H..=@..H..y>]A <== 0f 0b 48 8d 05 61 40 19-00 48 89 05 69 3e 5d 41 ..H..a@..H..i>]A 0f 0b 48 8d 05 ad 40 19-00 48 89 05 59 3e 5d 41 ..H...@..H..Y>]A 0f 0b 48 8d 05 fa 40 19-00 48 89 05 49 3e 5d 41 ..H...@..H..I>]A 0f 0b 48 8d 05 16 41 19-00 48 89 05 39 3e 5d 41 ..H...A..H..9>]A 0f 0b 48 8d 05 1f 41 19-00 48 89 05 29 3e 5d 41 ..H...A..H..)>]A

Binary Images: 0x106114000 - 0x10612afff com.apple.security.csparser (3.0) <0c023137-d800-3c4d-942f-c41bb63a4ae9> /System/Library/Frameworks/Security.framework/Versions/A/PlugIns/csparser.bundle/Contents/MacOS/csparser 0x10618c000 - 0x106193fff com.koekeishiya.yabai-sa (2.1.10) <94ca7f11-1a11-3f15-aa53-521b2b315fc7> /Library/ScriptingAdditions/yabai.osax/Contents/Resources/payload.bundle/Contents/MacOS/payload 0x102a41000 - 0x102a4dfff libobjc-trampolines.dylib () /usr/lib/libobjc-trampolines.dylib 0x102167000 - 0x1024cdfff com.apple.dock (1.8) /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock 0x7ff807dd8000 - 0x7ff807e12ff7 libsystem_kernel.dylib () <13597eeb-2ea0-3d48-8be1-dfc4872a784b> /usr/lib/system/libsystem_kernel.dylib 0x7ff807e7a000 - 0x7ff808314ffc com.apple.CoreFoundation (6.9) <59d4644f-7aa6-3767-80ab-73d7a388a4ff> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff807a87000 - 0x7ff807b17b9f dyld () /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? 0x7ff807e13000 - 0x7ff807e1eff7 libsystem_pthread.dylib () <25b2f3eb-07b4-3cb9-9457-2c26210c27c8> /usr/lib/system/libsystem_pthread.dylib 0x7ff8184b8000 - 0x7ff818969fff libswiftCore.dylib () <37e40068-5079-36e0-b908-daf2333cc726> /usr/lib/swift/libswiftCore.dylib

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

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 ColorSync 240K 29 CoreAnimation 4100K 26 CoreGraphics 24K 3 Foundation 904K 13 Image IO 12K 3 Kernel Alloc Once 8K 1 MALLOC 612.4M 128 MALLOC guard page 32K 8 Memory Tag 244 4K 1 Memory Tag 246 2304K 9 Memory Tag 248 768K 3 Memory Tag 249 288K 11 QuickLook Thumbnails 256K 1 SQLite page cache 7680K 60 STACK GUARD 56.0M 5 Stack 10.0M 6 VM_ALLOCATE 3668K 30 CTF 824 1 DATA 24.4M 463 DATA_CONST 25.6M 299 __DATA_DIRTY 1137K 165 FONT_DATA 2352 1 LINKEDIT 180.6M 6 OBJC_RO 71.8M 1 __OBJC_RW 2200K 2 __TEXT 422.3M 487 dyld private memory 260K 2 mapped file 51.7M 15 shared memory 804K 20 =========== ======= ======= TOTAL 1.4G 1801