• 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 in ExtAudioFile API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in ExtAudioFile API


  • Subject: Re: Crash in ExtAudioFile API
  • From: Shalab Goel <email@hidden>
  • Date: Fri, 17 Aug 2012 10:51:59 -0700


It sounds like there is a possibility of some singleton object (or state object of sorts) being utilized under the covers in EAF implementation that is not thread safe. If such is the case, it is indeed a nasty issue to find out about..

Will be good to hear what comes out of this, as this issue is dug deeper.

Thanks
Shalab

On Fri, Aug 17, 2012 at 5:17 AM, patrick machielse <email@hidden> wrote:
Op 17 aug. 2012, om 08:32 heeft tahome izwah <email@hidden> het volgende geschreven:

> From what I have learned EAF isn't thread safe (never was). You
> shouldn't be accessing the same EAF object from different threads
> unless you can be absolutely certain that the access is sequential
> (you could use @synchronized for this if you're using ObjC).

That isn't the problem here. Each ExtAudioFile object is used from one thread only. In the crash log we're creating a fresh EAF in ExtAudioFileOpenURL() on thread 13 while on thread 1 ExtAudioFileSetProperty() is called -- necessarily with a different EAF object.

p.
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden


 _______________________________________________
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

 _______________________________________________
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

References: 
 >Crash in ExtAudioFile API (From: patrick machielse <email@hidden>)
 >Re: Crash in ExtAudioFile API (From: tahome izwah <email@hidden>)
 >Re: Crash in ExtAudioFile API (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: Crash in ExtAudioFile API
  • Next by Date: Re: Cocoa GUI is not showing up the first time it is open
  • Previous by thread: Re: Crash in ExtAudioFile API
  • Next by thread: changes to CoreAudio in 10.8?
  • Index(es):
    • Date
    • Thread