MIDI-related crash on iOS, release build only

Hi Jules

I'm having a problem both in my app and in the latest Juce Demo. Midi events from an external controller crash the app. This happens only when using an external controller, only when running a release build. I can tap away on the touchscreen keyboard all day, no problems. It's only when I play my MIDI controller that this happens, and then it only happens when I'm using a release build, debug build seems to not have any issues. I did test my controller with a number of other non-Juce apps, no problems there. 

Please let me know if I can do anything to help you narrow down what's happening. 

-Nick

Well, a stack trace would obviously be helpful!

hmm. Ok i'll try to figure out how to get one! I can only make this happen when I'm not attached to Xcode since I need to be in a release build and I need to attach my midi controller. So I'm not sure how to do that in this scenario but I'll try!

ok, here's the crash report from the device:

Incident Identifier: D372D5D5-8738-4018-9AF6-E2523389B249
CrashReporter Key:   dcb5828a3602cc93c3f1e53f12445ce032410ffd
Hardware Model:      iPad3,4
Process:             JuceDemo [4848]
Path:                /var/mobile/Applications/7038963C-BE33-4598-B723-42DFF87D439F/JuceDemo.app/JuceDemo
Identifier:          com.yourcompany.JuceDemo
Version:             3.0.0 (3.0.0)
Code Type:           ARM (Native)
Parent Process:      launchd [1]
Date/Time:           2014-03-10 08:51:25.054 -0400
OS Version:          iOS 7.0.4 (11B554a)
Report Version:      104
Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: EXC_ARM_DA_ALIGN at 0x166669f9
Triggered by Thread:  4
Thread 0 name:  Juce Message Thread
Thread 0:
0   CoreGraphics                      0x2ecbfd46 aa_render + 2534
1   libRIP.A.dylib                    0x2effa7b4 RIPRenderCoverage + 1164
2   libRIP.A.dylib                    0x2efe80b6 ripc_Render + 62
3   libRIP.A.dylib                    0x2efe648e ripc_DrawRects + 242
4   CoreGraphics                      0x2ec95afc CGContextFillRects + 68
5   JuceDemo                          0x002539fe 0xd4000 + 1571326
6   JuceDemo                          0x000e7908 0xd4000 + 80136
7   JuceDemo                          0x0027f0ca 0xd4000 + 1749194
8   JuceDemo                          0x0027efca 0xd4000 + 1748938
9   JuceDemo                          0x0027f22a 0xd4000 + 1749546
10  JuceDemo                          0x0027efca 0xd4000 + 1748938
11  JuceDemo                          0x0027f22a 0xd4000 + 1749546
12  JuceDemo                          0x0027efca 0xd4000 + 1748938
13  JuceDemo                          0x0027f22a 0xd4000 + 1749546
14  JuceDemo                          0x0027efca 0xd4000 + 1748938
15  JuceDemo                          0x002ea8a2 0xd4000 + 2189474
16  JuceDemo                          0x002f2f22 0xd4000 + 2223906
17  JuceDemo                          0x002f2df0 0xd4000 + 2223600
18  UIKit                             0x31427dd4 -[UIView(CALayerDelegate) drawLayer:inContext:] + 368
19  QuartzCore                        0x3105da74 -[CALayer drawInContext:] + 96
20  QuartzCore                        0x31047240 CABackingStoreUpdate_ + 1856
21  QuartzCore                        0x311212e8 ___ZN2CA5Layer8display_Ev_block_invoke + 48
22  QuartzCore                        0x31046af0 x_blame_allocations + 80
23  QuartzCore                        0x310467a2 CA::Layer::display_() + 1114
24  QuartzCore                        0x3102a364 CA::Layer::display_if_needed(CA::Transaction*) + 204
25  QuartzCore                        0x31029ffc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 20
26  QuartzCore                        0x31029a08 CA::Context::commit_transaction(CA::Transaction*) + 224
27  QuartzCore                        0x3102981a CA::Transaction::commit() + 310
28  QuartzCore                        0x31023548 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 52
29  CoreFoundation                    0x2ebeef66 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
30  CoreFoundation                    0x2ebec8f2 __CFRunLoopDoObservers + 282
31  CoreFoundation                    0x2ebecc3e __CFRunLoopRun + 734
32  CoreFoundation                    0x2eb5746c CFRunLoopRunSpecific + 520
33  CoreFoundation                    0x2eb5724e CFRunLoopRunInMode + 102
34  GraphicsServices                  0x3385e2e6 GSEventRunModal + 134
35  UIKit                             0x3140c840 UIApplicationMain + 1132
36  JuceDemo                          0x0022dc36 0xd4000 + 1416246
37  libdyld.dylib                     0x397c6ab4 start + 0
Thread 1:
0   libsystem_kernel.dylib            0x3986a838 kevent64 + 24
1   libdispatch.dylib                 0x397b90d0 _dispatch_mgr_invoke + 228
2   libdispatch.dylib                 0x397b361e _dispatch_mgr_thread + 34
Thread 2:
0   libsystem_kernel.dylib            0x3987dc7c __workq_kernreturn + 8
1   libsystem_pthread.dylib           0x398e1e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib           0x398e1cc0 start_wqthread + 4
Thread 3 name:  Juce Timer
Thread 3:
0   libsystem_kernel.dylib            0x3987cf38 __psynch_cvwait + 24
1   libsystem_pthread.dylib           0x398e3262 _pthread_cond_wait + 538
2   libsystem_pthread.dylib           0x398e407c pthread_cond_timedwait + 40
3   JuceDemo                          0x001bf7c4 0xd4000 + 964548
4   JuceDemo                          0x001c124e 0xd4000 + 971342
5   JuceDemo                          0x002308ca 0xd4000 + 1427658
6   JuceDemo                          0x001c0798 0xd4000 + 968600
7   JuceDemo                          0x001d31e2 0xd4000 + 1044962
8   libsystem_pthread.dylib           0x398e3c5a _pthread_body + 138
9   libsystem_pthread.dylib           0x398e3bca _pthread_start + 98
10  libsystem_pthread.dylib           0x398e1ccc thread_start + 4
Thread 4 Crashed:
0   JuceDemo                          0x0011e912 0xd4000 + 305426
1   JuceDemo                          0x000e76a6 0xd4000 + 79526
2   JuceDemo                          0x0014a1d0 0xd4000 + 483792
3   JuceDemo                          0x0014839e 0xd4000 + 476062
4   JuceDemo                          0x0014d96e 0xd4000 + 498030
5   JuceDemo                          0x0014d750 0xd4000 + 497488
6   AudioToolbox                      0x2e5e7d6a AUInputElement::PullInput(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) + 122
7   AudioToolbox                      0x2e5e4908 AUInputFormatConverter2::InputProc(OpaqueAudioConverter*, unsigned long*, AudioBufferList*, AudioStreamPacketDescription**, void*) + 208
8   AudioToolbox                      0x2e516ab2 AudioConverterChain::CallInputProc(unsigned long) + 326
9   AudioToolbox                      0x2e516822 AudioConverterChain::FillBufferFromInputProc(unsigned long*, CABufferList*) + 90
10  AudioToolbox                      0x2e5167ba BufferedAudioConverter::GetInputBytes(unsigned long, unsigned long&, CABufferList const*&) + 110
11  AudioToolbox                      0x2e5166c8 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 72
12  AudioToolbox                      0x2e51656a BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 294
13  AudioToolbox                      0x2e51663e AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 90
14  AudioToolbox                      0x2e51656a BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 294
15  AudioToolbox                      0x2e524f9a AudioConverterFillComplexBuffer + 354
16  AudioToolbox                      0x2e5e47e8 AUInputFormatConverter2::PullAndConvertInput(AudioTimeStamp const&, unsigned long&, AudioBufferList&, AudioStreamPacketDescription*, bool&) + 96
17  AudioToolbox                      0x2e5e438c AUConverterBase::RenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long) + 212
18  AudioToolbox                      0x2e518570 AUBase::DoRenderBus(unsigned long&, AudioTimeStamp const&, unsigned long, AUOutputElement*, unsigned long, AudioBufferList&) + 148
19  AudioToolbox                      0x2e5183c0 AUBase::DoRender(unsigned long&, AudioTimeStamp const&, unsigned long, unsigned long, AudioBufferList&) + 528
20  AudioToolbox                      0x2e5d4154 AURemoteIO::PerformIO(unsigned long, unsigned int, unsigned int, AudioTimeStamp const&, AudioTimeStamp const&, AudioBufferList const*, AudioBufferList*, int&) + 484
21  AudioToolbox                      0x2e5d5188 AURIOCallbackReceiver_PerformIO + 368
22  AudioToolbox                      0x2e5cba7e _XPerformIO + 174
23  AudioToolbox                      0x2e539546 mshMIGPerform + 122
24  AudioToolbox                      0x2e5a887c MSHMIGDispatchMessage + 28
25  AudioToolbox                      0x2e5d43cc AURemoteIO::IOThread::Run() + 116
26  AudioToolbox                      0x2e5d75fc AURemoteIO::IOThread::Entry(void*) + 4
27  AudioToolbox                      0x2e514770 CAPThread::Entry(CAPThread*) + 208
28  libsystem_pthread.dylib           0x398e3c5a _pthread_body + 138
29  libsystem_pthread.dylib           0x398e3bca _pthread_start + 98
30  libsystem_pthread.dylib           0x398e1ccc thread_start + 4
Thread 5:
0   libsystem_kernel.dylib            0x3986aa84 mach_msg_trap + 20
1   libsystem_kernel.dylib            0x3986a87c mach_msg + 36
2   CoreMIDI                          0x2f12df10 XServerMachPort::ReceiveMessage(int&, void*, int&) + 64
3   CoreMIDI                          0x2f14abb8 MIDIProcess::RunMIDIInThread() + 76
4   CoreMIDI                          0x2f12f27c XThread::RunHelper(void*) + 8
5   CoreMIDI                          0x2f12ebd4 CAPThread::Entry(CAPThread*) + 176
6   libsystem_pthread.dylib           0x398e3c5a _pthread_body + 138
7   libsystem_pthread.dylib           0x398e3bca _pthread_start + 98
8   libsystem_pthread.dylib           0x398e1ccc thread_start + 4
Thread 6:
0   libsystem_kernel.dylib            0x3987dc7c __workq_kernreturn + 8
1   libsystem_pthread.dylib           0x398e1e06 _pthread_wqthread + 306
2   libsystem_pthread.dylib           0x398e1cc0 start_wqthread + 4
Thread 4 crashed with ARM Thread State (32-bit):
    r0: 0x16666a02    r1: 0x00000012      r2: 0x00000001      r3: 0x00000039
    r4: 0x00000003    r5: 0x00000000      r6: 0x166669f9      r7: 0x04871338
    r8: 0x166669f6    r9: 0x00000001     r10: 0x00000400     r11: 0x00000002
    ip: 0x005486a0    sp: 0x04871250      lr: 0x0011e7db      pc: 0x0011e912
  cpsr: 0x80000030
