macOS crash: MonitorClipboardChanges force-unwraps nil CGWindowListCopyWindowInfo result

Akiflow 2.74.21 on macOS 26.5.2 repeatedly crashes its MonitorClipboardChanges helper with EXC_BREAKPOINT / SIGTRAP.

Static analysis confirms WindowUtilities.getActiveWindowDetail() calls CGWindowListCopyWindowInfo, then branches to Swift brk #1 when the result is nil. The trap address exactly matches the crash reports.

Expected behavior: when CoreGraphics returns no window list, return no active-window metadata instead of force-unwrapping / trapping.

Workaround: disable MonitorClipboardChanges, which removes clipboard and foreground-window metadata.

I can provide the crash reports and disassembly evidence if useful.

Please authenticate to join the conversation.

Upvoters
Board

Features & Improvements Request

Date

About 2 hours ago

Author

Un-tiong

Subscribe to post

Get notified by email when there are changes.