GainPlugin example - Logic Pro 10.7.9 Crashes on play-pause-play

All the audio effect plugin examples seem to be crashing.
Once I load the plugin into the Audio Effect slot, hit start playback, pause and then start playback again (in that sequence) Logic Pro crashes with the message -

" An Audio Unit plug-in reported a problem which might cause the system to become unstable. Please quit and restart Logic Pro."


Cant really make a sense out of the console log -

AUHostingServiceClient.mm:227 [AUHostingService Client] connection interrupted.

rt_sender::signal_wait failed: 89

CGSWindowShmemCreateWithPort failed on port 0

CGSWindowShmemCreateWithPort failed on port 0

AUHostingServiceClient.mm:231 [AUHostingService Client] connection invalidated.

AUv3Instance.mm:1,161 Invalid property id 1,843 (scope 0, element 0)

AUv3Instance.mm:1,404 Invalid property id 29 (scope 0, element 0, size 4)

AUOOPWorkgroups.mm:317 Copying workgroup port failed (22)

AUv3Instance.mm:897 Invalid property id 1,09,80,15,046 (scope 0, element 0)

Build target is AU.
Machine is M1pro 16" macbook Ventura 13.6.1

JUCE version 7.0.9

I’ll take a look again but I only loaded up some of our plugins yesterday in the latest version of Logic. This looks remarkably like an issue we had with workgroups some time ago. Are you 100% sure you’ve built the plugin against JUCE version 7.0.9? IIRC the commit that fixed the issue I’m thinking of is this one.

There was another commit that follows it that fixes another crash that for me at least was much less common.

Maybe just check that the code in those files looks like it matches the code from those commits?

My bad
The JUCE Paths were pointing to an older version.
Have checked the GainPlugin and NoiseGatePlugin so far.
Working like a charm.

1 Like