> Am 18.11.2019 um 04:43 schrieb Patryk Laurent <plaur...@me.com>:
>
> On a fresh install of Ubuntu 19.04 building from the current master base and
> GUI, I get an occasional odd error in a simple NSAlert GUI program:
>
> “Uncaught exception NSInternalInconsistencyException, reason: registration
> with registered client.”
>
> This error text sometimes appears in a GUI window, and sometimes at the
> terminal (see screenshots, attached).
>
> Does anyone know where this error would be coming from or what it is caused
> by?
The error message itself is coming from NSDistributedNotificationCenter and it
looks like it's caused by a race condition when two threads in your program are
adding an observer to the distribution notification center at about the same
time.
Wolfgang