Re: Crash on quit - AudioOutputUnit app
Re: Crash on quit - AudioOutputUnit app
- Subject: Re: Crash on quit - AudioOutputUnit app
- From: "Roni Music" <email@hidden>
- Date: Sat, 7 Jun 2003 17:44:47 +0200
>
Message: 8
>
Date: Fri, 6 Jun 2003 17:26:01 -0700
>
Subject: Re: Crash on quit - AudioOutputUnit app
>
From: Bill Stewart <email@hidden>
>
To: email@hidden
>
>
From Doug...
Thanks Doug!
>
>
>>> Thread 2 has the following line
>
>>> _ZN10HALRunLoop9OwnThreadEPv
>
>>>
>
>>> HALRunLoop - does this mean that the AudioOutPutUnit is still running
>
>
>
> no, this is the HAL's notification thread
OK,
>
>
>
>>> even though I called
>
>>>
>
>>> AudioOutputUnitStop(m_outputAudioUnit);
>
>>> and
>
>>> CloseComponent(m_outputAudioUnit);
>
>>>
>
>>> btw, is AudioOutputUnitStop() synchronous (I guess it is)?
>
>
>
> it is
>
>
>
>>> i.e. when AudioOutputUnitStop() returns, the render callback will
>
>>> never
>
>>> be called again?
>
>
>
> as of Jaguar, yes
My english is not 100%
so does this mean:
AudioOutputUnitStop() is synchronous under OS X 10.2.x (yes)
but was not in earlier versions
or will change with 10.3?
>
>
>
>
>
>>> Thread 3 is my render thread that is for sure destroyed before main
>
>>> exits. Does this mean that it crashed inside the main program thread
>
>>> anyway?
>
>
>
> all the backtrace tells us of interest is that at global destruction
>
> time, memory has been corrupted. Use the standard techniques for
>
> debugging memory smashers...
My main concern is if that could be caused by running the software on dual processor machine?
It doesn't show up on my single processor machine.
Thanks
Rolf
>
>
>
> Doug
>
>
>
>
>
>
>
>>>
>
>>> Help/explanation appreciated
>
>>> Rolf Nilson
>
>>>
>
--
>
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.