github / Rebel

Cocoa framework for improving AppKit
Other
1.13k stars 111 forks source link

Weak rbl_viewController reference causing EXC_BAD_ACCESS errors #115

Closed jaredholdcroft closed 11 years ago

jaredholdcroft commented 11 years ago

Hi,

I'm fairly new to OSX dev and very new to Rebel so i'm sure i'm missing something obvious here.

I'm using Rebel, via cocoapods, and as i've started to add more complex view hierarchies I have started to get EXC_BAD_ACCESS errors at line 61 of NSVIew+RBLViewControllerAdditions:

if ([self.rbl_viewController isKindOfClass:[RBLViewController class]]) { 

Looking through the code I noticed that the rbl_viewController object association policy is assign i.e. a weak reference. Changing this to be OBJC_ASSOCIATION_RETAIN_NONATOMIC has fixed my problem but i'm not sure of the full impact of this. I guess my main question is - what could I be doing wrong so that I need to retain this reference?

It happens a in 10.8 and 10.9 and we're using ARC.

Full stack trace:

Hardware Model:      MacPro3,1
Process:         Neenah Cabinet [29766]
Path:            /Applications/Neenah Cabinet 3.app/Contents/MacOS/Neenah Cabinet
Identifier:      com.neenah.cabinet.Neenah-Cabinet
Version:         1
Code Type:       X86-64
Parent Process:  launchd [159]

Date/Time:       2013-11-22 14:49:27 +0000
OS Version:      Mac OS X 10.8.5 (12F37)
Report Version:  104

Exception Type:  SIGSEGV
Exception Codes: SEGV_NOOP at 0x0
Crashed Thread:  0

Thread 0 Crashed:
0   libobjc.A.dylib                      0x00007fff8d5fb36e objc_retain + 14
1   Neenah Cabinet                       0x00000001031c0921 -[NSView(NSView_RBLViewControllerAdditions) custom_viewWillMoveToSuperview:] (NSView+RBLViewControllerAdditions.m:61)
2   AppKit                               0x00007fff8c630edb -[NSScrollView viewWillMoveToSuperview:] + 87
3   AppKit                               0x00007fff8c56b3b8 -[NSView _setSuperview:] + 303
4   AppKit                               0x00007fff8c56e29e -[NSView removeFromSuperview] + 421
5   AppKit                               0x00007fff8c69fef0 -[NSScrollView removeFromSuperview] + 338
6   AppKit                               0x00007fff8c69ba4f -[NSView removeFromSuperviewWithoutNeedingDisplay] + 39
7   AppKit                               0x00007fff8c58c52b -[NSView _finalizeWithReferenceCounting] + 965
8   AppKit                               0x00007fff8c58c13e -[NSView dealloc] + 42
9   libobjc.A.dylib                      0x00007fff8d5fb230 _ZN12_GLOBAL__N_119AutoreleasePoolPage3popEPv + 464
10  CoreFoundation                       0x00007fff8e217d72 _CFAutoreleasePoolPop + 34
11  Foundation                           0x00007fff86f3a47a -[NSAutoreleasePool drain] + 154
12  AppKit                               0x00007fff8c58e27e -[NSApplication run] + 736
13  AppKit                               0x00007fff8c532bd6 NSApplicationMain + 869
14  Neenah Cabinet                       0x000000010313fec4 start + 52

Thread 1:
0   libsystem_kernel.dylib               0x00007fff84892d16 kevent + 10
1   libdispatch.dylib                    0x00007fff875eb9ee _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib               0x00007fff84890686 mach_msg_trap + 10
1   CoreFoundation                       0x00007fff8e217233 __CFRunLoopServiceMachPort + 195
2   CoreFoundation                       0x00007fff8e21c916 __CFRunLoopRun + 1078
3   CoreFoundation                       0x00007fff8e21c0e2 CFRunLoopRunSpecific + 290
4   Foundation                           0x00007fff86f17546 +[NSURLConnection(Loader) _resourceLoadLoop:] + 356
5   Foundation                           0x00007fff86f75562 __NSThread__main__ + 1345
6   libsystem_c.dylib                    0x00007fff8bcde772 _pthread_start + 327
7   libsystem_c.dylib                    0x00007fff8bccb1a1 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib               0x00007fff84892322 __select + 10
1   libsystem_c.dylib                    0x00007fff8bcde772 _pthread_start + 327
2   libsystem_c.dylib                    0x00007fff8bccb1a1 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib               0x00007fff84890686 mach_msg_trap + 10
1   CoreFoundation                       0x00007fff8e217233 __CFRunLoopServiceMachPort + 195
2   CoreFoundation                       0x00007fff8e21c916 __CFRunLoopRun + 1078
3   CoreFoundation                       0x00007fff8e21c0e2 CFRunLoopRunSpecific + 290
4   Foundation                           0x00007fff86f7a7ee -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 268
5   Foundation                           0x00007fff86f131aa -[NSRunLoop(NSRunLoop) run] + 74
6   Neenah Cabinet                       0x00000001031a1140 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:185)
7   Foundation                           0x00007fff86f75562 __NSThread__main__ + 1345
8   libsystem_c.dylib                    0x00007fff8bcde772 _pthread_start + 327
9   libsystem_c.dylib                    0x00007fff8bccb1a1 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 10:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 11:
0   libsystem_kernel.dylib               0x00007fff848926d6 __workq_kernreturn + 10
1   libsystem_c.dylib                    0x00007fff8bce0ce3 _pthread_wqthread + 412
2   libsystem_c.dylib                    0x00007fff8bccb191 start_wqthread + 13

