Environment
- Picard 3.0.1 (official macOS build, org.musicbrainz.Picard)
- macOS 27.0.1 (26A434)
- MacBook Pro, Apple Silicon (arm64)
Problem
Picard crashes repeatedly during normal use, not at startup. I have 12 crash
reports since October 8, all with Picard 3.0.1, all with the same signature.
The 3.0.1 fixes for macOS 26/27 do not seem to cover this case.
Crash signature (main thread)
- EXC_BAD_ACCESS (SIGSEGV), KERN_INVALID_ADDRESS
- objc_msgSend ← libqcocoa.dylib ← QtCore ← QtGui
QGuiApplicationPrivate::processFocusWindowEvent(…) - Triggered from an NSNotification when a window becomes key
(-[NSWindow becomeKeyWindow]). - In at least one report, this happens when a file dialog closes:
-[NSSavePanel completeWithReturnCode:url:urls:] → -[NSWindow _doOrderWindow:]
→ becomeKeyWindow → processFocusWindowEvent → crash.
It looks like the Qt Cocoa platform plugin accesses an already released
window object when the focus window changes.
When it happens
- After closing a file dialog in Picard.
- When files are sent to an already running Picard (open -a “MusicBrainz Picard” ),
and during normal use when switching windows.
log extract :
Crash report excerpt (picard-run-2026-10-10-094927.ips):
{noformat}
Picard 3.0.1 - macOS 27.0.1 (26A434) - ARM-64
Exception: EXC_BAD_ACCESS (SIGSEGV) KERN_INVALID_ADDRESS at 0x007798757a04b220
Crashed thread 0 (main thread):
0 libobjcMsgSend.dylib objc_msgSend
1 libqcocoa.dylib ???
2 libqcocoa.dylib ???
3 libqcocoa.dylib ???
4 QtCore ???
5 QtGui QGuiApplicationPrivate::processFocusWindowEvent(QWindowSystemInterfacePrivate::FocusWindowEvent*)
6 QtGui ???
7 libqcocoa.dylib ???
8 QtCore QMetaMethodInvoker::invokeImpl(…)
9 QtCore QMetaMethod::invokeImpl(…)
10 libqcocoa.dylib ???
11 CoreFoundation CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER
12 CoreFoundation ___CFXRegistrationPost_block_invoke
13 CoreFoundation _CFXRegistrationPost
14 CoreFoundation _CFXNotificationPost
15 Foundation -[NSNotificationCenter postNotificationName:object:userInfo:]
16 AppKit -[NSWindow becomeKeyWindow]
17 AppKit -[NSWindow _changeKeyAndMainLimitedOK:]
18 AppKit -[NSWindow _orderOut:calculatingKeyWithOptions:documentWindow:]
19 AppKit NSPerformVisuallyAtomicChange
20 AppKit -[NSWindow _reallyDoOrderWindowOutRelativeTo:]
21 AppKit -[NSWindow _reallyDoOrderWindow:]
22 AppKit -[NSSavePanel _reallyDoOrderWindow:]
23 AppKit -[NSWindow _doOrderWindow:]
24 AppKit -[NSSavePanel completeWithReturnCode:url:urls:]
25 AppKit -[NSSavePanel observeMostRecentCompletion:]
26 AppKit -[NSSavePanel observeValueForKeyPath:ofObject:change:context:]
{noformat}
All 12 crash reports since Oct 8 share frames 0-16 (processFocusWindowEvent after becomeKeyWindow).
Full .ips files available on request.