Bug 20146 - AudioUnit callback works on simulator, but fails on iPhone device
Summary: AudioUnit callback works on simulator, but fails on iPhone device
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 7.0.0.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-05-29 12:08 UTC by Mike James
Modified: 2014-06-05 05:43 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Mike James 2014-05-29 12:08:05 UTC
Initially believed to be the same as #5034 but I'm unable to get a stack trace. You can use the sample app attached to the other bug to reproduce. 

https://bugzilla.xamarin.com/show_bug.cgi?id=5034

Xcode crash log: 

Incident Identifier: 000EC53B-8FB5-4807-B01F-941885FC58D9
CrashReporter Key:   934c2162c3b4e52a6b92239ee2a688bcfe685f68
Hardware Model:      iPhone6,2
Process:             AudioUnitTest [23174]
Path:                /var/mobile/Applications/13133E51-C25F-45BA-B71D-6CFD54DD0EB6/AudioTest.app/AudioUnitTest
Identifier:          audiotest
Version:             1.0
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2014-05-29 16:59:01.807 +0100
OS Version:          iOS 7.1.1 (11D201)
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000004
Triggered by Thread:  7

Thread 0:
0   libsystem_kernel.dylib        	0x389bfa50 mach_msg_trap + 20
1   libsystem_kernel.dylib        	0x389bf8e5 mach_msg + 193
2   CoreFoundation                	0x2dc55625 __CFRunLoopServiceMachPort + 153
3   CoreFoundation                	0x2dc53d8b __CFRunLoopRun + 859
4   CoreFoundation                	0x2dbbe765 CFRunLoopRunSpecific + 521
5   CoreFoundation                	0x2dbbe547 CFRunLoopRunInMode + 103
6   GraphicsServices              	0x32b1b6cf GSEventRunModal + 135
7   UIKit                         	0x3051d88d UIApplicationMain + 1133
8   AudioUnitTest                 	0x0003547c 0x4000 + 201852
9   AudioUnitTest                 	0x0001fbc0 0x4000 + 113600
10  AudioUnitTest                 	0x0000a174 0x4000 + 24948
11  AudioUnitTest                 	0x000d0f00 0x4000 + 839424
12  AudioUnitTest                 	0x0012b17f 0x4000 + 1208703
13  AudioUnitTest                 	0x001665e3 0x4000 + 1451491
14  AudioUnitTest                 	0x0016a26b 0x4000 + 1466987
15  AudioUnitTest                 	0x0016a0b3 0x4000 + 1466547
16  AudioUnitTest                 	0x00119161 0x4000 + 1134945
17  AudioUnitTest                 	0x00198cec 0x4000 + 1658092
18  AudioUnitTest                 	0x0000a024 0x4000 + 24612

Thread 1:
0   libsystem_kernel.dylib        	0x389bf804 kevent64 + 24
1   libdispatch.dylib             	0x3890e051 _dispatch_mgr_invoke + 229
2   libdispatch.dylib             	0x389082df _dispatch_mgr_thread + 35

Thread 2:
0   libsystem_kernel.dylib        	0x389d2c70 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x38a37c1f _pthread_wqthread + 307
2   libsystem_pthread.dylib       	0x38a37ad8 start_wqthread + 4

Thread 3:
0   libsystem_kernel.dylib        	0x389d2334 __recvfrom + 20
1   libsystem_c.dylib             	0x3893f98b recv + 19
2   AudioUnitTest                 	0x0019aee0 0x4000 + 1666784
3   AudioUnitTest                 	0x0019b0d0 0x4000 + 1667280
4   AudioUnitTest                 	0x0019bfc0 0x4000 + 1671104
5   AudioUnitTest                 	0x00199cec 0x4000 + 1662188
6   AudioUnitTest                 	0x00197ab4 0x4000 + 1653428
7   Foundation                    	0x2e673a0b __NSThread__main__ + 1059
8   libsystem_pthread.dylib       	0x38a39957 _pthread_body + 139
9   libsystem_pthread.dylib       	0x38a398c7 _pthread_start + 99
10  libsystem_pthread.dylib       	0x38a37ae4 thread_start + 4