Thread 12:
0   ???                                  0x0000000000000000 0x0 + 0

Thread 0 crashed with X86-64 Thread State:
   rip: 0x00007fff8d5fb36e    rbp: 0x00007fff5cac1410    rsp: 0x00007fff5cac13c8    rax: 0x7000000000000000 
   rbx: 0x00007fff8d5f7240    rcx: 0x00007fae98c564b0    rdx: 0x0000000000000000    rdi: 0x00007fae97b1a6c0 
   rsi: 0x00007fae98c56510     r8: 0xffff80516844469f     r9: 0x0000000000001fff    r10: 0x000000010838a7e0 
   r11: 0x00007fae92412940    r12: 0x00007fff8d5f7200    r13: 0x0000000004808001    r14: 0x0000000000000000 
   r15: 0x00007fae97be08f0 rflags: 0x0000000000010246     cs: 0x000000000000002b     fs: 0x0000000000000000 
    gs: 0x0000000000000000 

Binary Images:
       0x10313e000 -        0x103211fff +Neenah Cabinet x86_64  <7dcee6fbfa133a0a8d613a1359a2aca1> /Applications/Neenah Cabinet 3.app/Contents/MacOS/Neenah Cabinet
       0x10326b000 -        0x1032a3fff +HockeySDK x86_64  <9970508176ca320f873fa84c6a4ad51d> /Applications/Neenah Cabinet 3.app/Contents/Frameworks/HockeySDK.framework/Versions/A/HockeySDK
       0x10522a000 -        0x105233fff  libcldcpuengine.dylib x86_64  <b6e3b14b1eac3fdd8aed87231a033bed> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
       0x1052c1000 -        0x1052c2fff  cl_kernels x86_64  <9fb7f4597ece440f8e43394b625b545f> cl_kernels
       0x1052cf000 -        0x1052cffff  cl_kernels x86_64  <18e51f7409f241d5bd8bd257a031ac8d> cl_kernels
       0x105449000 -        0x105449fff  cl_kernels x86_64  <789012dce7f9483f9f17b0e644798346> cl_kernels
       0x105453000 -        0x105453fff  cl_kernels x86_64  <43ebe2aecd3a466a8975194bb913554d> cl_kernels
       0x105f5c000 -        0x105ff6fff  unorm8_bgra.dylib x86_64  <5d62bed8df5d3c5194b457368ff10ddb> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra.dylib
       0x108835000 -        0x1089f3fff  GLEngine x86_64  <1bd4d913ce6c3389b4e1fc7352e4c23f> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
       0x108a2a000 -        0x108b9afff  libGLProgrammability.dylib x86_64  <3e488cef57513073b8ee0b4ca39cb6ab> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
       0x108bd2000 -        0x108e9bfff  AMDRadeonX3000GLDriver x86_64  <7c205f2af9423d2da5d6c5c8dadd81e4> /System/Library/Extensions/AMDRadeonX3000GLDriver.bundle/Contents/MacOS/AMDRadeonX3000GLDriver
       0x108ef9000 -        0x108efefff  IOAccelerator x86_64  <d8c401794a2934019b356e61ea278d41> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
       0x108f06000 -        0x108f12fff  libGPUSupportMercury.dylib x86_64  <1de2d7f9c0313bbfbd5f4e1208b6f296> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
       0x109319000 -        0x109344fff  GLRendererFloat x86_64  <055ec8e72d7e370c96addbeedb106927> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
       0x10a65a000 -        0x10a6f0fff  unorm8_rgba.dylib x86_64  <853bebc4aed93ce2b91d3d666e7c7c8f> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba.dylib
    0x7fff81e8c000 -     0x7fff81e9ffff  LangAnalysis x86_64  <2f2694e9a7bc33c7b4cf8ec907df0feb> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff81ea0000 -     0x7fff81fa2fff  libcrypto.0.9.8.dylib x86_64  <cf3bab7e497239fdaf9228acaff0873e> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff81ffb000 -     0x7fff82043fff  libcurl.4.dylib x86_64  <ebdbf42de4a63d05a76b2817d79d59e2> /usr/lib/libcurl.4.dylib
    0x7fff82044000 -     0x7fff82044fff  Carbon x86_64  <372716d26fa1361185013dd1d4a6e8c8> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff82045000 -     0x7fff82045fff  vecLib x86_64  <6cbbfdc4415c39109558b67176447789> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff82046000 -     0x7fff822b3fff  RawCamera x86_64  <1588cec6012e30e5bf385bbdabb2f48f> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x7fff822b4000 -     0x7fff822eafff  DebugSymbols x86_64  <14e788b14eb23fd7934b849534dfc198> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff822eb000 -     0x7fff82520fff  CoreData x86_64  <a676e1a42144376b92b8b450dd1d78e5> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff82521000 -     0x7fff82523fff  TrustEvaluationAgent x86_64  <a97d348b32bf3e528df259bfad21e1a3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff827ac000 -     0x7fff827cdfff  libCRFSuite.dylib x86_64  <736abe588ded3289a042c25af7ae5b23> /usr/lib/libCRFSuite.dylib
    0x7fff828fd000 -     0x7fff82908fff  libsystem_notify.dylib x86_64  <c49275cc835a3207afba8c01374927b6> /usr/lib/system/libsystem_notify.dylib
    0x7fff82916000 -     0x7fff82929fff  libbsm.0.dylib x86_64  <f497d3ce40d9355184b43d5e39600737> /usr/lib/libbsm.0.dylib
    0x7fff8292a000 -     0x7fff8292afff  libkeymgr.dylib x86_64  <cc9e3394be16397f926be579b60ee429> /usr/lib/system/libkeymgr.dylib
    0x7fff82978000 -     0x7fff82987fff  libxar.1.dylib x86_64  <370ed355e516311ebafdd80633a84be1> /usr/lib/libxar.1.dylib
    0x7fff82988000 -     0x7fff82a45fff  ColorSync x86_64  <6ce333aeeddb376895989db38041dc55> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff82a46000 -     0x7fff82a68fff  libxpc.dylib x86_64  <70bc645b69523264930cc835010ccef9> /usr/lib/system/libxpc.dylib
    0x7fff82a9f000 -     0x7fff82ab6fff  libGL.dylib x86_64  <f8baba3c78103a6583fc61945aa50e90> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff82b21000 -     0x7fff82b4dfff  libRIP.A.dylib x86_64  <cc2a33eb409c3c4d97d441f4a080f874> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff82b4e000 -     0x7fff82f6bfff  FaceCoreLight x86_64  <ddaffd7ad3123407a0105aef3e17831b> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x7fff82f6c000 -     0x7fff82f6efff  SecurityHI x86_64  <34e45c60dc7e3fcca1edebf48b77c559> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff83052000 -     0x7fff83054fff  libCVMSPluginSupport.dylib x86_64  <f0239392e0cb37d7bfe2d6f5d42f9196> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff83055000 -     0x7fff83063fff  libkxld.dylib x86_64  <6d1610c779f838a5bfb2f58f134bc8ea> /usr/lib/system/libkxld.dylib
    0x7fff83064000 -     0x7fff83067fff  libRadiance.dylib x86_64  <c317b2c7ca3a329fb6dc7cc33fe08c81> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff83068000 -     0x7fff8306efff  libCGXCoreImage.A.dylib x86_64  <fbaaf93317983e53b07188c930d6bdef> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    0x7fff8306f000 -     0x7fff83079fff  SpeechRecognition x86_64  <d803919c31023515a17861e9c86c46a1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8307a000 -     0x7fff83205fff  WebKit x86_64  <56b86fa1ed74300189421ca2281540ec> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x7fff83206000 -     0x7fff83218fff  libz.1.dylib x86_64  <2a1551e8a2723de5b692955974fe1416> /usr/lib/libz.1.dylib
    0x7fff83219000 -     0x7fff83299fff  ATS x86_64  <39b53565fa313f61b090c787c983142e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8329a000 -     0x7fff832d2fff  libtidy.A.dylib x86_64  <9009156b84f53781bfcbb409b538cd18> /usr/lib/libtidy.A.dylib
    0x7fff839c3000 -     0x7fff839dafff  CFOpenDirectory x86_64  <ffbba53800b5334eba5bc8ad6cdcda14> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff839db000 -     0x7fff83a02fff  PerformanceAnalysis x86_64  <e4888388f41b313e9cbb5807d077bda9> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff83a63000 -     0x7fff83a67fff  libGIF.dylib x86_64  <ad40d0846e3438cd967d705f94b188da> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff83a6d000 -     0x7fff83a7afff  libbz2.1.0.dylib x86_64  <ce9785e8b5353504b39282f0064d9af2> /usr/lib/libbz2.1.0.dylib
    0x7fff83a7b000 -     0x7fff83c7bfff  libicucore.A.dylib x86_64  <5783d30504e83d1794f71ceafa975240> /usr/lib/libicucore.A.dylib
    0x7fff83cd7000 -     0x7fff83dd4fff  libsqlite3.dylib x86_64  <ade9cb98d77d300ca32a556b7440769f> /usr/lib/libsqlite3.dylib
    0x7fff83e35000 -     0x7fff83e8afff  libTIFF.dylib x86_64  <7706bb07e7e838bea5f0d8b63e3b9283> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff83ff2000 -     0x7fff83ff6fff  libCGXType.A.dylib x86_64  <16625094813e39f89afec1a24ed11749> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff8404a000 -     0x7fff840a1fff  ScalableUserInterface x86_64  <f1d43dfb1796361bad4b39f1eed3be19> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff840a2000 -     0x7fff84217fff  CFNetwork x86_64  <223724756ef43a0483fcc061fe4717b3> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff84720000 -     0x7fff84721fff  libSystem.B.dylib x86_64  <365477abd641389db8f4a1fae9657eee> /usr/lib/libSystem.B.dylib
    0x7fff84722000 -     0x7fff847bdfff  CoreSymbolication x86_64  <7d43ed93bd81338c80766a932a1d19e8> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff8480e000 -     0x7fff8482ffff  Ubiquity x86_64  <c9a7ee77b6373676b667c0843bbb0409> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
    0x7fff84830000 -     0x7fff8487ffff  libcorecrypto.dylib x86_64  <ce0c29a3c420339badaa52f4683233cc> /usr/lib/system/libcorecrypto.dylib
    0x7fff84880000 -     0x7fff8489bfff  libsystem_kernel.dylib x86_64  <3323e9ad23173c7aab7f1c81f5e148b7> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8489c000 -     0x7fff848b2fff  MultitouchSupport x86_64  <0f7fee29161b3d8ebe91308cbd354461> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff848b3000 -     0x7fff848e1fff  Shortcut x86_64  <c573db6537fb3ddcab19525094346d9b> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
    0x7fff848e2000 -     0x7fff84a68fff  libBLAS.dylib x86_64  <c102c0f68cb63b49ba6b2eb61f0b2784> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff84a69000 -     0x7fff84b89fff  DesktopServicesPriv x86_64  <ed3da8c0160f3cdcb537bf2e766ab7c1> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff84b8a000 -     0x7fff84be4fff  PrintCore x86_64  <5ba0cbed4d80386a9646f835c9805b71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff84be5000 -     0x7fff84c67fff  Heimdal x86_64  <acf0c6675acc382aa99861e85386c814> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff84c68000 -     0x7fff8505ffff  libLAPACK.dylib x86_64  <d632ec8b2ba03853800a20da00a1091c> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff85060000 -     0x7fff85061fff  libremovefile.dylib x86_64  <6763bc8e18b83ad98ffab43713a7264f> /usr/lib/system/libremovefile.dylib
    0x7fff85067000 -     0x7fff850cafff  CoreAudio x86_64  <feab83ab1de53813ba487a7f2374ccf0> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff850cb000 -     0x7fff850d7fff  CrashReporterSupport x86_64  <de6afe16d97e399d82ed3522c773c36e> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff850d8000 -     0x7fff850f8fff  libPng.dylib x86_64  <3466f35cec1a3d1a80dc175857fa19d5> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff850f9000 -     0x7fff85100fff  libcopyfile.dylib x86_64  <876573d0e9073566a108577ead1b6182> /usr/lib/system/libcopyfile.dylib
    0x7fff8510a000 -     0x7fff8510efff  libCoreVMClient.dylib x86_64  <db009cd4bb0e3331bbb4a118781d193f> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff8510f000 -     0x7fff85139fff  CoreVideo x86_64  <e50829666d813973a05a38aa5b85f886> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8513a000 -     0x7fff851bbfff  Metadata x86_64  <69e3eef78b7b36528320b8e885370e56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff851ef000 -     0x7fff8523bfff  libauto.dylib x86_64  <ad5a4ce7cb53313c9fae673303cc2d35> /usr/lib/libauto.dylib
    0x7fff85440000 -     0x7fff85447fff  libGFXShared.dylib x86_64  <b4ab94802cdb34f88d6ff5a2cfc221b0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff85448000 -     0x7fff85476fff  libsystem_m.dylib x86_64  <b434be5c25ab3ebdbaa75304b34e3441> /usr/lib/system/libsystem_m.dylib
    0x7fff8547a000 -     0x7fff8547afff  vecLib x86_64  <f565b68624e239f2acc3c5e4084476be> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8547b000 -     0x7fff85486fff  ServiceManagement x86_64  <c12962d585fb349eaa5664f4f487f219> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff85499000 -     0x7fff854befff  libc++abi.dylib x86_64  <d86169f39f31377a9af3db17142052e4> /usr/lib/libc++abi.dylib
    0x7fff854bf000 -     0x7fff854bffff  libOpenScriptingUtil.dylib x86_64  <f868122209693b108bcec55a4b9c520c> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff854c0000 -     0x7fff8553efff  SecurityFoundation x86_64  <c5461971e45531a699b8af80c4bc26dd> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff85659000 -     0x7fff8565dfff  CommonPanels x86_64  <aac003de2d6e38b7b66b1f3da91e7245> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff8565e000 -     0x7fff85660fff  libquarantine.dylib x86_64  <143b726edf4737a890aaf059cfd1a2e4> /usr/lib/system/libquarantine.dylib
    0x7fff857c5000 -     0x7fff857d6fff  libsasl2.2.dylib x86_64  <649cae0e8ffe3c60a849be6300e4b726> /usr/lib/libsasl2.2.dylib
    0x7fff857d7000 -     0x7fff857e3fff  libCSync.A.dylib x86_64  <319d3e83808639908773872f2e7c6eb3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff85aad000 -     0x7fff85b47fff  libvMisc.dylib x86_64  <a7f12764a94c36eb88e0f826f5af55b4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff85b48000 -     0x7fff85ba4fff  Symbolication x86_64  <f2c7e0b6b2413020b30a0636d0fa3378> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff85ba5000 -     0x7fff85d40fff  vImage x86_64  <fae13169295a33a58e6b7c2cc1407fa7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff85d41000 -     0x7fff85d49fff  libsystem_dnssd.dylib x86_64  <bdcb8566018934c0963435abd3efe25b> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff85ead000 -     0x7fff85ee8fff  LDAP x86_64  <7e4f2c08001034aebc46149b7ee8a0f5> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff85ee9000 -     0x7fff85eeffff  libmacho.dylib x86_64  <bf332ad9e89f387e92a46e1ab74bd4d9> /usr/lib/system/libmacho.dylib
    0x7fff85ef0000 -     0x7fff85efefff  libsystem_network.dylib x86_64  <0d99f24e56fe380fb81b4a4c630ee587> /usr/lib/system/libsystem_network.dylib
    0x7fff85eff000 -     0x7fff85f14fff  ImageCapture x86_64  <17a45ce67da336a5b7ef72bc136981ae> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff85f17000 -     0x7fff85f34fff  OpenScripting x86_64  <c008f56a1e013d4ca9af97799d0fae69> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff85f6c000 -     0x7fff85fa5fff  libssl.0.9.8.dylib x86_64  <46df85dc18fb310891f652ae3ebf2347> /usr/lib/libssl.0.9.8.dylib
    0x7fff867e5000 -     0x7fff867e9fff  IOSurface x86_64  <26f01cd4b76b37a3989d66e8140542b3> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff86932000 -     0x7fff8693dfff  CommonAuth x86_64  <1ca95702ddc73adb891e7f037abdda14> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff8697b000 -     0x7fff86a19fff  Ink x86_64  <3d8d16a27e013ea1b63783a36d353308> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff86a36000 -     0x7fff86a38fff  libunc.dylib x86_64  <92805328cd3634ff9436571ab0485072> /usr/lib/system/libunc.dylib
    0x7fff86a74000 -     0x7fff86a79fff  OpenDirectory x86_64  <cf44120b9b0132dd852ec9c0e1243fc0> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff86d32000 -     0x7fff86d39fff  NetFS x86_64  <82e24b9a77423da39e99ed267d98c05e> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff86d84000 -     0x7fff86d85fff  libDiagnosticMessagesClient.dylib x86_64  <8548e0dc0d2f30b6b045fe8a038e76d8> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff86d86000 -     0x7fff86dd7fff  SystemConfiguration x86_64  <581bf463c15a363b999ae830222fa925> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff86e3f000 -     0x7fff86e44fff  libcompiler_rt.dylib x86_64  <08f8731d596139f1ad004590321d24a9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff86e8d000 -     0x7fff86eb4fff  FamilyControls x86_64  <50f5a52c8fb6300a977d5cfde4d5796b> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff86ecf000 -     0x7fff86edcfff  NetAuth x86_64  <f5bc7d7daf283c83a674dada48ff7810> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff86edd000 -     0x7fff86eddfff  CoreServices x86_64  <9dd44cb0c64435c38f570b41b3ec147d> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff86edf000 -     0x7fff8723efff  Foundation x86_64  <1d7e58e6fa3a3ce8ac85b9d06b8c0aa0> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8723f000 -     0x7fff8756ffff  HIToolbox x86_64  <656d08c290683532abdd32ec5057ccb2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff875de000 -     0x7fff875e6fff  liblaunch.dylib x86_64  <2f71caf86524329eac56c506658b4c0c> /usr/lib/system/liblaunch.dylib
    0x7fff875e7000 -     0x7fff875fcfff  libdispatch.dylib x86_64  <d26996bffc5739eb8829f63585561e09> /usr/lib/system/libdispatch.dylib
    0x7fff875fd000 -     0x7fff8766afff  DataDetectorsCore x86_64  <5775f0db87d6310d8b03e2ad729efb28> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff8770b000 -     0x7fff877d0fff  CoreUI x86_64  <83d2c92d68423c9d928939d5b4554c3a> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff877d1000 -     0x7fff877d5fff  TCC x86_64  <f2f3b753fc7335438bbe859fdbb4d6a6> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff877d6000 -     0x7fff8787cfff  OSServices x86_64  <e91b0882e75c30e98dcd7a0eee4405cc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8787d000 -     0x7fff87b4efff  Security x86_64  <f428e306c4073b55ba82e58755e8a76f> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff87b4f000 -     0x7fff87b5dfff  Librarian x86_64  <5ac286667642395fa923c6f8a274bbbd> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
    0x7fff87b5e000 -     0x7fff87b86fff  libJPEG.dylib x86_64  <64a3eb0334fb308c817b6106d1f4d80f> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff87b87000 -     0x7fff87b8dfff  libunwind.dylib x86_64  <21703d362dab3d8b8442eaab23c060d3> /usr/lib/system/libunwind.dylib
    0x7fff87b8e000 -     0x7fff87c1bfff  SearchKit x86_64  <c7f43889f8bf3cb9ad6611aefcbcede7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff87c1c000 -     0x7fff87c1dfff  libsystem_sandbox.dylib x86_64  <b739da63b675387aad84412a651143c0> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff87c20000 -     0x7fff87c26fff  DiskArbitration x86_64  <c713a35a360e36ceac0a25c86a3f50ca> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff87c2f000 -     0x7fff87dddfff  QuartzCore x86_64  <f450f2de2f24355798b6310e05dac17f> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff87dde000 -     0x7fff87e1bfff  libGLImage.dylib x86_64  <91e31b9b414136d5abdc20f1d6d1d0cf> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff87e1c000 -     0x7fff87eeffff  DiscRecording x86_64  <49fd2d2f4f2c39b6877b6e3172577d18> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
    0x7fff881b5000 -     0x7fff881b5fff  AudioUnit x86_64  <6d31468074093bc7a80736341411af9a> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff881b6000 -     0x7fff88308fff  AudioToolbox x86_64  <dc5f3d1b036a37debc247636dc95ea1c> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff88342000 -     0x7fff8844dfff  libFontParser.dylib x86_64  <96c42e4979a63475b5e46a782599a6da> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff8844e000 -     0x7fff884fffff  LaunchServices x86_64  <07fc6766778e34798f28d2c9917e1dd1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff88500000 -     0x7fff88544fff  libcups.2.dylib x86_64  <9f35b58af47e348a8e09e235fa4b9270> /usr/lib/libcups.2.dylib
    0x7fff88545000 -     0x7fff88554fff  OpenGL x86_64  <ad49cf56b7c13598861058532fc41345> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff885e8000 -     0x7fff886e5fff  libxml2.2.dylib x86_64  <47b09cb2c63630248b556040f7829b4c> /usr/lib/libxml2.2.dylib
    0x7fff886e6000 -     0x7fff8871cfff  libsystem_info.dylib x86_64  <4ffca2427f04365f87a6d4efb89503c1> /usr/lib/system/libsystem_info.dylib
    0x7fff8871d000 -     0x7fff88721fff  libpam.2.dylib x86_64  <c8f458645b58323787e12c258a1d73b8> /usr/lib/libpam.2.dylib
    0x7fff8884d000 -     0x7fff8886ffff  Kerberos x86_64  <c49b882034ed39d7a407a3e854153556> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8887d000 -     0x7fff888aefff  DictionaryServices x86_64  <fb0540ff50343591a28d6887fbc220f7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff888af000 -     0x7fff888bcfff  HelpData x86_64  <ee68bdccaf2e34d38e4f87379e3a4d8e> /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
    0x7fff888bd000 -     0x7fff889bffff  libJP2.dylib x86_64  <26ffbdbf9cce33d7a45b0a31c98da37e> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff889c0000 -     0x7fff889c3fff  Help x86_64  <343904fe3022357397d65fe17f8643ba> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff89473000 -     0x7fff8954dfff  Backup x86_64  <6b65c44c77773331ad9d438d10aac777> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff8954e000 -     0x7fff8958efff  MediaKit x86_64  <8aaa8cc33acd34a59e579b24ad8afd4d> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
    0x7fff89753000 -     0x7fff89792fff  QD x86_64  <77a20c25ebb5341ca05c5d458b97ad5c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8979e000 -     0x7fff897e1fff  RemoteViewServices x86_64  <5cfa361d48533acc9efca2ac1f43ba4b> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff8989f000 -     0x7fff898fefff  AE x86_64  <44f403c1660a3543ab9c3902e02f936f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff898ff000 -     0x7fff89939fff  GSS x86_64  <423bdfcc91873f3eabb0d280003eb15e> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff899bf000 -     0x7fff89ad8fff  ImageIO x86_64  <6552c6739f293b31a12ec4391a950965> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff89ad9000 -     0x7fff89adafff  libsystem_blocks.dylib x86_64  <d92dcbc3541c37bdaadeacc75a0c59c8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff89adb000 -     0x7fff89afafff  ChunkingLibrary x86_64  <8bec9afbdcaa37e8a5ab24422b234ecf> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff89afb000 -     0x7fff8aabafff  WebCore x86_64  <3ff4783bef7534f5995c316557148a18> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
    0x7fff8ab26000 -     0x7fff8b4b6fff  CoreGraphics x86_64  <c085c07472603c3d90c6a65d3cb2bd41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff8b4d6000 -     0x7fff8b52cfff  HIServices x86_64  <bcd36950013f35c2918e05a93a47be8c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8bb52000 -     0x7fff8bb54fff  Print x86_64  <34666cc2b86d3313b3b6a9977ad593da> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff8bb55000 -     0x7fff8bbbdfff  libvDSP.dylib x86_64  <3ca154a31be53cf4be48f0a719a963bb> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8bbbe000 -     0x7fff8bbbefff  Accelerate x86_64  <878a6e7ecb34380f821247fbf12c7c96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8bc4b000 -     0x7fff8bc5ffff  SpeechSynthesis x86_64  <94edf2ab809c3d15bed57ad45b2a7c16> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8bc8d000 -     0x7fff8bcb8fff  libxslt.1.dylib x86_64  <441776b891303893956f39c85ffa644f> /usr/lib/libxslt.1.dylib
    0x7fff8bcca000 -     0x7fff8bd96fff  libsystem_c.dylib x86_64  <543b05aecfa53efe8e5877225411ba6b> /usr/lib/system/libsystem_c.dylib
    0x7fff8c01e000 -     0x7fff8c023fff  libcache.dylib x86_64  <65187c6e3fbf3eb8a1aa389445e2984d> /usr/lib/system/libcache.dylib
    0x7fff8c024000 -     0x7fff8c119fff  libiconv.2.dylib x86_64  <fee8b996eb4437fab96ed379664defe1> /usr/lib/libiconv.2.dylib
    0x7fff8c11a000 -     0x7fff8c188fff  IOKit x86_64  <a90038ed48f23cc9a04253a3d7985844> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8c442000 -     0x7fff8d06ffff  AppKit x86_64  <199962f0b06b36668fd55c90374ba16a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff8d07a000 -     0x7fff8d0bdfff  Bom x86_64  <0bf1f2d2364836b7be4b551a0173209b> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff8d0be000 -     0x7fff8d0ddfff  libresolv.9.dylib x86_64  <0882dc2da89231ffad8c0bb518c48b23> /usr/lib/libresolv.9.dylib
    0x7fff8d173000 -     0x7fff8d181fff  libcommonCrypto.dylib x86_64  <baafe0c9bb863ca788c0e3cba98da06f> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8d182000 -     0x7fff8d273fff  DiskImages x86_64  <5c56181f1e9f336ab7bb620565a8bd6e> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
    0x7fff8d274000 -     0x7fff8d28bfff  GenerationalStorage x86_64  <fd4a84b313a83c60a59e25a361447a17> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff8d28c000 -     0x7fff8d28ffff  libdyld.dylib x86_64  <f59367c9c110382ba6959035a6dd387e> /usr/lib/system/libdyld.dylib
    0x7fff8d290000 -     0x7fff8d52bfff  JavaScriptCore x86_64  <fe3c5add43d333c991508dcefda218e2> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7fff8d52c000 -     0x7fff8d52cfff  ApplicationServices x86_64  <a3abf20bed3a32b5830eb37831a45a80> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8d52d000 -     0x7fff8d595fff  libc++.1.dylib x86_64  <20e31b9019b93c2aa9eb474e08f9fe05> /usr/lib/libc++.1.dylib
    0x7fff8d596000 -     0x7fff8d5f0fff  OpenCL x86_64  <3c7dfb2cb3f93447a1fceaaa42181a6e> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff8d5f1000 -     0x7fff8d709fff  libobjc.A.dylib x86_64  <90d31928f48d3e37874f220a51fd9e37> /usr/lib/libobjc.A.dylib
    0x7fff8d70a000 -     0x7fff8d717fff  AppleFSCompression x86_64  <5508344a2a7e312295626f363910a80e> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff8db94000 -     0x7fff8db9dfff  CommerceCore x86_64  <af35874a6fa7328ebe308bbef0b741a8> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff8db9e000 -     0x7fff8dbccfff  CoreServicesInternal x86_64  <f4e118e4e327331483d7ea20b1717ed0> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff8dbcd000 -     0x7fff8dc17fff  libGLU.dylib x86_64  <6699dea69eeb3b84a57fb25ae44ec584> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff8dc18000 -     0x7fff8dc18fff  Cocoa x86_64  <1f77945cf37a3171b22ef7ab0fcbb4d4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8dc19000 -     0x7fff8dc82fff  libstdc++.6.dylib x86_64  <eaa2b53eeade39cfa0effb9d4940672a> /usr/lib/libstdc++.6.dylib
    0x7fff8dc83000 -     0x7fff8dc84fff  libdnsinfo.dylib x86_64  <14202ffbc3ca3fcc94b014611bf8692d> /usr/lib/system/libdnsinfo.dylib
    0x7fff8e0c2000 -     0x7fff8e111fff  libFontRegistry.dylib x86_64  <2e03d7da9b8f31bb8fb53d3b6272127f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8e112000 -     0x7fff8e113fff  liblangid.dylib x86_64  <864c409dd56b383e9b44a435a47f2346> /usr/lib/liblangid.dylib
    0x7fff8e114000 -     0x7fff8e1e6fff  CoreText x86_64  <ab493289e1883cca86581e5039715f82> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff8e1e7000 -     0x7fff8e3d1fff  CoreFoundation x86_64  <0f7403ca2cb83d0a992b679701df27ca> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8e3de000 -     0x7fff8e682fff  CoreImage x86_64  <cc6dd22bffc6310bbe132397a02c79ef> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8e812000 -     0x7fff8eb29fff  CarbonCore x86_64  <1e567a52677f3168979f5fbb0818d52b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
joshaber commented 11 years ago

It sounds like the view controller's being deallocated before its associated view is.

Be sure to keep your view controller alive as long as your view is, and to remove the view from the view hierarchy when your view controller is deallocated.

jspahrsummers commented 11 years ago

Changing this to be OBJC_ASSOCIATION_RETAIN_NONATOMIC has fixed my problem but i'm not sure of the full impact of this.

The view controller retains the view, so this would create a retain cycle (with the view also retaining the controller in turn).

jaredholdcroft commented 11 years ago

I finally tracked down the problem - somehow in one of our xibs the rbl_viewController outlet had been manually connected up the parent NSViewController!

Thanks for replying so quickly to my issue, it was a big help.