• 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
ExtAudioFileDispose blocking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ExtAudioFileDispose blocking


  • Subject: ExtAudioFileDispose blocking
  • From: Ethan Funk <email@hidden>
  • Date: Sat, 20 Mar 2010 09:46:07 -0700

I have another mystery to unravel:

ExtAudioFileDispose appears to be blocking indefinitely after my code runs for a few hours, loading, playing and unloading files.  My application is multi-threaded, and the ExtAudioFileDispose call is being made from a pthread, not the main thread.  In getting to the blocked call, the thread does lock a few other mutexs which are causing other threads in my application to block, but none of the other blocked threads are involved with the Extended audio file API.  Since I do not have any source code for the API, I will need a bit of help to understand what is happening here, and what the API is blocked on.

The backtrace from the blocked thread looks like this:

0 __semwait_signal
1 _pthread_cond_wait
2 AudioFileLocker::WillDie
3 AudioFileClose
4 ExtAudioFile::Close
5 ExtAudioFile::~ExtAudioFile
6 ExtAudioFile::~XExtAudioFile
7 ExtAudioFileDispose
8 FilePlayer::~FilePlayer     ------ My Code from here on down----
9 DeleteFromLists
10 CheckListsForDeletion
11 ListManagerTask
12 _pthread_start
13 thread_start

Thanks,
Ethan... _______________________________________________
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

  • Follow-Ups:
    • Re: ExtAudioFileDispose blocking
      • From: Ethan Funk <email@hidden>
  • Prev by Date: Re: Code to create UIImage of waveform from audiofile?
  • Next by Date: Re: Beat Detection algorithm or library for core audio / iPhone?
  • Previous by thread: implementation musical instrument using Audio Unit plug-in
  • Next by thread: Re: ExtAudioFileDispose blocking
  • Index(es):
    • Date
    • Thread