Warning Every time NSPopover closes on Golden Gate "Invalid attempt to open a new transaction during CA commit. This is likely to break AppKit transactional behavior. Break on NSCGSTransactionCreatedDuringCommitError to debug."

This warning logs out every time an NSPopover animates closed on macOS Golden Gate:

Warning: Invalid attempt to open a new transaction during CA commit. This is likely to break AppKit transactional behavior. Break on NSCGSTransactionCreatedDuringCommitError to debug.

I set the breakpoint but am unable to see anything useful. I hit _NSReturnCarbonMenu () just about every second with that breakpoint enabled and a bunch of lldb_unnamed_symbols.

Anyone else seeing this? Doesn't seem to be causing any issues but logs so often it is impossible to completely ignore.

That's either "Log Noise" that you should ignore, or some subtle, but critical, error that's going to break your app on a future minor OS release.

To answer your question, yes. I see it too. I also see:

Ignoring request to entangle context after pre-commit Ignoring request to entangle context after pre-commit Ignoring request to entangle context after pre-commit Entangling fence requested after pre-commit cannot add handler to 2 from 2 - dropping

As far as I know, I haven't made any such requests. I try to avoid entanglements.

PS: Just to clarify, I'm not making a joke. I recently got bit by one of those subtle errors. My app was running fine for years, but I wasn't aware that a certain API call was an out-of-process XPC request to a system service. Then, in a recent minor update to Tahoe, it stopped working when called too early in the app lifecycle. The app locked up.

I'm slowly coming to the realization that I should avoid Apple APIs whenever possible. If I can reimplement something on my own, then I should. Unfortunately, I'm running out of time more rapidly than I'm making these realizations. Popovers are known to be flaky in many respects.

Warning Every time NSPopover closes on Golden Gate "Invalid attempt to open a new transaction during CA commit. This is likely to break AppKit transactional behavior. Break on NSCGSTransactionCreatedDuringCommitError to debug."
 
 
Q