Thread 4:
0   libsystem_kernel.dylib        	0x389d2334 __recvfrom + 20
1   libsystem_c.dylib             	0x3893f98b recv + 19
2   AudioUnitTest                 	0x0019aee0 0x4000 + 1666784
3   AudioUnitTest                 	0x0019afdc 0x4000 + 1667036
4   AudioUnitTest                 	0x0011014b 0x4000 + 1098059
5   AudioUnitTest                 	0x0018860d 0x4000 + 1590797
6   AudioUnitTest                 	0x0019638d 0x4000 + 1647501
7   libsystem_pthread.dylib       	0x38a39957 _pthread_body + 139
8   libsystem_pthread.dylib       	0x38a398c7 _pthread_start + 99
9   libsystem_pthread.dylib       	0x38a37ae4 thread_start + 4

Thread 5:
0   libsystem_kernel.dylib        	0x389bfaa0 semaphore_wait_trap + 8
1   AudioUnitTest                 	0x00187fd3 0x4000 + 1589203
2   AudioUnitTest                 	0x00148655 0x4000 + 1328725
3   AudioUnitTest                 	0x001785e3 0x4000 + 1525219
4   AudioUnitTest                 	0x0018860d 0x4000 + 1590797
5   AudioUnitTest                 	0x0019638d 0x4000 + 1647501
6   libsystem_pthread.dylib       	0x38a39957 _pthread_body + 139
7   libsystem_pthread.dylib       	0x38a398c7 _pthread_start + 99
8   libsystem_pthread.dylib       	0x38a37ae4 thread_start + 4

Thread 6:
0   libsystem_kernel.dylib        	0x389d2c70 __workq_kernreturn + 8
1   libsystem_pthread.dylib       	0x38a37c1f _pthread_wqthread + 307
2   libsystem_pthread.dylib       	0x38a37ad8 start_wqthread + 4

Thread 7 Crashed:
0   libsystem_kernel.dylib        	0x389d21f0 __pthread_kill + 8
1   libsystem_pthread.dylib       	0x38a3a7b3 pthread_kill + 55
2   libsystem_c.dylib             	0x38982ff5 abort + 73
3   AudioUnitTest                 	0x0011fd49 0x4000 + 1162569
4   AudioUnitTest                 	0x00129025 0x4000 + 1200165
5   libsystem_platform.dylib      	0x38a35721 _sigtramp + 41
6   AudioUnitTest                 	0x00166e0f 0x4000 + 1453583
7   AudioUnitTest                 	0x00166e0f 0x4000 + 1453583
8   AudioUnitTest                 	0x00169925 0x4000 + 1464613
9   AudioUnitTest                 	0x000d2324 0x4000 + 844580
10  AudioUnitTest                 	0x00035588 0x4000 + 202120
11  AudioToolbox                  	0x2d64a43b AUInputElement::PullInput(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) + 123
12  AudioToolbox                  	0x2d646fed AUInputFormatConverter2::InputProc(OpaqueAudioConverter*, unsigned long*, AudioBufferList*, AudioStreamPacketDescription**, void*) + 209
13  AudioToolbox                  	0x2d578e73 AudioConverterChain::CallInputProc(unsigned long) + 327
14  AudioToolbox                  	0x2d578be7 AudioConverterChain::FillBufferFromInputProc(unsigned long*, CABufferList*) + 95
15  AudioToolbox                  	0x2d578b7b BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 111
16  AudioToolbox                  	0x2d578a89 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 73
17  AudioToolbox                  	0x2d57892b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 295
18  AudioToolbox                  	0x2d578b61 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 85
19  AudioToolbox                  	0x2d578a89 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 73
20  AudioToolbox                  	0x2d57892b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 295
21  AudioToolbox                  	0x2d578b61 BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 85
22  AudioToolbox                  	0x2d587b97 Resampler2Wrapper::RenderOutput(CABufferList*, unsigned long, unsigned long&) + 127
23  AudioToolbox                  	0x2d57892b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 295
24  AudioToolbox                  	0x2d5789ff AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 91
25  AudioToolbox                  	0x2d57892b BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 295
26  AudioToolbox                  	0x2d58723f AudioConverterFillComplexBuffer + 355
27  AudioToolbox                  	0x2d646ecd AUInputFormatConverter2::PullAndConvertInput(AudioTimeStamp const&, unsigned long&, AudioBufferList&, AudioStreamPacketDescription*, bool&) + 97
28  AudioToolbox                  	0x2d646a75 AUConverterBase::RenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) + 213
29  AudioToolbox                  	0x2d57a8f5 AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&) + 145
30  AudioToolbox                  	0x2d57a745 AUBase::DoRender(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long, AudioBufferList&) + 529
31  AudioToolbox                  	0x2d63696d AURemoteIO::PerformIO(unsigned long, unsigned int, unsigned int, AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioBufferList*, int&) + 485
32  AudioToolbox                  	0x2d6379b9 AURIOCallbackReceiver_PerformIO + 393
33  AudioToolbox                  	0x2d62e0b3 _XPerformIO + 175
34  AudioToolbox                  	0x2d59b64b mshMIGPerform + 123
35  AudioToolbox                  	0x2d60ab29 MSHMIGDispatchMessage + 29
36  AudioToolbox                  	0x2d636be5 AURemoteIO::IOThread::Run() + 117
37  AudioToolbox                  	0x2d639cc5 AURemoteIO::IOThread::Entry(void*) + 5
38  AudioToolbox                  	0x2d576b39 CAPThread::Entry(CAPThread*) + 209
39  libsystem_pthread.dylib       	0x38a39957 _pthread_body + 139
40  libsystem_pthread.dylib       	0x38a398c7 _pthread_start + 99
41  libsystem_pthread.dylib       	0x38a37ae4 thread_start + 4

