Skip to main content

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.

Status: Closed

Log in to comment and vote

No comments yet

Be the first to share your thoughts.