Re: Crashing in AUGraph
Re: Crashing in AUGraph
- Subject: Re: Crashing in AUGraph
- From: William Stewart <email@hidden>
- Date: Mon, 3 Apr 2006 12:10:21 -0700
Please file a bug report: http://bugreporter.apple.com and include
code to reproduce the problem if possible.
We would strongly discourage any developer from believing that
posting a crash log to an email list is sufficient - it is too easily
lost or overlooked and invariably doesn't contain sufficient
information. So, if you really do care about a crash, file a bug!
Thanks
Bill
On 02/04/2006, at 7:44 PM, Mark Coniglio wrote:
I am attempting to change one of three files that is playing in a
graph. Each sound file player is connected to a companion
AUConverter, which then leads to the remaining nodes in the graph.
When the user chooses a new file to play, I do the following:
1) Stop playback on the sound file AU by calling AudioUnitReset
1) Close the current audio file using AudioFileClose
2) Using AUGraphDisconnectNodeInput, I disconnect the Sound File
Player from the Converter, and the Converter from its destination.
3) I call AudioUnitReset on both of the converter and sound file
player
4) Finally, I call AUGraphUpdate
At the point at which I call AUGraphUpdate, the program crashes.
The crash log is below. It's somewhere inside
AudioConverterChain::CallInputProc.
One would think, if I am completely disconnecting the sound file
player and its audio converter, I should not get a crash when
calling AUGraphUpdate.
FWIW, note that the next audio unit after the converter is an
AULowPassFilter -- this is connected to the second input of a 3
input bus AUMixer, which is in turn connected to the Default Output
Unit.
Thanks in advance,
Mark
...pple.audio.units.Components 0x99a30d04
AUMultibandCompressorEntry + 8904
1 ...pple.audio.units.Components 0x999fc63c DLSMusicDeviceEntry
+ 88008
2 ...pple.audio.units.Components 0x999f2cb0 DLSMusicDeviceEntry
+ 48700
3 ...pple.audio.units.Components 0x99aa4d10
dyld_stub__keymgr_get_and_lock_processwide_ptr + 25872
4 ...pple.audio.units.Components 0x99aa690c
dyld_stub__keymgr_get_and_lock_processwide_ptr + 33036
5 ...pple.audio.units.Components 0x999dbd10 DefaultOutputAUEntry
+ 29112
6 ...pple.audio.units.Components 0x999e2d6c
AUHighShelfFilterEntry + 5100
7 ...pple.audio.units.Components 0x999dc3e0 DefaultOutputAUEntry
+ 30856
8 ...pple.audio.units.Components 0x99aa7078
dyld_stub__keymgr_get_and_lock_processwide_ptr + 34936
9 ...pple.audio.units.Components 0x99aa6da8
dyld_stub__keymgr_get_and_lock_processwide_ptr + 34216
10 ....audio.toolbox.AudioToolbox 0x940f8e78
AudioConverterChain::CallInputProc(unsigned long) + 332
11 ....audio.toolbox.AudioToolbox 0x940f8ac8
AudioConverterChain::FillBufferFromInputProc(unsigned long*,
unsigned long*, CABufferList*) + 128
12 ....audio.toolbox.AudioToolbox 0x940f8290
BufferedAudioConverter::GetInputBytes(unsigned long, unsigned
long&, CABufferList const*&) + 212
13 ....audio.toolbox.AudioToolbox 0x940f80e8
CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned
long&, AudioStreamPacketDescription*) + 132
14 ....audio.toolbox.AudioToolbox 0x940f7e5c
BufferedAudioConverter::FillBuffer(unsigned long&,
AudioBufferList&, AudioStreamPacketDescription*) + 292
15 ....audio.toolbox.AudioToolbox 0x940f7fd8
AudioConverterChain::RenderOutput(CABufferList*, unsigned long,
unsigned long&, AudioStreamPacketDescription*) + 136
16 ....audio.toolbox.AudioToolbox 0x940f7e5c
BufferedAudioConverter::FillBuffer(unsigned long&,
AudioBufferList&, AudioStreamPacketDescription*) + 292
17 ....audio.toolbox.AudioToolbox 0x940f7ce8
AudioConverterFillComplexBuffer + 280
18 ...pple.audio.units.Components 0x999dbfa4 DefaultOutputAUEntry
+ 29772
19 ...pple.audio.units.Components 0x99aa690c
dyld_stub__keymgr_get_and_lock_processwide_ptr + 33036
20 ...pple.audio.units.Components 0x999dbd10 DefaultOutputAUEntry
+ 29112
21 ...pple.audio.units.Components 0x999db3ac DefaultOutputAUEntry
+ 26708
22 com.apple.audio.CoreAudio 0x91414ac8
IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp
const&, AudioTimeStamp const&) + 376
23 com.apple.audio.CoreAudio 0x914147dc
HP_IOThread::PerformIO(AudioTimeStamp const&) + 532
24 com.apple.audio.CoreAudio 0x914127ec HP_IOThread::WorkLoop
() + 1156
25 com.apple.audio.CoreAudio 0x91412354
HP_IOThread::ThreadEntry(HP_IOThread*) + 16
26 com.apple.audio.CoreAudio 0x914031d4 CAPThread::Entry
(CAPThread*) + 96
27 libSystem.B.dylib 0x9002b1e0 _pthread_body + 96
--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater | http://www.troikaranch.org
=====================================================================
_______________________________________________
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
--
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
________________________________________________________________________
__
_______________________________________________
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