Are you calling UI code (like drawing) from a non-main thread? That is a strong no-no, you can not do that! Never, ever! This leads to crashes.
Markus > On Jan 22, 2024, at 11:20, support (One Red Dog Media) via Coreaudio-api > <coreaudio-api@lists.apple.com> wrote: > > H Oli > I don’t know if this is related. But.. > I have noticed a similar issue with JUCE and AUv3 when the plugin first > loads. There is some kind of thread conflict if the plugin and/or its editor > tries to notify the host that parameters have changed, i.e. in JUCE if > setStateInformation() calls setValueNotifyingHost() during the plugin startup > phase. Sorry I haven’t been able to figure out why or what that translates to > in the AU SDK as debugging AUv3 is very hard going. So, I’m currently > switching all my parameter handling to use a polling model. Massive refactor…. > Cheers > peter > From: Oliver Larkin via Coreaudio-api <coreaudio-api@lists.apple.com> > Sent: Friday, January 19, 2024 10:38:42 PM > To: CoreAudio API <coreaudio-api@lists.apple.com> > Subject: Auval real time safety check > Dear Core Audio folks, I've been experimenting with the relatively new > -real-time-safety flag on auval. > When I try and validate FilterDemoV3GenericUI (macOS) from this repo > https://github.com/apple/AudioUnit-Examples > > auval -v aufx fltg Demo -real-time-safety -stress 10 > > filterdemo-realtimesafety-test.txt > > I get a bunch of violations, the violations seem to relate to objc_msgSend() > but it looks like they might be in the AUv3 hosting code rather than the > plug-in itself. > > Here is the output of the above command: > > https://gist.github.com/olilarkin/98c87ae63485ea2c8fdf0f1ec3ecd1d0 > I get the same violations when testing iPlug2 AUv3s and I developed the > wrapper based on the apple sample code. > > Anyone know if this is fixable? > Thanks, > Oli > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Coreaudio-api mailing list (Coreaudio-api@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/coreaudio-api/mfritze%40apple.com > > This email sent to mfri...@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (Coreaudio-api@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to arch...@mail-archive.com