• 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: MOTU AU Examiner
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MOTU AU Examiner


  • Subject: Re: MOTU AU Examiner
  • From: Adrian Pflugshaupt <email@hidden>
  • Date: Sun, 2 Apr 2006 14:38:12 +0200




I am currently trying to get a large AU synth to work in Digital Performer 4.61.
It passes auval just fine, however DP says "AU examination crashed" while scanning it. (..)






I now conducted extensive tests inside gdb (running DP in gdb). And things are getting more and more puzzling...

When the DP examiner launches inside gdb, I get the following debug output:

Starting program: /Applications/MOTU DP4.6 Folder/Digital Performer 4.61/Contents/MacOS/Digital Performer
libMallocDebug[bash-2499]: initializing libMallocDebug on thread d03
Reading symbols for shared libraries . done
libMallocDebug[libMallocDebug.A.dylib-2499]: initializing libMallocDebug on thread 80b
Reading symbols for shared libraries _ done
...
Reading symbols for shared libraries _ done ----> Here the MAS AU Support bundle is loaded
libMallocDebug[2500]: initializing libMallocDebug on thread d03
AUBase constructor 1
AUBase constructor 2
AUBase constructor 3
AUScope::initialize()
AUBase setnumberofelements 1 numElements 1
AUBase setnumberofelements 2
libMallocDebug[MOTU_AU_Examiner-2500]: frame pointer goes from bffdaa30 to bfffef90 -- assuming invalid.
AUBase setnumberofelements 3
libMallocDebug[MOTU_AU_Examiner-2500]: frame pointer goes from bffdaa30 to bfffef90 -- assuming invalid.
AUBase setnumberofelements 5
AUBase before mParamList.reserve
libMallocDebug[MOTU_AU_Examiner-2500]: frame pointer goes from bffdaa30 to bfffef90 -- assuming invalid.


I added fprintfs to see where stuff starts to go wrong. The first memory problem appears before my code is actually exectued - inside AUBase::AUBase, where GlobalScope().Initialize(this, kAudioUnitScope_Global, 1); is called. From there AUScope::setNumberOfElements if called and inside that routine the frame pointer error happens in the line:

mElements.reserve(numElements);

Which is basically just allocating memory for a stl vector if I understand the CoreAudio sources right. From then on everytime memory is allocated I am getting the same libMallocDebug output.

These errors only happen in the one Plugin i am trying to fix and they also don't happen in other hosts, I'm totally clueless now. Does anyone have any ideas what could be causing this? I tried lots of compiler different compiler settings, but it just doesn't help :(

I'd be super-greatful for any help, thanks

Adrian


_______________________________________________ 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
  • Follow-Ups:
    • Re: MOTU AU Examiner
      • From: Adrian Pflugshaupt <email@hidden>
  • Prev by Date: Re: sorting out CoreAudio emails
  • Next by Date: Re: MOTU AU Examiner
  • Previous by thread: Re: sorting out CoreAudio emails
  • Next by thread: Re: MOTU AU Examiner
  • Index(es):
    • Date
    • Thread