iPhone crash possibly related to NSUserDefaults - xcode

New Information: I have replicated the crash while the phone is connected to my computer with an exception breakpoint enabled, and the application is paused at the moment. If anyone wants to help me with what I should do to get the relevant information before I stop the app, that would be great. It stopped me on a line that was creating a sound which I haven't had a problem with for weeks, so that's confusing.
I recently implemented NSUserDefaults in my game, and it's been causing crashes. The problem is, it never crashes when it'c connected to my computer so I can't actualluy catch the crash - I'm only assuming it has to do with NSUserDefaults.
As of right now I've only stored Ints in my NSUserDefaults. I have realized this morning that I haven't been using the synchronize call, could this be causing the crashes?
Also, how do you check for a key that doesn't exist?
The crash occurs when I tap to switch from the game menu into actually playing the game. One of the first lines of code in the game scene's initWithSize is a call to check and NSLog some default values.
New information: After looking at the crash logs it appears that this crash has two parts. First, a KERN_PROTECTION_FAILURE which crashes the app when I'm using it, and actually another "crash" is being reported a few minutes later, at times which I am sure I am not using the app.
EDIT: CRASH LOG 1:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28505]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:34:03.272 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000018516aefa
Triggered by Thread: 0
Thread 0 Crashed:
0 SpriteKit 0x00000001873ac364 SKCSprite::removeSubsprite(SKCSprite*) + 152
1 SpriteKit 0x00000001873a0d04 -[SKShapeNode dealloc] + 52
2 libobjc.A.dylib 0x0000000190a1d470 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 520
3 CoreFoundation 0x00000001843f9b34 _CFAutoreleasePoolPop + 24
4 UIKit 0x00000001874b6540 _wrapRunLoopWithAutoreleasePoolHandler + 72
5 CoreFoundation 0x00000001844bb854 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
6 CoreFoundation 0x00000001844b8adc __CFRunLoopDoObservers + 368
7 CoreFoundation 0x00000001844b8e68 __CFRunLoopRun + 760
8 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
9 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
10 UIKit 0x000000018752afc0 UIApplicationMain + 1152
11 Pixel Pilot 0x000000010009034c main (main.m:16)
12 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000012cd11870 x1: 0x000000012cd116d0 x2: 0x0000000000000008 x3: 0x000000019112bcdc
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x000000018516aee6 x9: 0x00000001915e4ec8 x10: 0x0000000000000067 x11: 0x00000000002c2a00
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x00000000c1fb8c17 x15: 0x0000000016ed1586
x16: 0x000000019116d42c x17: 0x00000001873a0cd0 x18: 0x0000000000000000 x19: 0x000000012cd11500
x20: 0x000000012cd11870 x21: 0x0000000193ec4380 x22: 0x0000000193ec4380 x23: 0x00000000a1a1a1a1
x24: 0x0000000193eb0098 x25: 0x000000010012c048 x26: 0xa3a3a3a3a3a3a3a3 x27: 0x000000016fda6cd0
x28: 0x0000000000000001 fp: 0x000000016fda6780 lr: 0x00000001873ac344
sp: 0x000000016fda6760 pc: 0x00000001873ac364 cpsr: 0x60000000
CRASH LOG 2:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28606]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:43:50.305 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001
Triggered by Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x0000000189cb46f8 gpus_ReturnNotPermittedKillClient + 12
1 AGXGLDriver 0x00000001830d3248 SubmitPackets + 196
2 GLEngine 0x0000000186e3fa78 gliPresentViewES_Exec + 236
3 GLEngine 0x0000000186e3f908 gliPresentViewES + 192
4 OpenGLES 0x0000000186e4cc98 -[EAGLContext presentRenderbuffer:] + 76
5 SpriteKit 0x0000000187389fb8 -[SKView _renderContent] + 1080
6 libdispatch.dylib 0x0000000190fdbfd0 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000190fe1c80 _dispatch_barrier_sync_f_invoke + 44
8 SpriteKit 0x0000000187389b40 -[SKView renderContent] + 96
9 SpriteKit 0x0000000187387790 __29-[SKView setUpRenderCallback]_block_invoke + 72
10 SpriteKit 0x00000001873a6a8c -[SKDisplayLink _callbackForNextFrame:] + 284
11 QuartzCore 0x0000000187100cb8 CA::Display::DisplayLinkItem::dispatch() + 32
12 QuartzCore 0x0000000187100ac4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 296
13 IOKit 0x00000001853fbe70 IODispatchCalloutFromCFMessage + 360
14 CoreFoundation 0x00000001844aca8c __CFMachPortPerform + 188
15 CoreFoundation 0x00000001844bb03c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x00000001844baf9c __CFRunLoopDoSource1 + 440
17 CoreFoundation 0x00000001844b91c0 __CFRunLoopRun + 1616
18 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
19 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
20 UIKit 0x000000018752afc0 UIApplicationMain + 1152
21 Pixel Pilot 0x000000010011834c main (main.m:16)
22 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000000e00002e2 x2: 0x000000012cd58950 x3: 0x0000000000000030
x4: 0x0000000000000333 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x00000000deadbeef x10: 0x0000000000003fff x11: 0x000000012cd5c000
x12: 0x000000012cd58000 x13: 0x00000000a190c48e x14: 0x000000008beb8f17 x15: 0x00000000e6b617dd
x16: 0x000000019116c3fc x17: 0x0015a535773a04d9 x18: 0x0000000000000000 x19: 0x000000012f000000
x20: 0x00000000e00002e2 x21: 0x000000012f00085c x22: 0x000000010310e043 x23: 0x0000000000000001
x24: 0x000000000000a050 x25: 0x0000000000000000 x26: 0x0000000000000668 x27: 0x000000000000a6a0
x28: 0x0000000193eb0098 fp: 0x000000016fd1d890 lr: 0x0000000189cb56ac
sp: 0x000000016fd1d840 pc: 0x0000000189cb46f8 cpsr: 0x60000000

