Re: Auval real time safety check
Re: Auval real time safety check
- Subject: Re: Auval real time safety check
- From: Markus Fritze via Coreaudio-api <email@hidden>
- Date: Mon, 22 Jan 2024 12:30:01 +0100
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
> <email@hidden> 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 <email@hidden>
> Sent: Friday, January 19, 2024 10:38:42 PM
> To: CoreAudio API <email@hidden>
> 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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden