• 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: iPhone framework conflict causes crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone framework conflict causes crash


  • Subject: Re: iPhone framework conflict causes crash
  • From: William Stewart <email@hidden>
  • Date: Mon, 24 Nov 2008 15:16:03 -0800

you need to:

submit this as a bug report (http://bugreporter.apple.com)
include the crash report (the full one)
ideally, include some sample code that we can run to reproduce the problem. If no code, then a good description of what you are doing would help. Also, include what AudioSession APIs you are calling when (for instance). Without sample code we often go back and forwards alot as we try to understand what is the underlying problem, so code is always really helpful


Bill

On Nov 24, 2008, at 4:46 AM, Nate wrote:

I created a very simple program that does nothing but read data from the iPhone microphone using AudioUnit RemoteIO. The frameworks I am using are:

UIKit
Foundation
AudioToolbox

I found if I change nothing except for adding AVFoundation then my program crashes. Remove it and it works. Is there any way around this problem? The dumps from the crashes are at the end of this email.

I tried using the AudioUnit framework instead of AudioToolbox but Xcode told me it couldn't find AudioUnit, even though it is obviously there.

The reason I want to include AVFoundation is so I can use AVAudioPlayer.

Thanks,
-Nate


Sometimes the debugger triggers, sometimes it doesn't. Here is the dump when the debugger catches it:


semaphore_wait_signal_trap
pthread_mutex_lock
CAMutex::Lock
AUConverterBase::Reset
AUGenericOutput::Start
AudioOutputUnitStart


The crashed thread dump when the OS catches it:

CrashIfClientProvidedBogusAudioBufferList + 78
AudioConverterChain::CallInputProc(unsigned long) + 416
AudioConverterChain::FillBufferFromInputProc(unsigned long*, CABufferList*) + 90
BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 212
CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 128
BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 268
BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 161
CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 128
BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 268
BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 161
SRCWrapper::RenderOutput(CABufferList*, unsigned long, unsigned long&) + 171
BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 268
BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 161
CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 128
BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 268
AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 135
BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 268
AudioConverterFillComplexBuffer + 244
AUIOHelper::NotifyInputAvailable(AudioTimeStamp const&, unsigned long, AudioBufferList const&) + 331
AURemoteIO::PerformIO(int, int, AQTimeStamp const&, AQTimeStamp const&) + 376
AURIOCallbackReceiver_PerformIO + 45
_XPerformIO + 251
mshMIGPerform + 206
MSHMIGDispatchMessage + 80
AURemoteIO::IOThread::Entry(void*) + 204
CAPThread::Entry(CAPThread*) + 122
_pthread_start + 321
thread_start + 34
_______________________________________________
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: 
 >iPhone framework conflict causes crash (From: Nate <email@hidden>)

  • Prev by Date: Re: Custom Audio Units on the iPhone
  • Next by Date: Re: reading from the iPhone mic with a small buffer size
  • Previous by thread: Re: iPhone framework conflict causes crash
  • Next by thread: Custom Audio Units on the iPhone
  • Index(es):
    • Date
    • Thread