• 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: Coreaudio Deadlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coreaudio Deadlock


  • Subject: Re: Coreaudio Deadlock
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 1 Jun 2005 14:59:18 -0700

I looked at the back traces and here's what I see:

Thread 1 is blocked trying to lock an internal VLC lock.
Thread 6 looks quiescent.
Thread 7 is blocked trying to synchronize with the IO thread before proceeding to remove the IOProc.


Without seeing what the rest of the threads are up to, it's pretty hard to say how or why the dead lock is taking place, especially the IO thread. I imagine that it is probably blocked holding onto one or more of the locks that Threads 1 and 7 are trying to locked. If I had to guess, I would look hard at the lock that Thread 1 is trying to lock. It seems the most likely culprit.

On Jun 1, 2005, at 1:40 PM, Derk-Jan Hartman wrote:

I find myself in a deadlock situation with the VLC coreaudio renderer.
http://pastebin.com/293456

basically the mainthread updates the interface and asks for the volume from the audio output thread. But when the auhal module is still working on updating itself and calls the CA lock, it apparently deadlocks.

Now i'm not saying that locking the mainthread is something we usually do, but i would have thought the coreaudio system to have been more robust then this.

Is it really so sensitive to things like this?

DJ
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://www.sidequest.org

--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: Coreaudio Deadlock
      • From: Derk-Jan Hartman <email@hidden>
References: 
 >Coreaudio Deadlock (From: Derk-Jan Hartman <email@hidden>)

  • Prev by Date: Coreaudio Deadlock
  • Next by Date: Re: Coreaudio Deadlock
  • Previous by thread: Coreaudio Deadlock
  • Next by thread: Re: Coreaudio Deadlock
  • Index(es):
    • Date
    • Thread