to check if NSUserDefault object is null do this:
NSUserDefaults *example = [NSUserDefaults standardUserDefaults];
NSObject * object = [example objectForKey:#"test"];
if(object == nil)
{
//object is nil
}
else
{
//object isn't nil
}
then you need to call the when you do something inside NSUserDefault
[example synchronize];

Related

Why is my FinderSync extension crashing before it starts?

I get this crash every time my FinderSync extension starts up:
Process: My Finder Sync [8364]
Path: /Applications/Company/Container.app/Contents/PlugIns/My Finder Sync.appex/Contents/MacOS/My Finder Sync
Identifier: com.company.Container.My-Finder-Sync
Version: [Set on build machine] ([Set on build machine])
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: My Finder Sync [8364]
User ID: 1129915948
Date/Time: 2019-01-04 11:31:34.146 -0500
OS Version: Mac OS X 10.13.6 (17G4015)
Report Version: 12
Anonymous UUID: 013E2942-CED9-22FA-438A-E3D0BA89EB5C
Sleep/Wake UUID: D21EDE9D-237A-412A-8456-B96453886BAD
Time Awake Since Boot: 3200 seconds
Time Since Wake: 2600 seconds
System Integrity Protection: disabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: 37990439-1DFE-4F0B-9865-6FC1D34A3BE4)'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff31eb523b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff59147c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff31ef64c4 _CFThrowFormattedException + 202
3 CoreFoundation 0x00007fff31db87cc -[__NSDictionaryM setObject:forKey:] + 1020
4 Foundation 0x00007fff3408b348 -[_NSExtensionContextVendor _setPrincipalObject:forUUID:] + 106
5 Foundation 0x00007fff3408ab04 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 804
6 libdispatch.dylib 0x00007fff59d2f5fa _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff59d27db8 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff59d33395 _dispatch_main_queue_callback_4CF + 1148
9 CoreFoundation 0x00007fff31e6db39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 CoreFoundation 0x00007fff31e2fcda __CFRunLoopRun + 2586
11 CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
12 HIToolbox 0x00007fff31119d96 RunCurrentEventLoopInMode + 286
13 HIToolbox 0x00007fff31119b06 ReceiveNextEventCommon + 613
14 HIToolbox 0x00007fff31119884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
15 AppKit 0x00007fff2f3c9a73 _DPSNextEvent + 2085
16 AppKit 0x00007fff2fb5fe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
17 AppKit 0x00007fff2f3be885 -[NSApplication run] + 764
18 AppKit 0x00007fff2f38da72 NSApplicationMain + 804
19 libxpc.dylib 0x00007fff5a0bbd77 _xpc_objc_main + 580
20 libxpc.dylib 0x00007fff5a0ba9ca xpc_main + 433
21 Foundation 0x00007fff33f825f5 +[NSXPCListener serviceListener] + 0
22 PlugInKit 0x00007fff50ddbf8d -[PKService run] + 704
23 PlugInKit 0x00007fff50ddbb99 +[PKService main] + 55
24 PlugInKit 0x00007fff50ddbfb1 +[PKService _defaultRun:arguments:] + 17
25 Foundation 0x00007fff34130229 NSExtensionMain + 51
26 libdyld.dylib 0x00007fff59d61015 start + 1
27 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff59eb1b66 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5a07c080 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff59e0d1ae abort + 127
3 libc++abi.dylib 0x00007fff57d07f8f abort_message + 245
4 libc++abi.dylib 0x00007fff57d0812b default_terminate_handler() + 265
5 libobjc.A.dylib 0x00007fff59149ea3 _objc_terminate() + 97
6 libc++abi.dylib 0x00007fff57d237c9 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff57d23843 std::terminate() + 51
8 libdispatch.dylib 0x00007fff59d27dcc _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff59d33395 _dispatch_main_queue_callback_4CF + 1148
10 com.apple.CoreFoundation 0x00007fff31e6db39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 com.apple.CoreFoundation 0x00007fff31e2fcda __CFRunLoopRun + 2586
12 com.apple.CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
13 com.apple.HIToolbox 0x00007fff31119d96 RunCurrentEventLoopInMode + 286
14 com.apple.HIToolbox 0x00007fff31119b06 ReceiveNextEventCommon + 613
15 com.apple.HIToolbox 0x00007fff31119884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 com.apple.AppKit 0x00007fff2f3c9a73 _DPSNextEvent + 2085
17 com.apple.AppKit 0x00007fff2fb5fe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
18 com.apple.AppKit 0x00007fff2f3be885 -[NSApplication run] + 764
19 com.apple.AppKit 0x00007fff2f38da72 NSApplicationMain + 804
20 libxpc.dylib 0x00007fff5a0bbd77 _xpc_objc_main + 580
21 libxpc.dylib 0x00007fff5a0ba9ca xpc_main + 433
22 com.apple.Foundation 0x00007fff33f825f5 -[NSXPCListener resume] + 165
23 com.apple.pluginkit.framework 0x00007fff50ddbf8d -[PKService run] + 704
24 com.apple.pluginkit.framework 0x00007fff50ddbb99 +[PKService main] + 55
25 com.apple.pluginkit.framework 0x00007fff50ddbfb1 +[PKService _defaultRun:arguments:] + 17
26 com.apple.Foundation 0x00007fff34130229 NSExtensionMain + 51
27 libdyld.dylib 0x00007fff59d61015 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 4:
0 libsystem_pthread.dylib 0x00007fff5a078bdc start_wqthread + 0
1 ??? 0x0004000200000006 0 + 1125908496777222
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff59ea820a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff59ea7724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff31e30665 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff31e2f9b7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff2f506fc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff5a079661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff5a07950d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff5a078bf9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff927a7380 rcx: 0x00007ffee31a6c68 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee31a6ca0 rsp: 0x00007ffee31a6c68
r8: 0x00007ffee31a6b30 r9: 0x00007ffee31a6d00 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000000307 r13: 0x0000000000000030 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff59eb1b66 rfl: 0x0000000000000206 cr2: 0x00007fff92784168
As you can see there's only Apple platform stuff in there. Even worse, is that this happens before any of my code is called! At least, it never hits my breakpoint in my FIFinderSync class' init.
So what's going on here? Why is it crashing with something about a UUID key and nil value in some dictionary? I've gone through all my code and ensured that can't happen (I do have some dictionaries like that, but all are in Swift code and the values are not optional so can never be nil; nevermind that their breakpoints aren't hit either).
Swift does some name mangling, even when it doesn't seem like it. When you do something like reference a class name via a string, like in a FinderSync extension's info.plist, that doesn't always work as intended in Swift.
For instance, if you have a class like:
#objc
class MyFinderSyncPrinicpalClass: FIFinderSync {
// ...
}
try compiling that and looking at the generated Obj-C header. It probably looks something like this:
SWIFT_CLASS("_TtC17My_Finder_Sync10MyFinderSyncPrinicpalClass")
#interface MyFinderSyncPrinicpalClass : FIFinderSync
// ...
#end
This means that Swift and Objective-C code can both simply refer to it as MyFinderSyncPrinicpalClass, but anything that wants to refer to its compiled form via a string, such as in reflection or that info.plist, sees that mangled name _TtC17My_Finder_Sync10MyFinderSyncPrinicpalClass. To fix this, simply specify the name explicitly in the #objc annotation:
#objc(MyFinderSyncPrinicpalClass)
class MyFinderSyncPrinicpalClass: FIFinderSync {
// ...
}
Now if you compare that to the newly-generated Obj-C header, you'll see what I mean:
SWIFT_CLASS("MyFinderSyncPrinicpalClass")
#interface MyFinderSyncPrinicpalClass : FIFinderSync
// ...
#end
Now you may refer to it by its actual name in info.plist, and it'll be started up as intended!
My guess is that something in the Info.plist of your extension is wrong. Perhaps there's a missing value there and when the OS attempts to get its value, it gets back nil. It may then attempt to put that value into another dictionary when the exception occurs. Judging from the names of the functions involved, it might be your Principal Class or similar entry from the Info.plist file that's missing.

