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

Re: ExtAudioFileRead Crash


  • Subject: Re: ExtAudioFileRead Crash
  • From: Peter Castine <email@hidden>
  • Date: Fri, 16 Oct 2009 17:44:59 +0200

On 14-Oct-2009, at 4:34, William Stewart wrote:

----
Thread 45 Crashed:
0 ....audio.toolbox.AudioToolbox 0x9918e651 CrashIfClientProvidedBogusAudioBufferList + 73
1 ....audio.toolbox.AudioToolbox 0x991e19fa ExtAudioFileRead + 66
2 ...coustic.myApp 0x0000c0e0 ChunkReadCallback + 260
3 ...coustic.myApp 0x00017b0f WorkerThreadStartFunc + 63
4 libSystem.B.dylib 0x9838cf39 _pthread_start + 345
5 libSystem.B.dylib 0x9838cdbe thread_start + 34
----


ExtAudioFileRead+66 and CrashIfClient…+73 are also listed in my other logs.

So, that implies that the buffer you are providing to ExtAudioFileRead is bad.

OK, looks like you're right. I added an assertion macro before the call to ExtAudioFileRead checking parameters. I've not seen the assertion fire on 10.5, but on 1.6 it does.


The different behavior on Snow Leopard seems odd given that the code calculating the offset into the buffer to write soundfile data to is just a lot of pointer arithmetic. And the code is fairly complex and undocumented and by someone else. But at least this narrows things down a bit.

Thanks -- P. _______________________________________________
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: ExtAudioFileRead Crash
      • From: tahome izwah <email@hidden>
References: 
 >ExtAudioFileRead Crash (From: Peter Castine <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: Hendrik Schreiber <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: Peter Castine <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: Hendrik Schreiber <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: William Stewart <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: Peter Castine <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: William Stewart <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: Peter Castine <email@hidden>)
 >Re: ExtAudioFileRead Crash (From: William Stewart <email@hidden>)

  • Prev by Date: Limitations on DefaultOutput unit format converter?
  • Next by Date: Re: My Iphone audio player app gets interrupted by the iPod
  • Previous by thread: Re: ExtAudioFileRead Crash
  • Next by thread: Re: ExtAudioFileRead Crash
  • Index(es):
    • Date
    • Thread