• 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: Crash on quit - AudioOutputUnit app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash on quit - AudioOutputUnit app


  • Subject: Re: Crash on quit - AudioOutputUnit app
  • From: Bill Stewart <email@hidden>
  • Date: Fri, 6 Jun 2003 17:26:01 -0700

From Doug...

From: Rolf Nilsson <email@hidden>
Date: Fri Jun 6, 2003 8:58:39 AM US/Pacific
To: email@hidden
Subject: Crash on quit - AudioOutputUnit app

Hello,

I'm using the AudioOutputUnit - DefaultAudioOutput and it works great
on my system OS X 10.2.6, single processor computer and have not had
any crashes so far myself.


But I just got the crash log below from a beta tester with a dual
processor system and would like help to understand what it means (it
crashed when the user closed down the application).


To my understanding it crashed (Thread 0) when de-alocating some static
objects after main() has finished?


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

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


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...

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.
  • Prev by Date: Re: Beginning dsp programming
  • Next by Date: Re: Sample Rate Conversion using AudioConverter
  • Previous by thread: Re: Crash on quit - AudioOutputUnit app
  • Next by thread: Re: Crash on quit - AudioOutputUnit app
  • Index(es):
    • Date
    • Thread