Building for 10.8.5

I am building an app that works fine in most OS X versions, but I have users who want to use it on 10.8.5
I have built with a deployment target of 10.8 and I get crashes on launch in 10.8.5:
Process: Test [301]
Path: /Users/USER/Desktop/Test.app/Contents/MacOS/Test
Identifier: com.map-pin.Test
Version: 2.33 (3330)
Code Type: X86-64 (Native)
Parent Process: launchd [124]
User ID: 501
Date/Time: 2016-02-09 14:17:57.391 -0500
OS Version: Mac OS X 10.8.5 (12F2560)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000060
VM Regions Near 0x60:
-->
__TEXT 0000000108374000-0000000108423000 [ 700K] r-x/rwx SM=COW /Users/USER/Desktop/Test.app/Contents/MacOS/Test
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff8c380670 strlen + 16
1 com.apple.Foundation 0x00007fff83a76d81 +[NSString stringWithCString:encoding:] + 86
2 com.map-pin.Test 0x000000010837c038 -[AppDelegate getDef] + 120
3 com.map-pin.Test 0x00000001083be38f -[AppDelegate applicationDidFinishLaunching:] + 751
4 com.apple.CoreFoundation 0x00007fff8a188eda _CFXNotificationPost + 2554
5 com.apple.Foundation 0x00007fff83a53796 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
6 com.apple.AppKit 0x00007fff8507652d -[NSApplication _postDidFinishNotification] + 292
7 com.apple.AppKit 0x00007fff85076266 -[NSApplication _sendFinishLaunchingNotification] + 216
8 com.apple.AppKit 0x00007fff85073452 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 566
9 com.apple.AppKit 0x00007fff8507304c -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 351
10 com.apple.Foundation 0x00007fff83a6d05b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
11 com.apple.Foundation 0x00007fff83a6cebd _NSAppleEventManagerGenericHandler + 106
12 com.apple.AE 0x00007fff8e906e68 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
13 com.apple.AE 0x00007fff8e906cc9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
14 com.apple.AE 0x00007fff8e906b89 aeProcessAppleEvent + 318
15 com.apple.HIToolbox 0x00007fff8eb0c709 AEProcessAppleEvent + 100
16 com.apple.AppKit 0x00007fff8506f836 _DPSNextEvent + 1456
17 com.apple.AppKit 0x00007fff8506edf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
18 com.apple.AppKit 0x00007fff850661a3 -[NSApplication run] + 517
19 com.apple.AppKit 0x00007fff8500abd6 NSApplicationMain + 869
20 com.map-pin.Test 0x00000001083ee8e2 main + 34
21 libdyld.dylib 0x00007fff8de5a7e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8a7f0d16 kevent + 10
1 libdispatch.dylib 0x00007fff86157dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff861579ee _dispatch_mgr_thread + 54
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8a7f06d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c394f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff8c394ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff8c37f191 start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00000000ffffffff rbx: 0x0000000000000060 rcx: 0x0000000000000060 rdx: 0x0000000000000060
rdi: 0x0000000000000060 rsi: 0x00007fff858b9059 rbp: 0x00007fff5788ae30 rsp: 0x00007fff5788ae08
r8: 0x0000000000000000 r9: 0x00007fff5788ad98 r10: 0x00007fe7f2c3c8c0 r11: 0x00007fff83a76d2b
r12: 0x0000000000000001 r13: 0x0000000000000000 r14: 0x0000000000000004 r15: 0x00007fff7256d780
rip: 0x00007fff8c380670 rfl: 0x0000000000010286 cr2: 0x0000000000000060
Logical CPU: 0
Is there a good way to figure out whats going on here?
I had to track down a few methods that were not available until 10.9.x by going through the traces.