Binary Images:
0xd4000 - 0x547fff JuceDemo armv7s  <6ac8100da5373e2287fe50ed2cff63a6> /var/mobile/Applications/7038963C-BE33-4598-B723-42DFF87D439F/JuceDemo.app/JuceDemo
0x2bea3000 - 0x2bec6fff dyld armv7s  <fd7cb81f388f39cbac4f71338b669c24> /usr/lib/dyld
0x2dbde000 - 0x2dbdefff Accelerate armv7s  <9340338f3cdf347abe4a88c2f59b5b12> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x2dbe8000 - 0x2ddb5fff vImage armv7s  <479b5c4701833284ab587a1d2fdb5627> /System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/vImage
0x2ddb6000 - 0x2de98fff libBLAS.dylib armv7s  <da4fa367557d3028b02458e2cdf6d84d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x2de99000 - 0x2e154fff libLAPACK.dylib armv7s  <066ea8372dd23f6d89011f9a4a872d6f> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x2e155000 - 0x2e1c3fff libvDSP.dylib armv7s  <a5dcfe68199839b989c7be120c14ccb4> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x2e1c4000 - 0x2e1d6fff libvMisc.dylib armv7s  <ea636bbda5ee33119a4e731aed02fa31> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvMisc.dylib
0x2e1d7000 - 0x2e1d7fff vecLib armv7s  <663aefa25bc5367baa72ca144ac26d18> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x2e1d8000 - 0x2e1f7fff Accounts armv7s  <811f7e5dcd353c57af6d6de859848774> /System/Library/Frameworks/Accounts.framework/Accounts
0x2e1f9000 - 0x2e25efff AddressBook armv7s  <cc733c2c249e3161a9af19a44aeb1577> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x2e4c7000 - 0x2e7e3fff AudioToolbox armv7s  <f49f28790aa036c08e5573071a7e2870> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x2e7e4000 - 0x2e8e9fff CFNetwork armv7s  <36562cff956f38a09956da9218198ccf> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x2e8ea000 - 0x2e945fff CoreAudio armv7s  <34f47ad0c4d530249298888a1217316f> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x2e95d000 - 0x2eb4efff CoreData armv7s  <4ed490c5fd693fefac89d75a47eab553> /System/Library/Frameworks/CoreData.framework/CoreData
0x2eb4f000 - 0x2ec92ff0 CoreFoundation armv7s  <37c6b3b7abca3774bec8fecf79f07013> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x2ec93000 - 0x2edb7fff CoreGraphics armv7s  <e13cbd4115dc3113b875de88b92744f8> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x2edb9000 - 0x2edf4fff libCGFreetype.A.dylib armv7s  <4be02e4373903a7d8295e4e0859326ab> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x2edf6000 - 0x2ee00fff libCMSBuiltin.A.dylib armv7s  <23411d17163a35269e923c9d1a21f1b6> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCMSBuiltin.A.dylib
0x2efe5000 - 0x2effffff libRIP.A.dylib armv7s  <40d9d1ad277338ac900b7d97b26c6575> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x2f000000 - 0x2f0d8fff CoreImage armv7s  <5cb9106c864730e8b36ba1f7f14d9c7f> /System/Library/Frameworks/CoreImage.framework/CoreImage
0x2f127000 - 0x2f15dfff CoreMIDI armv7s  <52a1eceb591c302bb7a55a87c41f56cc> /System/Library/Frameworks/CoreMIDI.framework/CoreMIDI
0x2f15e000 - 0x2f1d5fff CoreMedia armv7s  <7a5f55d144f73dc594127c6469e49587> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x2f27f000 - 0x2f2d7fff CoreTelephony armv7s  <53697e7196f637cba3234d37798635b2> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x2f2d8000 - 0x2f367fff CoreText armv7s  <7eaf2f4eaadf382daff13c72e6f1f3b6> /System/Library/Frameworks/CoreText.framework/CoreText
0x2f368000 - 0x2f377fff CoreVideo armv7s  <cff4151001e439739cf0cc00e83bc254> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x2f53a000 - 0x2f724fff Foundation armv7s  <19e2d0f6233d3765adecfb5ba59d9b7e> /System/Library/Frameworks/Foundation.framework/Foundation
0x2f902000 - 0x2f958fff IOKit armv7s  <2c6e904057f13394b4008615454063b7> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x2f959000 - 0x2fb69fff ImageIO armv7s  <a913973d7cc33c0fb4cfdb479caccb66> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x2fb6a000 - 0x2fdb2fff JavaScriptCore armv7s  <54f2231ea9e43666befddcdc18a910eb> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x2fe57000 - 0x2fe5bfff MediaAccessibility armv7s  <6b18e226cdae3e4dbfb3b6b826e26f8f> /System/Library/Frameworks/MediaAccessibility.framework/MediaAccessibility
0x30398000 - 0x303fbfff MobileCoreServices armv7s  <4e4cc0e2dc763d5f8f9c5ed5cbc704fb> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x30e2f000 - 0x30e37fff OpenGLES armv7s  <cba26f9f5c9134c98bfc1b2953bf8b66> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x30e39000 - 0x30e39fff libCVMSPluginSupport.dylib armv7s  <5c255052c907399eb0201ea98dd2855a> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x30e3d000 - 0x30e40fff libCoreVMClient.dylib armv7s  <0a471be053a43e1ca78e79defaa47ad1> /System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x30e41000 - 0x30e48fff libGFXShared.dylib armv7s  <61521d6895eb360b9587478aa39a149d> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x30e49000 - 0x30e89fff libGLImage.dylib armv7s  <cd3aca6ff56c330ab7032d420e0017ca> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x31022000 - 0x31167fff QuartzCore armv7s  <723bf8706f6f3fe28a714ed9466c54aa> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x311c1000 - 0x31202fff Security armv7s  <8d356745d35b357e9c08dc578f8b2044> /System/Library/Frameworks/Security.framework/Security
0x3134b000 - 0x3139afff SystemConfiguration armv7s  <ee18863e6fb3310b8f9dbca4f6ba6483> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x3139d000 - 0x31abefff UIKit armv7s  <baf6a06bf43d38b6a5cd265571b38343> /System/Library/Frameworks/UIKit.framework/UIKit
0x31abf000 - 0x31b0dfff VideoToolbox armv7s  <d492aa96c2943eac8778e41f740527aa> /System/Library/Frameworks/VideoToolbox.framework/VideoToolbox
0x31e79000 - 0x31e7dfff AggregateDictionary armv7s  <d271b13eb5c03c8dacb154bb867e39f7> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x32400000 - 0x3243dfff AppSupport armv7s  <f085b254be9c37d8ac8529e677ec6f73> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x3255d000 - 0x3256afff AssetsLibraryServices armv7s  <b1da50d989d83bc58e0a932471d82c1d> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x325ab000 - 0x325cefff BackBoardServices armv7s  <851e6a2fca27396a901cadb1dd564305> /System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x325d7000 - 0x325fbfff Bom armv7s  <f94bbc499d1a3c13a96614a0dc2a8e62> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x3278a000 - 0x3278ffff CertUI armv7s  <da95bee5fff13f049a1d5ca4c137f6e6> /System/Library/PrivateFrameworks/CertUI.framework/CertUI
0x328c9000 - 0x328d4fff CommonUtilities armv7s  <38e170cdcb583bc7b0918a9fd2d56189> /System/Library/PrivateFrameworks/CommonUtilities.framework/CommonUtilities
0x328d5000 - 0x328d9fff CommunicationsFilter armv7s  <aa60717294d63ce8b3d6ce3e62350308> /System/Library/PrivateFrameworks/CommunicationsFilter.framework/CommunicationsFilter
0x32c54000 - 0x32c55fff CoreSurface armv7s  <c9312d9c3c473019835a71b356145c9a> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x32cfc000 - 0x32d56fff CoreUI armv7s  <40d696324564353e981f4f8ba480586f> /System/Library/PrivateFrameworks/CoreUI.framework/CoreUI
0x32da5000 - 0x32daafff CrashReporterSupport armv7s  <bc6c1698be993d0b9be9016cf2a89a8a> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x32f73000 - 0x32f88fff DataAccessExpress armv7s  <16e4c6b2b55e3644b4bcc9ef328153a8> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x32f92000 - 0x32fa8fff DataDetectorsCore armv7s  <fb76f79902b9331ca68166b93935564e> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/DataDetectorsCore
0x32faa000 - 0x32fc2fff DataDetectorsUI armv7s  <99d0ac88d77937248b0b339ebdc41dc9> /System/Library/PrivateFrameworks/DataDetectorsUI.framework/DataDetectorsUI
0x32fcd000 - 0x32fe7fff DictionaryServices armv7s  <f74a317e4672339babc6103959df3472> /System/Library/PrivateFrameworks/DictionaryServices.framework/DictionaryServices
0x33029000 - 0x33034fff ExFAT armv7s  <0f2de9eb7f6139de8a51ba3eccbec8d2> /System/Library/PrivateFrameworks/ExFAT.framework/ExFAT
0x33073000 - 0x3348efff FaceCore armv7s  <e767863dac8a3d798877de0a07624ba9> /System/Library/PrivateFrameworks/FaceCore.framework/FaceCore
0x33857000 - 0x33865fff GraphicsServices armv7s  <963e9b456da7301cb752303a69f27d10> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x33c11000 - 0x33c6bfff IMFoundation armv7s  <2e56e96350c733ed8fc9eb2dc065d718> /System/Library/PrivateFrameworks/IMFoundation.framework/IMFoundation
0x33c75000 - 0x33c7cfff IOMobileFramebuffer armv7s  <c66dabcbbc533cfd9b28f2544b71b8cd> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x33c7d000 - 0x33c82fff IOSurface armv7s  <c734ca27e347327ba351c6c6deab91f7> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x34059000 - 0x34064fff MobileAsset armv7s  <5129443f89f937238576308808e62124> /System/Library/PrivateFrameworks/MobileAsset.framework/MobileAsset
0x340af000 - 0x340b7fff MobileKeyBag armv7s  <6a7ed5c70f603339bb2b7fe8d3446d0c> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x340df000 - 0x340e2fff MobileSystemServices armv7s  <708039aee4ec32899e4bbf817407798f> /System/Library/PrivateFrameworks/MobileSystemServices.framework/MobileSystemServices
0x343a5000 - 0x343a7fff OAuth armv7s  <4726833fd7d9357a8bbdd3487dcfa9c9> /System/Library/PrivateFrameworks/OAuth.framework/OAuth
0x34aff000 - 0x34b3afff OpenCL armv7s  <d7ea5f75fc103fe28436f1180ffa98a6> /System/Library/PrivateFrameworks/OpenCL.framework/OpenCL
0x35521000 - 0x3554efff PhysicsKit armv7s  <8fa2fcdc554d387fa59ea688840048d0> /System/Library/PrivateFrameworks/PhysicsKit.framework/PhysicsKit
0x3563d000 - 0x35674fff PrintKit armv7s  <6bc12fe7b63739e79d7dba91a4f2560c> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x35678000 - 0x356fffff ProofReader armv7s  <fb8e397448fe3cf7b6559afd96572cb2> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x35a85000 - 0x35a99fff SpringBoardServices armv7s  <07b50ddb252a3670ae27c994e345d32d> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x35e77000 - 0x35e79fff TCC armv7s  <b14719f4f9213db6bf035e9dd349691c> /System/Library/PrivateFrameworks/TCC.framework/TCC
0x35ec3000 - 0x35ee4fff TelephonyUtilities armv7s  <452c156104483fc3aea85ebaf9f5c734> /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtilities
0x364e6000 - 0x3650afff TextInput armv7s  <abdd894319ef3742b7d8c75764e2279c> /System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x36765000 - 0x36825fff UIFoundation armv7s  <b4d1d18af2023e42b8bc5bf94e134dd1> /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation
0x3683d000 - 0x36840fff UserFS armv7s  <8cadaf260e5c331a98f0cbc94efbc6a6> /System/Library/PrivateFrameworks/UserFS.framework/UserFS
0x36cc0000 - 0x3776efff WebCore armv7s  <7df88f9af79231758f97431994ad6be8> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x3776f000 - 0x3782ffff WebKit armv7s  <2d9a513d87bd3c2d8de0098df694485c> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x37976000 - 0x3797efff XPCObjects armv7s  <e7759ab9bb643390af3c2ac7ad96619d> /System/Library/PrivateFrameworks/XPCObjects.framework/XPCObjects
0x388c9000 - 0x388d0fff libAccessibility.dylib armv7s  <652dee07b3fe371fb8230aee2c9537b4> /usr/lib/libAccessibility.dylib
0x389d7000 - 0x389edfff libCRFSuite.dylib armv7s  <06362cba96bf3a679a91d40f125057cc> /usr/lib/libCRFSuite.dylib
0x38a03000 - 0x38a18fff libMobileGestalt.dylib armv7s  <7abc89974a6d36558d5efa60184e43c2> /usr/lib/libMobileGestalt.dylib
0x38a36000 - 0x38a37fff libSystem.B.dylib armv7s  <dba6762caa053e59abb31469e9b41f4b> /usr/lib/libSystem.B.dylib
0x38aa2000 - 0x38acefff libTelephonyUtilDynamic.dylib armv7s  <56f4820a03da3b71bc7ea2114e81060d> /usr/lib/libTelephonyUtilDynamic.dylib
0x38c18000 - 0x38c24fff libbsm.0.dylib armv7s  <34a4b8ea80e4390ab8a146e0de95b6b1> /usr/lib/libbsm.0.dylib
0x38c25000 - 0x38c2ffff libbz2.1.0.dylib armv7s  <b246a3f7a5243be189afe4f7582042fa> /usr/lib/libbz2.1.0.dylib
0x38c30000 - 0x38c7bfff libc++.1.dylib armv7s  <18b3a243f7923c39951c97ab416ed3e6> /usr/lib/libc++.1.dylib
0x38c7c000 - 0x38c96fff libc++abi.dylib armv7s  <2e20d75c97d339a297a21de19c6a6d4b> /usr/lib/libc++abi.dylib
0x38cf4000 - 0x38de1fff libiconv.2.dylib armv7s  <ff50709f8e04318da55e13c9096bba03> /usr/lib/libiconv.2.dylib
0x38de2000 - 0x38f33fff libicucore.A.dylib armv7s  <719aeeaa9cc7301e8eb9117644f94b38> /usr/lib/libicucore.A.dylib
0x38f3b000 - 0x38f3bfff liblangid.dylib armv7s  <9babf315c8b739ff98c078fb894ba3c4> /usr/lib/liblangid.dylib
0x38f3c000 - 0x38f46fff liblockdown.dylib armv7s  <5623ee432246307eb3ca6b212542d69d> /usr/lib/liblockdown.dylib
0x392c5000 - 0x39464fff libobjc.A.dylib armv7s  <0cc1bf8b5caa39fd90ca9cfc94e03fcb> /usr/lib/libobjc.A.dylib
0x3952c000 - 0x39541fff libresolv.9.dylib armv7s  <763ddffb38af3444b74501dde37a5949> /usr/lib/libresolv.9.dylib
0x3956a000 - 0x39601fff libsqlite3.dylib armv7s  <0cd7d6e04761365480a2078daee86959> /usr/lib/libsqlite3.dylib
0x39602000 - 0x3964ffff libstdc++.6.dylib armv7s  <894bc61807683540a1d475ae8b117140> /usr/lib/libstdc++.6.dylib
0x39650000 - 0x39676fff libtidy.A.dylib armv7s  <9ac4925f9e803e48a846ae28aba6d355> /usr/lib/libtidy.A.dylib
0x3967a000 - 0x3972dfff libxml2.2.dylib armv7s  <810acee8bebe317492118d752643bde3> /usr/lib/libxml2.2.dylib
0x3972e000 - 0x3974ffff libxslt.1.dylib armv7s  <e3269cf2460835588f0f9b8f5bed13b2> /usr/lib/libxslt.1.dylib
0x39750000 - 0x3975cfff libz.1.dylib armv7s  <d14399220e74365cbf13a57859a31782> /usr/lib/libz.1.dylib
0x3975d000 - 0x39761fff libcache.dylib armv7s  <371dad0c805634ac9ad03150a7bb227d> /usr/lib/system/libcache.dylib
0x39762000 - 0x3976afff libcommonCrypto.dylib armv7s  <95f921d990c936a2a185363d6d606fae> /usr/lib/system/libcommonCrypto.dylib
0x3976b000 - 0x3976ffff libcompiler_rt.dylib armv7s  <d993a2866d6e328aab22e5218075aaff> /usr/lib/system/libcompiler_rt.dylib
0x39770000 - 0x39776fff libcopyfile.dylib armv7s  <6e0607b0ba0c3b5297beb5c2291803f3> /usr/lib/system/libcopyfile.dylib
0x39777000 - 0x397b0fff libcorecrypto.dylib armv7s  <8af5878efc1a3eeb8e3ca9ec454855a8> /usr/lib/system/libcorecrypto.dylib
0x397b1000 - 0x397c4fff libdispatch.dylib armv7s  <20e9bf9f001f376bafe977a315d87fd7> /usr/lib/system/libdispatch.dylib
0x397c5000 - 0x397c6fff libdyld.dylib armv7s  <93c82bcfda94398b997952820e4b22bf> /usr/lib/system/libdyld.dylib
0x397c7000 - 0x397c7fff libkeymgr.dylib armv7s  <d430920807683cb99757df3fc70cf91a> /usr/lib/system/libkeymgr.dylib
0x397c8000 - 0x397cefff liblaunch.dylib armv7s  <b176974ad8613f329c4958f5a2d6bd2e> /usr/lib/system/liblaunch.dylib
0x397cf000 - 0x397d2fff libmacho.dylib armv7s  <32be9d5e3cf331449dc721918fe68901> /usr/lib/system/libmacho.dylib
0x397d3000 - 0x397d4fff libremovefile.dylib armv7s  <f194a68d448b3e169b2009a17af77a80> /usr/lib/system/libremovefile.dylib
0x397d5000 - 0x397e2fff libsystem_asl.dylib armv7s  <466e30f1d8f03803975292042874ed17> /usr/lib/system/libsystem_asl.dylib
0x397e3000 - 0x397e3fff libsystem_blocks.dylib armv7s  <cd492afd4dae33e08cc18b6d4bfebe1a> /usr/lib/system/libsystem_blocks.dylib
0x397e4000 - 0x39846fff libsystem_c.dylib armv7s  <bea7785730ad3697abc806bd0e436bf2> /usr/lib/system/libsystem_c.dylib
0x39847000 - 0x39849fff libsystem_configuration.dylib armv7s  <eea0d8e75c0b3bed962e0fdb654bc4da> /usr/lib/system/libsystem_configuration.dylib
0x3984a000 - 0x39850fff libsystem_dnssd.dylib armv7s  <d99f9f73749e302f8ee15a37982262c8> /usr/lib/system/libsystem_dnssd.dylib
0x39851000 - 0x39869fff libsystem_info.dylib armv7s  <3dc1420e94d733cabb8711b2acd45fec> /usr/lib/system/libsystem_info.dylib
0x3986a000 - 0x39882fff libsystem_kernel.dylib armv7s  <352b213c6b3e3e4f87f40eeb524bac2a> /usr/lib/system/libsystem_kernel.dylib
0x39883000 - 0x398a1fff libsystem_m.dylib armv7s  <096ddc81fbf539429dfe0e73afbd894f> /usr/lib/system/libsystem_m.dylib
0x398a2000 - 0x398b3fff libsystem_malloc.dylib armv7s  <56fc79587a40330e9bae6a276e7999fd> /usr/lib/system/libsystem_malloc.dylib
0x398b4000 - 0x398d3fff libsystem_network.dylib armv7s  <18bb09e9a5243a298528743763efdea3> /usr/lib/system/libsystem_network.dylib
0x398d4000 - 0x398dbfff libsystem_notify.dylib armv7s  <1d2d6d25db4b3ce6ba2ff898554c2c6f> /usr/lib/system/libsystem_notify.dylib
0x398dc000 - 0x398e0fff libsystem_platform.dylib armv7s  <544403ae9e5834bfafdef5250aa5deeb> /usr/lib/system/libsystem_platform.dylib
0x398e1000 - 0x398e6fff libsystem_pthread.dylib armv7s  <3b9209ad7912375c9ba09eaf8d98f987> /usr/lib/system/libsystem_pthread.dylib
0x398e7000 - 0x398e8fff libsystem_sandbox.dylib armv7s  <94b38e062c2a3f77bf631ba6eb96af85> /usr/lib/system/libsystem_sandbox.dylib
0x398e9000 - 0x398ebfff libsystem_stats.dylib armv7s  <cc2124d613d33e3db1a0786a4b196adf> /usr/lib/system/libsystem_stats.dylib
0x398ec000 - 0x398ecfff libunwind.dylib armv7s  <6fdd98b80180359199c8f01ae5272f2a> /usr/lib/system/libunwind.dylib
0x398ed000 - 0x39907fff libxpc.dylib armv7s  <8ae3aa0d5ebe3f139e7bfb4b32638d1c> /usr/lib/system/libxpc.dylib
 

Ok, so maybe it wasn't clear, but obviously I should have said "a stack trace with some function names in it would be helpful!" Turn on debug info!

oops! Where do I turn on debug info, do you mean in Introjucer? 

argg... ok, i changed my release build settings in introjucer to build w/ debug symbols which is what I assume you were asking for. now it won't crash anymore. i changed back the settings. still doesn't crash! i'll see if I can make it crash again, but somehow it's magically resolved itself. I don't know how that's possible considering it was crashing every time in both my app and Juce demo. I'll keep banging on it and see if I can get it to happen again.