Thread 7 crashed with ARM Thread State (32-bit):
    r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x044aed40
    r4: 0x00000006    r5: 0x044b0000      r6: 0x00bcf49c      r7: 0x044aed38
    r8: 0x00bcf400    r9: 0x3a674e30     r10: 0x002b0a9c     r11: 0x002b0a94
    ip: 0x00000148    sp: 0x044aed2c      lr: 0x38a3a7b7      pc: 0x389d21f0
  cpsr: 0x00000010

Binary Images:
0x4000 - 0x2c3fff AudioUnitTest armv7  <bdb6d85b25b93a30bc457029feb95b51> /var/mobile/Applications/13133E51-C25F-45BA-B71D-6CFD54DD0EB6/AudioTest.app/AudioUnitTest
0x2beb4000 - 0x2bed7fff dyld armv7s  <4d05d388718832c99cdd4e74aeb07d51> /usr/lib/dyld
0x2cc3b000 - 0x2cc3bfff Accelerate armv7s  <58ca068138d93e988a34a0c8c34b0b11> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x2cc45000 - 0x2ce12fff vImage armv7s  <9923548d8ed23bb1b1020130b5d38dab> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x2ce13000 - 0x2cef5fff libBLAS.dylib armv7s  <48f7680a8fd83251ad8415bb090408c3> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x2cef6000 - 0x2d1aefff libLAPACK.dylib armv7s  <2547383dc88d3329827b4d76768915ee> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x2d1af000 - 0x2d21dfff libvDSP.dylib armv7s  <83036da6f5d9308bb5fad06b2d29bac9> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x2d21e000 - 0x2d230fff libvMisc.dylib armv7s  <addc52a9647f3269965a750366ebed70> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x2d231000 - 0x2d231fff vecLib armv7s  <4a647b20c3f03490aae530226350a4cd> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x2d232000 - 0x2d252fff Accounts armv7s  <73b0639b81fe30d5b2b13628d3df2273> /System/Library/Frameworks/Accounts.framework/Accounts
0x2d254000 - 0x2d2bbfff AddressBook armv7s  <e0051f44c0d0377da85049ff86fbc890> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x2d529000 - 0x2d845fff AudioToolbox armv7s  <42ef392f2082317cbd3857838ab97aaf> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x2d846000 - 0x2d94cfff CFNetwork armv7s  <7f8df6965c623f8d9913dee8c8c9c7b6> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x2d94d000 - 0x2d9a8fff CoreAudio armv7s  <34a6461e9ad3380ea9e0405f81aad500> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x2d9c1000 - 0x2dbb5fff CoreData armv7s  <23650924fc293fdf994419f6894720a9> /System/Library/Frameworks/CoreData.framework/CoreData
0x2dbb6000 - 0x2dcf9ff0 CoreFoundation armv7s  <747c88b531d53bcbadfbcc953a429ea0> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x2dcfa000 - 0x2de1efff CoreGraphics armv7s  <182ccc3a111d360eb5c1e58b4289afb3> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x2de20000 - 0x2de5bfff libCGFreetype.A.dylib armv7s  <1d9c402cc18433db9a72d349876b2fea> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x2de5d000 - 0x2de67fff libCMSBuiltin.A.dylib armv7s  <1efb72c2985332c485d07c5a3784f93b> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCMSBuiltin.A.dylib
0x2e04c000 - 0x2e066fff libRIP.A.dylib armv7s  <23b82f0d28e238938519439e243ae7a7> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x2e067000 - 0x2e140fff CoreImage armv7s  <1eedb55ace133e10bb629fa881c45542> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x2e1c8000 - 0x2e243fff CoreMedia armv7s  <d68d0cf856f13ff7ab9418ccd671cd65> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x2e2ed000 - 0x2e345fff CoreTelephony armv7s  <711db5ac808937b09143f43f11f06422> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x2e346000 - 0x2e3d6fff CoreText armv7s  <43e84c5a90fc36a984363965f2d8029b> /System/Library/Frameworks/CoreText.framework/CoreText
0x2e3d7000 - 0x2e3e6fff CoreVideo armv7s  <b114a9e05c08366b8735a2911defa97b> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x2e5a6000 - 0x2e790fff Foundation armv7s  <b75ca4f9d9b739ef9b16e482db277849> /System/Library/Frameworks/Foundation.framework/Foundation
0x2e972000 - 0x2e9c8fff IOKit armv7s  <1acd39a2052f36cebb9b68f9f1448619> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x2e9c9000 - 0x2ebd9fff ImageIO armv7s  <3234150da2d13945a33c98335e53db80> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x2ebda000 - 0x2ee25fff JavaScriptCore armv7s  <3d942899969b3c41aa764b228ec6cc65> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x2eed6000 - 0x2eedafff MediaAccessibility armv7s  <c87f228e5b18380d837ed901196705c1> /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
0x2f48c000 - 0x2f4effff MobileCoreServices armv7s  <1a736ebbc93431c8943cdd93a0a0fdcb> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x2ff37000 - 0x2ff3ffff OpenGLES armv7s  <1c3e551d0a923b86940ad36a6e682463> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x2ff41000 - 0x2ff41fff libCVMSPluginSupport.dylib armv7s  <ba661b77360f360b88c3163a02538376> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x2ff46000 - 0x2ff49fff libCoreVMClient.dylib armv7s  <38ff1c7f12f83f8bac062e8daf9d4c10> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x2ff4a000 - 0x2ff51fff libGFXShared.dylib armv7s  <2406a4e5c5b437dbb0a3553655ac4951> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x2ff52000 - 0x2ff92fff libGLImage.dylib armv7s  <7d912d8e3a453456a6e2d806b59aa448> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x3012a000 - 0x30271fff QuartzCore armv7s  <741ee0338b1235aab1550f91a3956041> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x302cb000 - 0x3030dfff Security armv7s  <cd7187d315eb301e845cfae580ca905f> /System/Library/Frameworks/Security.framework/Security
0x3045d000 - 0x304acfff SystemConfiguration armv7s  <82758c34b29a333bbdfe73e78361e0e1> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x304af000 - 0x30c22fff UIKit armv7s  <f725ad0982673286911bff834295ec99> /System/Library/Frameworks/UIKit.framework/UIKit
0x30c23000 - 0x30c71fff VideoToolbox armv7s  <052e071cd44b3d33abdb0761635ba4be> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
0x31009000 - 0x3100dfff AggregateDictionary armv7s  <b4e58fe6256136749b7d54bf07bcbc51> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x31669000 - 0x316a7fff AppSupport armv7s  <0cb23d5c42d530cfa7e43605cf368293> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x317d1000 - 0x317ddfff AssetsLibraryServices armv7s  <05cf849c0bab37698f93ce58e0cabe0f> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x3182b000 - 0x31850fff BackBoardServices armv7s  <eef3e744484a386ca351b8feb000eb37> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x31859000 - 0x3187dfff Bom armv7s  <af79573fee7d364da59eed3fabe2f645> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x31a10000 - 0x31a15fff CertUI armv7s  <68968485501f35c09203bd9e045bbcd0> /System/Library/PrivateFrameworks/CertUI.framework/CertUI
0x31b52000 - 0x31b5dfff CommonUtilities armv7s  <f477748e4ac03e91b3a2769b59dc0dc0> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
0x31b5e000 - 0x31b62fff CommunicationsFilter armv7s  <87e7685b12ac375aa482a7a31cd28517> /System/Library/PrivateFrameworks/CommunicationsFilter.framework/CommunicationsFilter
0x31bf3000 - 0x31bf5fff ConstantClasses armv7s  <aab583ee29ff3ed7a9ad2bddfbc9bcde> /System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses
0x31eeb000 - 0x31eecfff CoreSurface armv7s  <3445b07c2bca372cbe202fec0a9aa86f> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x31f93000 - 0x31feffff CoreUI armv7s  <3fdd5b6ee0b03774a8a67554e8a3c3ff> /System/Library/PrivateFrameworks/CoreUI.framework/CoreUI
0x32045000 - 0x3204afff CrashReporterSupport armv7s  <d3f693f332fe3f46bd3b9f582a3e6ba0> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x32216000 - 0x3222cfff DataAccessExpress armv7s  <d267039af5923039bb15d53806a16edc> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x32272000 - 0x3228bfff DictionaryServices armv7s  <b32f1de0807532e2944c9365d543b542> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x322d0000 - 0x322dbfff ExFAT armv7s  <a50c8c49cc703ad59b3caff9dfe105e9> /System/Library/PrivateFrameworks/ExFAT.framework/ExFAT
0x3231b000 - 0x32736fff FaceCore armv7s  <72642f324b7639faa8206f00a953a573> /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
0x32b12000 - 0x32b28fff GraphicsServices armv7s  <3b6c1bed029a36809c005aded6358ae2> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x32eda000 - 0x32f34fff IMFoundation armv7s  <1fe1f17117fd346e872606e1fbaf958f> /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation
0x32f3e000 - 0x32f45fff IOMobileFramebuffer armv7s  <3ab45fc088e63f2583325fb2a3d793ac> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x32f46000 - 0x32f4bfff IOSurface armv7s  <231684abf3443db1b2dde09b82f5bdba> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x33331000 - 0x3333dfff MobileAsset armv7s  <40c56824686c35c9bc6a53e48696e8ce> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
0x33388000 - 0x33392fff MobileKeyBag armv7s  <e94a6746becd36ef89f18d8f62e3ef80> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x333ba000 - 0x333bdfff MobileSystemServices armv7s  <1bc1a98c34d5398ca9ff7d2a6cd65243> /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemServices
0x336b4000 - 0x336b6fff OAuth armv7s  <e5d7ef5ec520310187365df875a549ec> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x33e0d000 - 0x33e48fff OpenCL armv7s  <b6fbdfb3287d3fbfb5286db2871e20f1> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
0x34831000 - 0x34864fff PhysicsKit armv7s  <eabb43d582b434e7a07113dc75526237> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
0x3495b000 - 0x34992fff PrintKit armv7s  <07cdb8fa73f638878da43cb85ecc6525> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x34996000 - 0x34a1cfff ProofReader armv7s  <c51b02fd95b5374a92d5f442914fd833> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x34dc0000 - 0x34dd5fff SpringBoardServices armv7s  <c57673fe5697361292f6d98f0e42b43a> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x351eb000 - 0x351edfff TCC armv7s  <c954ee084fc138cd9e1efd673fcc1db6> /System/Library/PrivateFrameworks/TCC.framework/TCC
0x35241000 - 0x35262fff TelephonyUtilities armv7s  <89a81f2b2d00390f94886d091df8c370> /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtilities
0x355ed000 - 0x35620fff TextInput armv7s  <aa0e49d7392f391184c9eeb39a4d3bf0> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x358a3000 - 0x35963fff UIFoundation armv7s  <c451f67b37fe34b1837080f77df2c608> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x3597b000 - 0x3597efff UserFS armv7s  <8c69a37146f53c20b27515d9081b585e> /System/Library/PrivateFrameworks/UserFS.framework/UserFS
0x35e23000 - 0x368d2fff WebCore armv7s  <62a2855ff9ba3663a05c495a1e6083a3> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x368d3000 - 0x36993fff WebKit armv7s  <4679be02e7e63e5697b74338046f39c3> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x36ade000 - 0x36ae6fff XPCObjects armv7s  <bd5f2f198bfc300886e389b6504c3d24> /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects
0x3791e000 - 0x37925fff libAccessibility.dylib armv7s  <6783339bc8c0357a88c9f342125cfd4f> /usr/lib/libAccessibility.dylib
0x37b22000 - 0x37b38fff libCRFSuite.dylib armv7s  <1b03911a248832d5b24075ac2a3edfe3> /usr/lib/libCRFSuite.dylib
0x37b4e000 - 0x37b63fff libMobileGestalt.dylib armv7s  <47eca5e4f72f38459912efd50f7560a9> /usr/lib/libMobileGestalt.dylib
0x37b81000 - 0x37b82fff libSystem.B.dylib armv7s  <eabeb73e81a8362d8e62af1bd466b876> /usr/lib/libSystem.B.dylib
0x37bf1000 - 0x37c1ffff libTelephonyUtilDynamic.dylib armv7s  <a0a1a8c4002a3b3095de44ab6ef68876> /usr/lib/libTelephonyUtilDynamic.dylib
0x37d6e000 - 0x37d7afff libbsm.0.dylib armv7s  <fc1cbfcbdd563d02a601aabed2bd7d15> /usr/lib/libbsm.0.dylib
0x37d7b000 - 0x37d84fff libbz2.1.0.dylib armv7s  <20bf7a7ab7e73d4c8453b1c86a7c5e3d> /usr/lib/libbz2.1.0.dylib
0x37d85000 - 0x37dd0fff libc++.1.dylib armv7s  <72615c78ae5f39dcbafa740d87035caf> /usr/lib/libc++.1.dylib
0x37dd1000 - 0x37debfff libc++abi.dylib armv7s  <b20ecbadceba32fe8f990af252b6abba> /usr/lib/libc++abi.dylib
0x37e2e000 - 0x37e2efff libgcc_s.1.dylib armv7s  <6a1193cb6ccd3e5a8c9b7bb8f65022ce> /usr/lib/libgcc_s.1.dylib
0x37e49000 - 0x37f36fff libiconv.2.dylib armv7s  <cd99d67497e23173bfaf7eac2409774a> /usr/lib/libiconv.2.dylib
0x37f37000 - 0x38088fff libicucore.A.dylib armv7s  <9e6bead09e6e3f6284775099f2af03e2> /usr/lib/libicucore.A.dylib
0x38090000 - 0x38090fff liblangid.dylib armv7s  <3cca7b6ef834379b82d4a032f99cdfc8> /usr/lib/liblangid.dylib
0x38091000 - 0x3809bfff liblockdown.dylib armv7s  <de62a6a0b6ef33b59d9c53d4eaeb4013> /usr/lib/liblockdown.dylib
0x3841a000 - 0x385b9fff libobjc.A.dylib armv7s  <bf3e22d3067133989a99a9bf07c4e8f8> /usr/lib/libobjc.A.dylib
0x38681000 - 0x38696fff libresolv.9.dylib armv7s  <880b294be76f3f9989247ca125ad3550> /usr/lib/libresolv.9.dylib
0x386bf000 - 0x38756fff libsqlite3.dylib armv7s  <584eaf4090783a64b8a33125a6a976bd> /usr/lib/libsqlite3.dylib
0x38757000 - 0x387a4fff libstdc++.6.dylib armv7s  <6428df9b541c3ffbb23c393b3b1280e9> /usr/lib/libstdc++.6.dylib
0x387a5000 - 0x387cbfff libtidy.A.dylib armv7s  <40c283e2258a330d9ff9799da0a1d2bb> /usr/lib/libtidy.A.dylib
0x387cf000 - 0x38882fff libxml2.2.dylib armv7s  <1a18ebeae7253959b9cfe286550809a8> /usr/lib/libxml2.2.dylib
0x38883000 - 0x388a4fff libxslt.1.dylib armv7s  <cf7ad714d218330087df8422a129e027> /usr/lib/libxslt.1.dylib
0x388a5000 - 0x388b1fff libz.1.dylib armv7s  <578def3dfb6e3180b5f9d0cdacfea7ab> /usr/lib/libz.1.dylib
0x388b2000 - 0x388b6fff libcache.dylib armv7s  <5552b722402630c39069717fce563238> /usr/lib/system/libcache.dylib
0x388b7000 - 0x388bffff libcommonCrypto.dylib armv7s  <a6695b43e12f338c9dc0906d8bfed65e> /usr/lib/system/libcommonCrypto.dylib
0x388c0000 - 0x388c4fff libcompiler_rt.dylib armv7s  <cfdcad14d51d30a9a511af272ba560ac> /usr/lib/system/libcompiler_rt.dylib
0x388c5000 - 0x388cbfff libcopyfile.dylib armv7s  <553c4af79d1e30bdafc06af9cf757caf> /usr/lib/system/libcopyfile.dylib
0x388cc000 - 0x38905fff libcorecrypto.dylib armv7s  <3078b6192ac6371eb233dfa9b483728b> /usr/lib/system/libcorecrypto.dylib
0x38906000 - 0x38919fff libdispatch.dylib armv7s  <724a779782af35d5b686b90ae55712be> /usr/lib/system/libdispatch.dylib
0x3891a000 - 0x3891bfff libdyld.dylib armv7s  <1e6f4480b0cc3b288ca16260858dd0be> /usr/lib/system/libdyld.dylib
0x3891c000 - 0x3891cfff libkeymgr.dylib armv7s  <cd6879d7aab538188885a690d4867364> /usr/lib/system/libkeymgr.dylib
0x3891d000 - 0x38923fff liblaunch.dylib armv7s  <e2ecc7065f99385486a316b484915504> /usr/lib/system/liblaunch.dylib
0x38924000 - 0x38927fff libmacho.dylib armv7s  <af571f784f753dc883752ab57de8d850> /usr/lib/system/libmacho.dylib
0x38928000 - 0x38929fff libremovefile.dylib armv7s  <470ebd7c55de3e19b1ba2f540fb555b8> /usr/lib/system/libremovefile.dylib
0x3892a000 - 0x38937fff libsystem_asl.dylib armv7s  <667d4520d8863f96930caf3caed29585> /usr/lib/system/libsystem_asl.dylib
0x38938000 - 0x38938fff libsystem_blocks.dylib armv7s  <7df185e5c3423b2b827bbb017ae0d23a> /usr/lib/system/libsystem_blocks.dylib
0x38939000 - 0x3899bfff libsystem_c.dylib armv7s  <b1076755d7863093b9b541dade51b7a4> /usr/lib/system/libsystem_c.dylib
0x3899c000 - 0x3899efff libsystem_configuration.dylib armv7s  <6077b6a8819033b1a5da6eeb65667ac5> /usr/lib/system/libsystem_configuration.dylib
0x3899f000 - 0x389a5fff libsystem_dnssd.dylib armv7s  <61754fc466d73885939c421a54b10ad7> /usr/lib/system/libsystem_dnssd.dylib
0x389a6000 - 0x389befff libsystem_info.dylib armv7s  <dc3f914b8fad3e599e661aae25a82944> /usr/lib/system/libsystem_info.dylib
0x389bf000 - 0x389d7fff libsystem_kernel.dylib armv7s  <5f80574971783517b904e68e867db35a> /usr/lib/system/libsystem_kernel.dylib
0x389d8000 - 0x389f6fff libsystem_m.dylib armv7s  <071ecf3760083b3bafcfa3d7a2cb03e0> /usr/lib/system/libsystem_m.dylib
0x389f7000 - 0x38a08fff libsystem_malloc.dylib armv7s  <c9bd1c9bb83f334583f177b6f4f60d04> /usr/lib/system/libsystem_malloc.dylib
0x38a09000 - 0x38a29fff libsystem_network.dylib armv7s  <e74b7953f36834f8ae85db60af9e03f8> /usr/lib/system/libsystem_network.dylib
0x38a2a000 - 0x38a31fff libsystem_notify.dylib armv7s  <3e3abecaad193941a8ff25146c014ccb> /usr/lib/system/libsystem_notify.dylib
0x38a32000 - 0x38a36fff libsystem_platform.dylib armv7s  <2b5893167164377d8bf61d6bac6d76b0> /usr/lib/system/libsystem_platform.dylib
0x38a37000 - 0x38a3cfff libsystem_pthread.dylib armv7s  <eaf423e9b7c532208a7b2f544c7cd2fe> /usr/lib/system/libsystem_pthread.dylib
0x38a3d000 - 0x38a3efff libsystem_sandbox.dylib armv7s  <bae12b6c89593266b826e4c04decd867> /usr/lib/system/libsystem_sandbox.dylib
0x38a3f000 - 0x38a41fff libsystem_stats.dylib armv7s  <b42bfc3e6cc932358e7d75aa993c662f> /usr/lib/system/libsystem_stats.dylib
0x38a42000 - 0x38a42fff libunwind.dylib armv7s  <4b9e9973ab72392485a03ed5821f40a4> /usr/lib/system/libunwind.dylib
0x38a43000 - 0x38a5dfff libxpc.dylib armv7s  <9b5096abbc8c3fd79550880a8ba59d62> /usr/lib/system/libxpc.dylib
Comment 1 Sunil Kumar 2014-06-03 10:07:25 UTC
We have tried to reproduce this issue and we are also getting same behavior. AudioUnit callback works on simulator and fails on device.