Xcode crashes on selecting tab in color panel

I am facing this strange issue from few hours and it started suddenly. Whenever I try to select different tab in color panel in Xcode,the whole Xcode crashes with the error,
UNCAUGHT EXCEPTION (NSRangeException): Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
Following is the full stack trace for error,
Process: Xcode [1958]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.2 (7718)
Build Info: IDEFrameworks-7718000000000000~2
App Item ID: 497799835
App External ID: 812404257
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1958]
User ID: 501
Date/Time: 2015-06-20 13:50:18.080 +0530
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: 1A8B5EF9-7E79-106C-D0F5-5648FF5FD699
Time Awake Since Boot: 6500 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6D2105
UNCAUGHT EXCEPTION (NSRangeException): Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8a22e024 __exceptionPreprocess (in CoreFoundation)
1 0x0000000104b5abb4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8839f76e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8a22deed +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff89de0896 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] (in Foundation)
5 0x00007fff89de05d9 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] (in Foundation)
6 0x00007fff89de04a4 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] (in Foundation)
7 0x00007fff8ae8f09b -[NSScrollView _setWindow:] (in AppKit)
8 0x00007fff8a14d705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
9 0x00007fff8a14ce09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
10 0x00007fff8b535474 __21-[NSView _setWindow:]_block_invoke735 (in AppKit)
11 0x00007fff89e013be -[NSISEngine withBehaviors:performModifications:] (in Foundation)
12 0x00007fff8adb1c54 -[NSView _setWindow:] (in AppKit)
13 0x00007fff8ade9091 -[NSView removeFromSuperview] (in AppKit)
14 0x00007fff8b280034 -[NSColorPanel _switchToPicker:] (in AppKit)
15 0x00007fff8b0ee1b1 -[NSToolbarButton sendAction:to:] (in AppKit)
16 0x00007fff8afdef5a -[NSToolbarItemViewer mouseDown:] (in AppKit)
17 0x00007fff8b54f2fc -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
18 0x00007fff8aeded76 -[NSWindow sendEvent:] (in AppKit)
19 0x00007fff8aedb312 -[NSApplication sendEvent:] (in AppKit)
20 0x0000000105bd8c14 -[IDEApplication sendEvent:] (in IDEKit)
21 0x00007fff8ae04c68 -[NSApplication run] (in AppKit)
22 0x00007fff8ad81354 NSApplicationMain (in AppKit)
23 0x00007fff952435c9 start (in libdyld.dylib)
24 0x0000000000000001
abort() called
Application Specific Signatures:
NSRangeException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8a22e03c __exceptionPreprocess + 172
1 DVTFoundation 0x0000000104b5abb4 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff8839f76e objc_exception_throw + 43
3 CoreFoundation 0x00007fff8a22deed +[NSException raise:format:] + 205
4 Foundation 0x00007fff89de0896 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 604
5 Foundation 0x00007fff89de05d9 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 114
6 Foundation 0x00007fff89de04a4 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] + 253
7 AppKit 0x00007fff8ae8f09b -[NSScrollView _setWindow:] + 342
8 CoreFoundation 0x00007fff8a14d705 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
9 CoreFoundation 0x00007fff8a14ce09 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
10 AppKit 0x00007fff8b535474 __21-[NSView _setWindow:]_block_invoke735 + 169
11 Foundation 0x00007fff89e013be -[NSISEngine withBehaviors:performModifications:] + 155
12 AppKit 0x00007fff8adb1c54 -[NSView _setWindow:] + 3191
13 AppKit 0x00007fff8ade9091 -[NSView removeFromSuperview] + 453
14 AppKit 0x00007fff8b280034 -[NSColorPanel _switchToPicker:] + 231
15 AppKit 0x00007fff8b0ee1b1 -[NSToolbarButton sendAction:to:] + 75
16 AppKit 0x00007fff8afdef5a -[NSToolbarItemViewer mouseDown:] + 4981
17 AppKit 0x00007fff8b54f2fc -[NSWindow _reallySendEvent:isDelayedEvent:] + 14125
18 AppKit 0x00007fff8aeded76 -[NSWindow sendEvent:] + 470
19 AppKit 0x00007fff8aedb312 -[NSApplication sendEvent:] + 2504
20 IDEKit 0x0000000105bd8c14 -[IDEApplication sendEvent:] + 924
21 AppKit 0x00007fff8ae04c68 -[NSApplication run] + 711
22 AppKit 0x00007fff8ad81354 NSApplicationMain + 1832
23 libdyld.dylib 0x00007fff952435c9 start + 1
24 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8f7c7286 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff85fb6b53 abort + 129
2 com.apple.dt.IDEKit 0x0000000105e09753 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1507
3 com.apple.dt.IDEKit 0x0000000105e0a9c8 -[IDEAssertionHandler handleUncaughtException:] + 1077
4 com.apple.dt.IDEKit 0x0000000105e0aa94 IDEHandleUncaughtException + 94
5 com.apple.AppKit 0x00007fff8ae04d1c -[NSApplication run] + 891
6 com.apple.AppKit 0x00007fff8ad81354 NSApplicationMain + 1832
7 libdyld.dylib 0x00007fff952435c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8f7c8232 kevent64 + 10
1 libdispatch.dylib 0x00007fff92c90a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff89e28a59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.DTDeviceKitBase 0x000000010f108f3c -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 974
7 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
8 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
9 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
10 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8f7c73fa __select + 10
1 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
2 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
3 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 7:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.CFNetwork 0x00007fff8600f220 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
6 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
7 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.AppKit 0x00007fff8aed766b _NSEventThread + 137
6 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
7 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
8 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 9:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.Foundation 0x00007fff89e28a59 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278
6 com.apple.Foundation 0x00007fff89e9e17f -[NSRunLoop(NSRunLoop) run] + 74
7 com.apple.GPUToolsMobileFoundation 0x00000001175d789b -[DYMobileDeviceManager _deviceNotificationThread:] + 134
8 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
9 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
10 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
11 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff8f7c794a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d7cb40d start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 14:
0 libsystem_kernel.dylib 0x00007fff8f7c7136 __psynch_cvwait + 10
1 com.apple.Xcode.DevToolsCore 0x000000010eb59866 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 456
2 com.apple.Foundation 0x00007fff89dd6dc2 __NSThread__main__ + 1345
3 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
4 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
5 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 15:
0 libsystem_kernel.dylib 0x00007fff8f7c24de mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f7c164f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8a13ceb4 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8a13c37b __CFRunLoopRun + 1371
4 com.apple.CoreFoundation 0x00007fff8a13bbd8 CFRunLoopRunSpecific + 296
5 com.apple.CoreFoundation 0x00007fff8a1f3671 CFRunLoopRun + 97
6 com.apple.DebugSymbols 0x00007fff8ace1b8f SpotlightQueryThread(void*) + 463
7 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
8 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
9 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 16:
0 libsystem_kernel.dylib 0x00007fff8f7c748a __semwait_signal + 10
1 com.apple.CoreSymbolication 0x00007fff882dbe67 0x7fff882c9000 + 77415
2 libsystem_pthread.dylib 0x00007fff8d7cd268 _pthread_body + 131
3 libsystem_pthread.dylib 0x00007fff8d7cd1e5 _pthread_start + 176
4 libsystem_pthread.dylib 0x00007fff8d7cb41d thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007fff5b27e948 rdx: 0x0000000000000000
rdi: 0x000000000000130f rsi: 0x0000000000000006 rbp: 0x00007fff5b27e970 rsp: 0x00007fff5b27e948
r8: 0x0000000000001fff r9: 0x00007fb8f3c38f60 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x00007fff8839a440 r13: 0x00007fb8f3eb68c0 r14: 0x00007fff77741300 r15: 0x00007fb8f3c23f00
rip: 0x00007fff8f7c7286 rfl: 0x0000000000000206 cr2: 0x00000001075f70e0
Logical CPU: 0
Error Code: 0x020000b8
Trap Number: 133
Thank you very much in advance.
In my case exactly the same issue was caused by ColorSenseRainbow plugin I installed via Alcatraz. As soon as I removed it, everything went back to normal.
This seems like an issue on Apple's part. Let me digest that log for you:
UNCAUGHT EXCEPTION: Cannot remove an observer <NSColorPickerPageableNameListScrollView 0x7fb8f6ce0910> for the key path "contentLayoutRect" from <HighlightColorPanel 0x7fb8f6c94af0> because it is not registered as an observer.
So, in the code for Xcode, what it's trying to do is remove the observer that is of type NSColorPickerPagableNameListScrollView (the up/down list that selects a dev's color preferences in IB) at memory address 0x7b7f6ce0910 from the HighlightColorPanel (possibly the dialog that's a color picker) at memory address 0x7fb8f6c94af0 before the scroll view registered as an observer of the color picker for the key path contentLayoutRect.
In layman's terms, the scrolling color view is an observer of the color picker, which makes seeing your color preferences easier. When the color picker selects a color, it sends a notification to its observer, the scrolling color box.
However, when the box is closed, the scroll view should remove itself from the observer tree, that is, the listing of items that are observers of the box, in an effort to get rid of (and deallocate resources for) the box.
The bug exists in just that part of the code, since, apparently, the scroll view never registered as an observer for the key path contentLayoutRect. It was an observer for everything else but that. Since it couldn't tell what the observer was when it tried to get rid of it, the system derped and crashed.

Xcode doesn't launch: "Xcode quit unexpectedly"

I got a new Macbook Pro(second hand,formatted and wiped clean) and tried installing Xcode on it. But for some reason, it just doesn't launch after installation. It gives the error "Xcode quit unexpectedly" and "Click Reopen to launch it again", but when I click Reopen, I get the same error box again (Screenshot below).
I went through similar questions and tried launching Xcode through the terminal as described in this answer, but through this process, the Xcode icon briefly starts up in the dock, and disappears after 3 seconds, with no error message on the terminal at all.
Please help.
EDIT:
Including part of crash report:
Process: Xcode [846]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.2 (7718)
Build Info: IDEFrameworks-7718000000000000~2
App Item ID: 497799835
App External ID: 812404257
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [846]
User ID: 501
Date/Time: 2015-05-21 22:30:08.322 -0400
OS Version: Mac OS X 10.10.3 (14D131)
Report Version: 11
Anonymous UUID: 35E6816B-554F-7731-9409-E1CA9F1808B3
Sleep/Wake UUID: 86FF739A-E75B-4EA9-9BC2-25505518A562
Time Awake Since Boot: 750 seconds
Time Since Wake: 410 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff560ea000
VM Regions Near 0x7fff560ea000:
Stack 00007fff558ea000-00007fff560ea000 [ 8192K] rw-/rwx SM=COW thread 0
-->
__TEXT 00007fff6ddea000-00007fff6de21000 [ 220K] r-x/rwx SM=COW /usr/lib/dyld
Application Specific Information:
ProductBuildVersion: 6D2105
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8b87b670 __CFUniCharPrioritySort + 32
1 com.apple.CoreFoundation 0x00007fff8b86380b CFStringNormalize + 2715
2 ??? 0x000000010cc01a00 0 + 4508883456
3 com.apple.CoreFoundation 0x00007fff8b8535f5 parseQuotedPlistString + 1029
4 com.apple.CoreFoundation 0x00007fff8b852363 parsePlistObject + 419
5 com.apple.CoreFoundation 0x00007fff8b852df4 parsePlistDictContent + 692
6 com.apple.CoreFoundation 0x00007fff8b85237c parsePlistObject + 444
7 com.apple.CoreFoundation 0x00007fff8b852df4 parsePlistDictContent + 692
8 com.apple.CoreFoundation 0x00007fff8b85237c parsePlistObject + 444
9 com.apple.CoreFoundation 0x00007fff8b852882 parsePlistObject + 1730
10 com.apple.CoreFoundation 0x00007fff8b851f1e __CFCreateOldStylePropertyListOrStringsFile + 638
11 com.apple.CoreFoundation 0x00007fff8b7ceee0 _CFPropertyListCreateFromUTF8Data + 2240
12 com.apple.CoreFoundation 0x00007fff8b8cfa2e _CFPropertyListCreateFromXMLStringError + 270
13 com.apple.CoreFoundation 0x00007fff8b8cfaa8 _CFPropertyListCreateFromXMLString + 88
14 com.apple.Foundation 0x00007fff9537137e -[NSString(NSExtendedStringPropertyListParsing) propertyList] + 59
15 com.apple.dt.DVTFoundation 0x0000000109b39059 +[DVTSourceSpecification registerSpecificationProxiesFromPropertyListsInDirectory:recursively:inBundle:] + 1306
16 com.apple.dt.DVTFoundation 0x0000000109b38afb +[DVTSourceSpecification registerSpecificationProxiesFromPropertyListsInDirectory:recursively:] + 75
17 com.apple.dt.DVTFoundation 0x0000000109b3867b +[DVTSourceSpecification searchForAndRegisterAllAvailableSpecifications] + 1243
18 com.apple.dt.IDEFoundation 0x000000010a7711cb IDEInitialize + 988
19 com.apple.dt.IDEKit 0x000000010ad5078c -[IDEApplicationController applicationWillFinishLaunching:] + 710
20 com.apple.CoreFoundation 0x00007fff8b8c745c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
21 com.apple.CoreFoundation 0x00007fff8b7b7634 _CFXNotificationPost + 3140
22 com.apple.Foundation 0x00007fff952809d1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
23 com.apple.dt.DVTFoundation 0x0000000109cc9918 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 162
24 com.apple.AppKit 0x00007fff9299ef57 -[NSApplication finishLaunching] + 440
25 com.apple.dt.DVTKit 0x000000010a271952 -[DVTApplication finishLaunching] + 149
26 com.apple.AppKit 0x00007fff9299ea21 -[NSApplication run] + 128
27 com.apple.AppKit 0x00007fff9291b354 NSApplicationMain + 1832
28 libdyld.dylib 0x00007fff8b4c35c9 start + 1
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff95093232 kevent64 + 10
1 libdispatch.dylib 0x00007fff8e847a6a _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9509294a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8c92740d start_wqthread + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000002 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff560ea000 rsi: 0x00007fff99c1d0eb rbp: 0x00007fff560e8248 rsp: 0x00007fff560e8238
r8: 0x00007febf1446540 r9: 0x00027ffd3ed0a7e0 r10: 0xffffffffffffffff r11: 0xffffffec9d852c23
r12: 0x000000000cc01a00 r13: 0x00007febf393b270 r14: 0x00007fff560e8c60 r15: 0x00007febf28c831c
rip: 0x00007fff8b87b670 rfl: 0x0000000000010283 cr2: 0x00007fff560ea000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14

App crashes in review but not locally - How can I find the source from the crashlog?

I have submitted a new version of my app for review and it was rejected because the app crashed. I got a screenshot showing the button that was clicked before the crash and the crashlog. However I was not able to reproducte the problem and have no idea what the source could be.
The button triggers a disconnection from iCloud which actually just releases some resources. Nothing that should make any trouble. I tried to interpret the crashlog but had no success. I studied several resources from the web but was not able to find any clue what might be the source of the problem.
I managed to symbolicate the crashlog. However this does not change a lot since only the two first entries in the crashed thread belong to my own code. The Exception Codes are not helpfull to me either.
Can anyone see more details from the log or give me a hint were to start with my search? Thank you very much!
Process: MyApp [69811]
Path: /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier: com.example.MyApp
Version: 1.2 (1.2)
App Item ID: 0
App External ID: 0
Code Type: X86-64 (Native)
Parent Process: launchd [184]
Responsible: MyApp [69811]
User ID: 201
Date/Time: 2014-01-29 13:20:22.910 -0800
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: FE66701D-3E78-131A-A6CA-844122FA6616
Sleep/Wake UUID: DF88CF2B-42D1-40BD-BAC7-4C433EC11A34
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9266ea52 __semwait_signal_nocancel + 10
1 libsystem_c.dylib 0x00007fff8ca39a7c nanosleep$NOCANCEL + 189
2 libsystem_c.dylib 0x00007fff8ca635fe usleep$NOCANCEL + 54
3 libsystem_c.dylib 0x00007fff8ca8fbc4 abort + 135
4 coop.plausible.CrashReporter 0x000000010343030e uncaught_exception_handler + 27
5 com.apple.CoreFoundation 0x00007fff8bc0f8c2 __handleUncaughtException + 706
6 libobjc.A.dylib 0x00007fff8a805304 _objc_terminate() + 94
7 libc++abi.dylib 0x00007fff8e6623e1 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff8e662456 std::terminate() + 54
9 libobjc.A.dylib 0x00007fff8a8050b0 objc_terminate + 9
10 libdispatch.dylib 0x00007fff91e912c1 _dispatch_client_callout + 28
11 libdispatch.dylib 0x00007fff91e98f03 _dispatch_main_queue_callback_4CF + 333
12 com.apple.CoreFoundation 0x00007fff8bb76839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
13 com.apple.CoreFoundation 0x00007fff8bb31b14 __CFRunLoopRun + 1636
14 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
15 com.apple.HIToolbox 0x00007fff93622f0d RunCurrentEventLoopInMode + 226
16 com.apple.HIToolbox 0x00007fff93622cb7 ReceiveNextEventCommon + 479
17 com.apple.HIToolbox 0x00007fff93622abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
18 com.apple.AppKit 0x00007fff875e928e _DPSNextEvent + 1434
19 com.apple.AppKit 0x00007fff875e88db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
20 com.apple.AppKit 0x00007fff875dc9cc -[NSApplication run] + 553
21 com.apple.AppKit 0x00007fff875c7803 NSApplicationMain + 940
22 com.example.MyApp 0x0000000102f92242 main (receipt.h:4115)
23 com.example.MyApp 0x0000000102f8adb4 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9266f662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91e9343d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff91e93152 _dispatch_mgr_thread + 52
Thread 2:: Dispatch queue: com.apple.coredata.ubiquity.entry.pq
0 libsystem_kernel.dylib 0x00007fff9266aa56 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff91e95a15 _dispatch_semaphore_wait_slow + 206
2 com.apple.CoreServicesInternal 0x00007fff931587a0 Dispatch_to_LBGetAttributeValueForItem(__CFURL const*, __CFString const*, void const**, __CFError**) + 450
3 com.apple.CoreServicesInternal 0x00007fff931588e8 ExternalProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 97
4 com.apple.CoreServicesInternal 0x00007fff9314517f prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 227
5 com.apple.CoreServicesInternal 0x00007fff93142e6b _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 213
6 com.apple.CoreServicesInternal 0x00007fff93142d91 _FSURLCopyResourcePropertyForKey + 15
7 com.apple.CoreFoundation 0x00007fff8bb1d6bb CFURLCopyResourcePropertyForKey + 123
8 com.apple.CoreFoundation 0x00007fff8bb247e8 -[NSURL getResourceValue:forKey:error:] + 72
9 com.apple.CoreData 0x00007fff8e8a5cab -[PFUbiquityLocationStatus getBoolResourceFromURL:forKey:] + 59
10 com.apple.CoreData 0x00007fff8e8a5989 -[PFUbiquityLocationStatus checkFileURLState] + 217
11 com.apple.CoreData 0x00007fff8e96141d -[PFUbiquityFilePresenter processPendingURLs] + 1453
12 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff91e9368f _dispatch_queue_drain + 451
15 libdispatch.dylib 0x00007fff91e949dd _dispatch_queue_invoke + 110
16 libdispatch.dylib 0x00007fff91e92fa3 _dispatch_root_queue_drain + 75
17 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
18 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
19 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff9266dfe2 __fcntl + 10
1 libsystem_kernel.dylib 0x00007fff9266ca4d fcntl + 240
2 libsqlite3.dylib 0x00007fff88c3885d unixSync + 45
3 libsqlite3.dylib 0x00007fff88c4c4f6 sqlite3WalCheckpoint + 1990
4 libsqlite3.dylib 0x00007fff88c3e926 sqlite3WalClose + 134
5 libsqlite3.dylib 0x00007fff88c3e701 sqlite3PagerClose + 49
6 libsqlite3.dylib 0x00007fff88c3e19c sqlite3BtreeClose + 316
7 libsqlite3.dylib 0x00007fff88c4a673 sqlite3_close + 771
8 com.apple.CoreData 0x00007fff8e868de4 -[NSSQLiteConnection disconnect] + 164
9 com.apple.CoreData 0x00007fff8e868cb2 -[NSSQLCore _disconnect] + 34
10 com.apple.CoreData 0x00007fff8e868a54 -[NSSQLCore willRemoveFromPersistentStoreCoordinator:] + 132
11 com.apple.CoreData 0x00007fff8e887d21 -[NSPersistentStoreCoordinator dealloc] + 1041
12 com.apple.CoreData 0x00007fff8e9cfb3e -[PFUbiquityMetadataFactoryEntry dealloc] + 158
13 com.apple.CoreFoundation 0x00007fff8bada86f CFRelease + 591
14 com.apple.CoreData 0x00007fff8e9c9634 -[PFUbiquityMetadataFactory removeCachedCoordinatorsForLocalPeerID:storeName:andUbiquityRootLocation:] + 164
15 com.apple.CoreData 0x00007fff8e96c921 __56-[PFUbiquitySwitchboardEntry unregisterPersistentStore:]_block_invoke + 129
16 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
17 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff91e9309e _dispatch_root_queue_drain + 326
19 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
20 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
21 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8bb32315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8bb31939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff877891ce _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff9266ea3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8caaee60 nanosleep + 200
2 libsystem_c.dylib 0x00007fff8caaed52 usleep + 54
3 com.example.MyApp 0x0000000103094935 0x102f89000 + 1095989
4 com.apple.Foundation 0x00007fff8ac0f70b __NSThread__main__ + 1318
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000000000003c rbx: 0x0000000000000000 rcx: 0x00007fff5cc73cc8 rdx: 0x0000000000000001
rdi: 0x0000000000000b03 rsi: 0x0000000000000000 rbp: 0x00007fff5cc73d00 rsp: 0x00007fff5cc73cc8
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000001 r11: 0x0000000000000246
r12: 0x00007fff77a019d0 r13: 0x0000610000249c60 r14: 0x0000000000000000 r15: 0x00007fff5cc73d10
rip: 0x00007fff9266ea52 rfl: 0x0000000000000247 cr2: 0x000000010b7ea000
Logical CPU: 0
Error Code: 0x02000170
Trap Number: 133
Binary Images:
0x102f89000 - 0x10323bfc7 +com.example.MyApp (1.2 - 1.2) <B83E276E-EE1B-34FC-A2F3-2A2B83B5C9FB> /Applications/MyApp.app/Contents/MacOS/MyApp
0x1032cb000 - 0x1032dbfff com.apple.StoreKit (1.0 - 232.2) <4A239D2B-4D42-399B-B4F5-EA24297F0E0A> /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit
0x1032f0000 - 0x103311fff +com.dropbox.DropboxOSX (1.0 - 1) <E049D51A-3D0F-39BF-A6B9-5AE5C2012C4B> /Applications/MyApp.app/Contents/Frameworks/DropboxOSX.framework/Versions/A/DropboxOSX
0x103330000 - 0x10333dfff +net.hockeyapp.sdk.mac (1.0.3 - 13) <EDD42403-6A15-37BD-B07A-0C6A29955477> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/HockeySDK
0x103351000 - 0x1033d3fff +org.coreplot.CorePlot (1.0) <DD903A7E-06AB-39BD-82E2-BB0FD05039F1> /Applications/MyApp.app/Contents/Frameworks/CorePlot.framework/Versions/A/CorePlot
0x10342c000 - 0x103444fff +coop.plausible.CrashReporter (1.2-beta2) <F09BAC64-DB6C-3692-9089-0A631F40D8B6> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/Frameworks/CrashReporter.framework/Versions/A/CrashReporter
0x1098b3000 - 0x1098b3fff +cl_kernels (???) <EEF0C5B5-FBEF-4C91-A93B-63B238713561> cl_kernels
0x109900000 - 0x109901fe4 +cl_kernels (???) <038F9490-12F9-40EF-9EC7-A399B73361D4> cl_kernels
0x10990f000 - 0x109910ff9 +cl_kernels (???) <18DB399D-475A-40A3-871B-1C1F473D917F> cl_kernels
0x109912000 - 0x1099f8fef unorm8_bgra.dylib (2.3.58) <9FF943D1-4EF7-36CA-852D-B61C2E554713> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
0x10b468000 - 0x10b468ffd +cl_kernels (???) <AEC6D084-A290-485C-BD7C-8E4F139A79E2> cl_kernels
0x10b6ec000 - 0x10b6effff libspindump.dylib (161) <588EDDE0-B20A-3649-92B7-C2226EB237E8> /usr/lib/libspindump.dylib
0x123440000000 - 0x12344087bff7 com.apple.GeForceGLDriver (8.18.22 - 8.1.8) <CFA88606-8A16-3251-A1AA-4BC5F5D74E1C> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
0x7fff608d3000 - 0x7fff60906817 dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff86ffb000 - 0x7fff87005fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff87006000 - 0x7fff872dafc7 com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff872db000 - 0x7fff87322fff libFontRegistry.dylib (127) <A77A0480-
...Stripped due to the post size limit...
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 296574
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=217.9M resident=113.2M(52%) swapped_out_or_unallocated=104.6M(48%)
Writable regions: Total=194.4M written=23.0M(12%) resident=57.7M(30%) swapped_out=0K(0%) unallocated=136.7M(70%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 7840K
CG image 184K
CG raster data 292K
CG shared images 204K
CoreAnimation 4756K
CoreData 4K
CoreData Object IDs 4100K
CoreGraphics 4K
CoreImage 8K
Foundation 4K
IOKit 26.6M
IOKit (reserved) 4K reserved VM address space (unallocated)
Image IO 16K
Kernel Alloc Once 8K
MALLOC 118.7M
MALLOC (admin) 32K
Memory Tag 242 12K
Memory Tag 251 24K
OpenCL 40K
SQLite page cache 1024K
STACK GUARD 56.0M
Stack 13.1M
VM_ALLOCATE 21.5M
__DATA 44.7M
__IMAGE 528K
__LINKEDIT 66.5M
__TEXT 151.4M
__UNICODE 544K
mapped file 54.3M
shared memory 68K
=========== =======
TOTAL 572.1M
TOTAL, minus reserved VM space 572.1M

Resources