[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Occasional NSInternalInconsistencyException
From: |
Wolfgang Lux |
Subject: |
Re: Occasional NSInternalInconsistencyException |
Date: |
Mon, 18 Nov 2019 18:16:21 +0100 |
> Am 18.11.2019 um 04:43 schrieb Patryk Laurent <address@hidden>:
>
> 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