• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Universal AUs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Re: Universal AUs (From: Adrian Pflugshaupt <email@hidden>)

  • Prev by Date: Re: Universal AUs
  • Next by Date: problem with AudioFileTools and .mp3
  • Previous by thread: Re: Re: Universal AUs
  • Next by thread: Re: Universal AUs
  • Index(es):
    • Date
    • Thread