Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studio One 6 crashes with IPlug2 AUv2 #1035

Open
hor-net opened this issue Dec 4, 2023 · 2 comments
Open

Studio One 6 crashes with IPlug2 AUv2 #1035

hor-net opened this issue Dec 4, 2023 · 2 comments

Comments

@hor-net
Copy link
Contributor

hor-net commented Dec 4, 2023

Studio One 6 crashes when loading IPlugEffect AUv2

To Reproduce
Build IPlugEffect-macOS in Xcode, select the target macOS-AUv2.
Open Studio One 6 (tested with Studio one 6.5.1) and load IPlugEffect on a new track

Expected behaviour
the plugin should load fine

IMPORTANT DETAILS

  • AUv2
  • macOS (both intel and apple silicon)
  • IGRAPHICS_BACKEND ALL

Additional context
It seems like there is a crash in the AttachBuffers when Plug tries to copy the AU Buffers to its own internal storage, here's the stack trace:

#0 0x0000000132de5806 in void iplug::CastCopy<float, double>(double*, float*, int) at IPlugUtilities.h:151
#1 0x0000000132de5773 in iplug::IPlugProcessor::AttachBuffers(iplug::ERoute, int, int, float**, int) at IPlugProcessor.cpp:481
#2 0x0000000132db639b in iplug::IPlugAU::RenderProc(void*, unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*) at IPlugAU.cpp:1683
#3 0x0000000132db0aeb in iplug::IPlugAU::DoRender(iplug::IPlugAU*, unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*) at IPlugAU.cpp:2440
#4 0x0000000132db8d83 in iplug::IPlugAU::AUMethodRender(void*, unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*) at IPlugAU.cpp:2208

the pointer pSrc is NULL when the crash happens.

On a side note Studio one 5 works perfectly so there is something that Presonus changed in their implementation, I've already wrote to my contact at Presonus to have some help.

@olilarkin
Copy link
Member

thanks, reproduced

@hor-net
Copy link
Contributor Author

hor-net commented Dec 5, 2023

Presonus admit a bug with their AU implementation in Studio One 6.5.1, the say to use VST or stick to 6.5.0. A fix is planned for the beginning of 2024.

We tested our IPlug2 plugins with S1 6.5.0 and they work fine there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants