• 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: AU - CW code gen problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU - CW code gen problems


  • Subject: Re: AU - CW code gen problems
  • From: David Duncan <email@hidden>
  • Date: Thu, 27 Mar 2003 16:34:05 -0500

On Thursday, March 27, 2003, at 04:12 PM, Marc Poirier wrote:

And just as an aside, do the crashes you experience have a common
ancestor in their call chain when you look at the stack trace?

When running in AUHosting, it varies a lot. Very often, the traces don't
look like they have anything to do with my code. It's most often from
destroying the window or from handling some events. But it varies a lot.
Sometime the crash occurs in a GenericAUView class, which makes no sense
at all. But in Logic, it's 100% repeatable: crash occurs in
CarbonEventHandler.cpp TheEventHandler() upon receiving kEventClassWindow
kEventWindowClose, and then calling handler->HandleEvent(inEvent) crashes
because the pointer to handler (passed in as inUserData) is bogus (I know
because I added an empty method to the CarbonEventHandler class and
calling that from handler also crashes; the pointer is not null, though).

This makes it sound like a good old fashioned memory stomper. At one point get crashes in random routines deep inside HIToolBox for running off the end of a HAL provided buffer. Have you tried seeing if you get the crash if you provide just the DSP and no custom view?
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AU - CW code gen problems
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: AU - CW code gen problems
  • Next by Date: Re: how to start audiounits from scratch?
  • Previous by thread: Re: AU - CW code gen problems
  • Next by thread: Re: AU - CW code gen problems
  • Index(es):
    • Date
    • Thread