Re: Universal AUs
Re: Universal AUs
- Subject: Re: Universal AUs
- From: Adrian Pflugshaupt <email@hidden>
- Date: Tue, 24 Jan 2006 13:10:51 +0100
Thanks to very friendly help from Floris Klinkert I finally figured
out a "solution". It's actually Floris' solution, as he had the same
problem a few month ago. Turns out the problem is not related to
universal binaries at all but to Ableton Live.
The crash seemingly comes from calling CFPreferencesCopyAppValue
(CFStringRef key, CFStringRef applicationID) inside Ableton Live and
using the CFSTR() macro for the applicationID parameter. It only
happens with native XCode targets. To avoid the situation one of the
CFStringCreate... functions can be used to create a CFString object
temporarily which can be released after the CFPreferences calls.
This is one of the weirdest crashes I came along in a long time and
it would be nice to know more about the real reasons. Maybe the CFSTR
() macro is somehow flawed, but that seems unlikely... It seems much
more probable that there's a slight bug in Ableton Live which puts
the OSX Preferences manager in a weird state leading to that crash -
which only happens in about 50% of my trials, but once even resulted
in a total system freeze.
Cheers,
Adrian
Interesting - I've been getting this crash a lot recently, when
trying to make a VST version of one of my AUs. I was wondering
whether it was related to me having recently moved to OS X 10.4.4.
I'm also building with gcc 3.3, against the 10.2.8 SDK. I'm not
attempting to make a Universal Binary, just a regular ppc one.
Do let me know if you get to the bottom of this.
cheers,
os.
On ppc the resulting AU crashes inside (for instants) Ableton Live
and the error is happening inside "_CFEqual" which is called from a
"CFPreferencesCopyAppValue()". Debug output of the call showed that
the parameters are OK and after many trials I came to the conclusion
that something goes wrong during compilation.
_______________________________________________
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