AudioOutputUnitStart crash in simulator but not on iOS device?
AudioOutputUnitStart crash in simulator but not on iOS device?
- Subject: AudioOutputUnitStart crash in simulator but not on iOS device?
- From: Dean Reyburn <email@hidden>
- Date: Wed, 15 May 2013 18:55:35 -0400
For some strange reason my sound recording audio units app just started crashing in the simulator whenever it starts audio recording with AudioOutputUnitStart(). Looks like iOS spawns a pthread, then 20 calls down it crashes in memcpy? Maybe a problem with AudioBufferList?
Even stranger, the app is absolutely stable on actual devices in beta testing on 25 devices with 19 beta testers. (using testflight crash reporting).
Any ideas? Maybe this is a bug in the simulated iOS? Using xcode 4.6.2 running on MacBook Pro retina MacOS X 10.8.3, targeting iOS 6.1 SDK.
Thanks in advance...
-Dean Reyburn
****************
The thread that's crashing in the simulator only is below, says EXC_BAD_ACCESS (code=1, address=0x6c70636d):
Thread 12 crashed
#0 0x02a18fa0 in memcpy$VARIANT$sse42 ()
#1 0x01677e8e in RemoteIOClient::EnqueueInput(XAudioTimeStamp const&, unsigned int, AudioBufferList const*) ()
#2 0x0167aff9 in RemoteIOClient::IONodeClient::EnqueueInput(XAudioTimeStamp const&, unsigned int, AudioBufferList const&) ()
#3 0x0166b058 in InputDispatcher::DispatchInput(AudioTimeStamp const&, unsigned long, AudioBufferList const&) ()
#4 0x0166942a in AudioInputManager::DispatchInput(AudioTimeStamp const&, unsigned long, AudioBufferList const&) ()
#5 0x0166933f in AQMEDevice::IO_PerformInput(unsigned long, AudioBufferList const&, AudioTimeStamp const&) ()
#6 0x01669499 in non-virtual thunk to AQMEDevice::IO_PerformInput(unsigned long, AudioBufferList const&, AudioTimeStamp const&) ()
#7 0x01673263 in AQMEIO_AU::PerformIO(unsigned long, AudioBufferList*, AudioTimeStamp const*) ()
#8 0x016739b6 in AQMEIO_AU::ProvideOutput(void*, unsigned long*, AudioTimeStamp const*, unsigned long, unsigned long, AudioBufferList*) ()
#9 0x016acc17 in AUInputElement::PullInput(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) ()
#10 0x0169da16 in AUConverterBase::RenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) ()
#11 0x016aa4aa in AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&) ()
#12 0x016a86d2 in AUBase::DoRender(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long, AudioBufferList&) ()
#13 0x016a13a7 in AUHAL::AUIOProc(unsigned long, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) ()
#14 0x06477b46 in HP_IOProcT<AudioBufferList, CAAudioBufferList, long (*)(unsigned long, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*)>::Call(AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioTimeStamp const&, AudioBufferList*) ()
#15 0x06476d8b in IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) ()
#16 0x0646ac03 in HP_IOThread::PerformIO(AudioTimeStamp const&, double) ()
#17 0x0646a7a3 in HP_IOThread::WorkLoop() ()
#18 0x064699e1 in HP_IOThread::ThreadEntry(HP_IOThread*) ()
#19 0x0649977d in CAPThread::Entry(CAPThread*) ()
#20 0x902245b7 in _pthread_start ()
1-888-SOFT-440 or 1-888-763-8440
Reyburn Piano Service, Inc.
http://www.reyburn.com
_______________________________________________
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