Re: Crashing when loading 3rd party AU
Re: Crashing when loading 3rd party AU
- Subject: Re: Crashing when loading 3rd party AU
- From: Robert Grant <email@hidden>
- Date: Thu, 17 Oct 2002 14:57:13 -0400
I think it was because I loaded a component with a nulled out
description. AUGraphNewNode() liked the component and added to the
graph. The crash
happened when the graph tried to render the output. Perhaps the AAC
decoder
matched that description somehow?
Robert.
On Thursday, October 17, 2002, at 02:40 PM, Doug Wyatt wrote:
Well, AudioUnitGetProperty appears to have the same component selector
as our codec's Initialize function. That's OK.
The interesting question is how the codec got opened ... looks like
the graph is in charge of it ...
Doug
On Thursday, Oct 17, 2002, at 13:49 America/New_York, Bill Stewart
wrote:
Now this is a very strange stack trace indeed - how come the AU is
ending up
in the AAC Decoder - and it looks like its meant to be there???
Are these problems fixed with Marc's new versions of his AUs? Was it
those
units that were crashing...
Bill
on 16/10/02 2:33 PM, Robert Grant wrote:
I'm consistently crashing with third party AUs in the following
manner
- naturally I'm clueless. I've loaded all the Apple AU2 units without
trouble.:
#0 0x02d6e584 in
ACMP4AACDecoder::SetCurrentInputFormat(AudioStreamBasicDescription
const&) ()
#1 0x02d6f7c4 in ACMP4Codec::Initialize(AudioStreamBasicDescription
const*, AudioStreamBasicDescription const*, void const*, unsigned
long)
()
#2 0x02d6e4c8 in
ACMP4AACDecoder::Initialize(AudioStreamBasicDescription const*,
AudioStreamBasicDescription const*, void const*, unsigned long) ()
#3 0x02d7a104 in long
ACCodecDispatch<ACMP4AACDecoder>(ComponentParameters*,
ACMP4AACDecoder*) ()
#4 0x91eb0c58 in AudioUnitGetProperty ()
#5 0x01fd3a48 in AUBase::SetConnection(AudioUnitConnection const&)
()
#6 0x01fd2734 in AUBase::DispatchSetProperty(unsigned long, unsigned
long, unsigned long, void const*, unsigned long) ()
#7 0x01fefdd4 in
AUBase::ComponentEntryDispatch(ComponentParameters*,
AUBase*) ()
#8 0x01fd6adc in
AUGenericOutput::ComponentEntryDispatch(ComponentParameters*,
AUGenericOutput*) ()
#9 0x0202a9e0 in
ComponentEntryPoint<DefaultOutputAU>::Dispatch(ComponentParameters*,
DefaultOutputAU*) ()
#10 0x91eb0ca0 in AudioUnitSetProperty ()
#11 0x93b67360 in
AudioUnitGraph::ConnectAudioUnit(AudioUnitNodeConnection&) ()
#12 0x93b67228 in AudioUnitGraph::DoMakeConnection(long, unsigned
long,
long, unsigned long) ()
#13 0x93b66d1c in AudioUnitGraph::ProcessLiveEvents() ()
#14 0x93b67c88 in AudioUnitGraph::HandleRenderNotify(bool, unsigned
long, unsigned long, AudioTimeStamp const*, unsigned long, void*) ()
#15 0x93b67bf4 in AudioUnitGraph::GraphRenderCallback_NEW(void*,
unsigned long*, AudioTimeStamp const*, unsigned long, unsigned long,
AudioBufferList*) ()
#16 0x01fd3648 in AUBase::DoRender(unsigned long&, AudioTimeStamp
const&, unsigned long, unsigned long, AudioBufferList&) ()
#17 0x01fd8844 in AUHAL::AUIOProc(unsigned long, AudioTimeStamp
const*,
AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*,
AudioTimeStamp const*, void*) ()
#18 0x905d320c in XBasicDevice::CallIOProcs(AudioTimeStamp const*,
AudioTimeStamp const*, AudioTimeStamp const*) ()
#19 0x905d1f18 in XThreadedDevice::HandleIO(AudioTimeStamp const&,
bool) ()
#20 0x905d1a3c in XThreadedDevice::IOThread() ()
#21 0x905e9528 in XThreadedDevice::IOThreadEntry(void*) ()
#22 0x905e2cac in CAPThread::Entry(CAPThread*) ()
#23 0x90021428 in _pthread_body ()
Thanks for any help.
Robert.
_______________________________________________
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.
-- mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
____
_______________________________________________
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.
--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden http://www.sonosphere.com
_______________________________________________
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.