Symbolicated Log: https://gist.github.com/anonymous/4c93b3dfc3b3251d4e42

Environment info: 
=== Xamarin Studio ===

Version 5.0 (build 878)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
Runtime:
	Mono 3.4.0 ((no/c3fc3ba)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000204

=== Apple Developer Tools ===

Xcode 5.0 (3332.22)
Build 5A1412

=== Xamarin.iOS ===

Version: 7.0.0.11 (Enterprise Edition)
Hash: aa35ba3
Branch: 
Build date: 2013-18-09 16:42:48-0400

=== Xamarin.Android ===

Version: 4.12.4 (Enterprise Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: 1.8.0.8

=== Build Information ===

Release ID: 500000878
Git revision: bcd66920d963483e7d638a2339c4022fe035b529
Build date: 2014-05-27 17:36:26-04
Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c

=== Operating System ===

Mac OS X 10.9.0
Darwin 360-MACMINIs-Mac-mini.local 13.0.0 Darwin Kernel Version 13.0.0
    Thu Sep 19 22:22:27 PDT 2013
    root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
Comment 2 Marek Safar 2014-06-05 05:43:46 UTC
Using RenderCallback event is not recommended (due to issues like this one) and the event is marked obsolete. Use SetRenderCallback method call instead.

When the sample code is modified to use SetRenderCallback with following method as argument all works for me

		AudioUnitStatus FillData (AudioUnitRenderActionFlags actionFlags, AudioTimeStamp timeStamp, uint busNumber, uint numberFrames, AudioBuffers data)
		{
			// Getting a pointer to a buffer to be filled
			IntPtr outL = data[0].Data;

			if(numberFrames == 0)
			{
				return AudioUnitStatus.OK;
			}

			if(numberFrames + _playPosition > _audio.Length)
			{
				//Start playing from beginning
				_playPosition = 0;
			}

			//Fill audio buffers
			Marshal.Copy(_audio, _playPosition, outL, (int) numberFrames);
			//if(outR.ToInt32() > 0)
			//{   
			//Marshal.Copy(_audio, _playPosition, outR, e.NumberFrames);
			//}
			_playPosition += (int) numberFrames;

			return AudioUnitStatus.OK;
		}