OSX crash happening on system libraries and no sign of my app - macos

A crash is occurring in my app but the crash report only shows system libraries. It is clear that my app is provoking the issue but because 1) of its size and 2) there isn't sign of any of my libraries in the stack trace, I can't figure out where it is happening. As far as I know it is related with NSUrlConnection but it is being used in lots of places.
Does any body knows how can I used Atos or lldb to symbolicate when my app is NOT being mentioned in the stack trace?
Below is the stack.
Thanks
Thread 33:: com.apple.NSURLConnectionLoader Dispatch queue: com.apple.CFFileDescriptor
0 com.apple.CoreFoundation 0x00007fff9d3a2add __CFFileDescriptorEnableCallBacks_block_invoke + 13
1 libdispatch.dylib 0x00007fff9b13440b _dispatch_client_callout + 8
2 libdispatch.dylib 0x00007fff9b1359f2 _dispatch_barrier_sync_f_invoke + 74
3 com.apple.CoreFoundation 0x00007fff9d3a2ab4 CFFileDescriptorEnableCallBacks + 180
4 com.apple.CoreFoundation 0x00007fff9d42cdaa constructCFFD + 122
5 com.apple.CoreFoundation 0x00007fff9d36e48e fileOpen + 238
6 com.apple.CoreFoundation 0x00007fff9d3626a8 _CFStreamOpen + 120
7 com.apple.CoreFoundation 0x00007fff9d36e37f CFReadStreamOpen + 95
8 com.apple.CFNetwork 0x00007fff911b27fe FileURLProtocol::_protocolInterface_startLoad(_CFCachedURLResponse const*) + 578
9 com.apple.CFNetwork 0x00007fff91041350 ___ZN19URLConnectionLoader27_private_ScheduleOriginLoadEPK12NSURLRequestPK20_CFCachedURLResponse_block_invoke_2 + 61
10 com.apple.CFNetwork 0x00007fff910412f1 ___ZNK19URLConnectionLoader25withExistingProtocolAsyncEU13block_pointerFvP11URLProtocolE_block_invoke + 25
11 libdispatch.dylib 0x00007fff9b13440b _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff9b142039 _dispatch_block_invoke + 474
13 com.apple.CFNetwork 0x00007fff9104017c RunloopBlockContext::_invoke_block(void const*, void*) + 24
14 com.apple.CoreFoundation 0x00007fff9d33ad74 CFArrayApplyFunction + 68
15 com.apple.CFNetwork 0x00007fff91040075 RunloopBlockContext::perform() + 137
16 com.apple.CFNetwork 0x00007fff9103ff16 MultiplexerSource::perform() + 282
17 com.apple.CFNetwork 0x00007fff9103fd38 MultiplexerSource::_perform(void*) + 72
18 com.apple.CoreFoundation 0x00007fff9d398881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 com.apple.CoreFoundation 0x00007fff9d377fbc __CFRunLoopDoSources0 + 556
20 com.apple.CoreFoundation 0x00007fff9d3774df __CFRunLoopRun + 927
21 com.apple.CoreFoundation 0x00007fff9d376ed8 CFRunLoopRunSpecific + 296
22 com.apple.CFNetwork 0x00007fff9101aa6d +[NSURLConnection(Loader) _resourceLoadLoop:] + 412
23 com.apple.Foundation 0x00007fff9b195e64 __NSThread__start__ + 1351
24 libsystem_pthread.dylib 0x00007fff9997a99d _pthread_body + 131
25 libsystem_pthread.dylib 0x00007fff9997a91a _pthread_start + 168
26 libsystem_pthread.dylib 0x00007fff99978351 thread_start + 13

Related

macos crashlytics crashing while sending report

i have an issue with my (first) macOS app. A beta Tester gets a crash right on start of the app.
I am a bit puzzled as to why.
I have included the crashlytics framework (Version 3.9.3 (128)). It seems to me that is crashing while crashlytics is trying to send a report (from an earlier crash?).
has anyone experienced something similar?
2017-11-09 10:22:51.369 AquaCalculator[3959:1399290] [Crashlytics] Version 3.9.3 (128)
2017-11-09 10:22:51.464 AquaCalculator[3959:1399398] [Crashlytics:Crash:Reports] Packaged report with id '71a39da2c3fc41b9a563b6c2d0a20f8e' for submission
2017-11-09 10:22:52.966 AquaCalculator[3959:1399290] -[NSNull length]: unrecognized selector sent to instance 0x7fff94044b40
Illegal instruction: 4
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
more details from the crash report:
[Process completed]
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [0]
Application Specific Information:
Crashing on exception: -[NSNull length]: unrecognized selector sent to instance 0x7fff94044b40
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff39dad14b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff60df2c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff39e45d64 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff39d23530 ___forwarding___ + 1456
4 CoreFoundation 0x00007fff39d22ef8 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007fff3bf3739a getObjectValue + 444
6 Foundation 0x00007fff3bf37164 -[NSDateFormatter getObjectValue:forString:errorDescription:] + 471
7 Foundation 0x00007fff3bf36f79 -[NSDateFormatter dateFromString:] + 50
8 AquaCalculator 0x0000000100d56215 AquaCalculator + 115221
9 CFNetwork 0x00007fff38caf4ab __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19
10 CFNetwork 0x00007fff38caed05 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 147
11 Foundation 0x00007fff3beb925b __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
12 Foundation 0x00007fff3beb90bd -[NSBlockOperation main] + 68
13 Foundation 0x00007fff3beb756a -[__NSOperationInternal _start:] + 778
14 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
15 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
16 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
18 libdispatch.dylib 0x00007fff619bb1d6 dispatch_block_perform + 109
19 Foundation 0x00007fff3beb3578 __NSOQSchedule_f + 342
20 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
21 libdispatch.dylib 0x00007fff619b432d _dispatch_main_queue_callback_4CF + 1148
22 CoreFoundation 0x00007fff39d658e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
23 CoreFoundation 0x00007fff39d27b0a __CFRunLoopRun + 2586
24 CoreFoundation 0x00007fff39d26e63 CFRunLoopRunSpecific + 483
25 HIToolbox 0x00007fff3903fe26 RunCurrentEventLoopInMode + 286
26 HIToolbox 0x00007fff3903fb96 ReceiveNextEventCommon + 613
27 HIToolbox 0x00007fff3903f914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
28 AppKit 0x00007fff37334483 _DPSNextEvent + 2085
29 AppKit 0x00007fff37ac9ff8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
30 AppKit 0x00007fff37329291 -[NSApplication run] + 764
31 AppKit 0x00007fff372f8436 NSApplicationMain + 804
32 libdyld.dylib 0x00007fff619e2115 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff3765ec54 -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff3765eb3c -[NSApplication reportException:] + 953
2 com.apple.AppKit 0x00007fff377492ac uncaughtErrorProc + 157
3 com.apple.CoreFoundation 0x00007fff39e3f113 __handleUncaughtException + 771
4 libobjc.A.dylib 0x00007fff60df4e9d _objc_terminate() + 91
5 com.thallos.de.AquaCalculator 0x0000000100e31d39 0x100d3a000 + 1015097
6 libc++abi.dylib 0x00007fff5fa857c9 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff5fa85843 std::terminate() + 51
8 libdispatch.dylib 0x00007fff619a8d64 _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
10 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
12 libdispatch.dylib 0x00007fff619bb1d6 dispatch_block_perform + 109
13 com.apple.Foundation 0x00007fff3beb3578 __NSOQSchedule_f + 342
14 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
15 libdispatch.dylib 0x00007fff619b432d _dispatch_main_queue_callback_4CF + 1148
16 com.apple.CoreFoundation 0x00007fff39d658e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
17 com.apple.CoreFoundation 0x00007fff39d27b0a __CFRunLoopRun + 2586
18 com.apple.CoreFoundation 0x00007fff39d26e63 CFRunLoopRunSpecific + 483
19 com.apple.HIToolbox 0x00007fff3903fe26 RunCurrentEventLoopInMode + 286
20 com.apple.HIToolbox 0x00007fff3903fb96 ReceiveNextEventCommon + 613
21 com.apple.HIToolbox 0x00007fff3903f914 _BlockUntilNextEventMatchingListInModeWithFilter + 64
22 com.apple.AppKit 0x00007fff37334483 _DPSNextEvent + 2085
23 com.apple.AppKit 0x00007fff37ac9ff8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
24 com.apple.AppKit 0x00007fff37329291 -[NSApplication run] + 764
25 com.apple.AppKit 0x00007fff372f8436 NSApplicationMain + 804
26 libdyld.dylib 0x00007fff619e2115 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff61b32572 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff61c6d06a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 2:: Dispatch queue: io.answers.EventQueue (QOS: BACKGROUND)
0 com.apple.Foundation 0x00007fff3bef4016 -[NSFilesystemItemRemoveOperation delegate] + 0
1 com.apple.Foundation 0x00007fff3bef3f7b __NSRemoveFileConfirmCallback + 40
2 libremovefile.dylib 0x00007fff61a17861 __removefile_tree_walker + 181
3 libremovefile.dylib 0x00007fff61a17bd7 removefile + 151
4 com.apple.Foundation 0x00007fff3bef3e94 -[NSFilesystemItemRemoveOperation main] + 171
5 com.apple.Foundation 0x00007fff3beb756a -[__NSOperationInternal _start:] + 778
6 com.apple.Foundation 0x00007fff3bef3d23 -[NSFileManager removeItemAtPath:error:] + 84
7 com.thallos.de.AquaCalculator 0x0000000100e4e49b 0x100d3a000 + 1131675
8 com.thallos.de.AquaCalculator 0x0000000100e48f87 0x100d3a000 + 1109895
9 com.thallos.de.AquaCalculator 0x0000000100e48f09 0x100d3a000 + 1109769
10 com.thallos.de.AquaCalculator 0x0000000100e4e789 0x100d3a000 + 1132425
11 com.thallos.de.AquaCalculator 0x0000000100e433dc 0x100d3a000 + 1086428
12 com.thallos.de.AquaCalculator 0x0000000100e12aa6 0x100d3a000 + 887462
13 com.thallos.de.AquaCalculator 0x0000000100e1284f 0x100d3a000 + 886863
14 com.thallos.de.AquaCalculator 0x0000000100e12996 0x100d3a000 + 887190
15 com.thallos.de.AquaCalculator 0x0000000100e43261 0x100d3a000 + 1086049
16 com.thallos.de.AquaCalculator 0x0000000100e43127 0x100d3a000 + 1085735
17 com.thallos.de.AquaCalculator 0x0000000100e4e669 0x100d3a000 + 1132137
18 com.thallos.de.AquaCalculator 0x0000000100e4924f 0x100d3a000 + 1110607
19 com.apple.CFNetwork 0x00007fff38e68a9f __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.182 + 80
20 com.apple.Foundation 0x00007fff3beb925b __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
21 com.apple.Foundation 0x00007fff3beb90bd -[NSBlockOperation main] + 68
22 com.apple.Foundation 0x00007fff3beb756a -[__NSOperationInternal _start:] + 778
23 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
24 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
25 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
26 libdispatch.dylib 0x00007fff619bb333 _dispatch_block_invoke_direct + 317
27 libdispatch.dylib 0x00007fff619bb1d6 dispatch_block_perform + 109
28 com.apple.Foundation 0x00007fff3beb3578 __NSOQSchedule_f + 342
29 libdispatch.dylib 0x00007fff619a8d50 _dispatch_client_callout + 8
30 libdispatch.dylib 0x00007fff619bbe76 _dispatch_continuation_pop + 472
31 libdispatch.dylib 0x00007fff619b36cb _dispatch_async_redirect_invoke + 703
32 libdispatch.dylib 0x00007fff619aa941 _dispatch_root_queue_drain + 515
33 libdispatch.dylib 0x00007fff619aa6ed _dispatch_worker_thread3 + 101
34 libsystem_pthread.dylib 0x00007fff61c6d1ca _pthread_wqthread + 1387
35 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff61b32572 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff61c6d26f _pthread_wqthread + 1552
2 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff61b32572 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff61c6d06a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff61b32572 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff61c6d06a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 6:
0 libsystem_pthread.dylib 0x00007fff61c6cc40 start_wqthread + 0
1 ??? 0x00007ffd8ba0f350 0 + 140726946034512
Thread 7:
0 libsystem_kernel.dylib 0x00007fff61b32572 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff61c6d06a _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff61c6cc4d start_wqthread + 13
Thread 8:: com.twitter.crashlytics.mac.MachExceptionServer
0 libsystem_kernel.dylib 0x00007fff61b339e2 write + 10
1 com.thallos.de.AquaCalculator 0x0000000100e27b1e 0x100d3a000 + 973598
2 com.thallos.de.AquaCalculator 0x0000000100e1f15c 0x100d3a000 + 938332
3 libsystem_pthread.dylib 0x00007fff61c6d6c1 _pthread_body + 340
4 libsystem_pthread.dylib 0x00007fff61c6d56d _pthread_start + 377
5 libsystem_pthread.dylib 0x00007fff61c6cc5d thread_start + 13
Thread 9:
0 libsystem_pthread.dylib 0x00007fff61c6cc40 start_wqthread + 0
1 ??? 0x000070000303bbe0 0 + 123145352887264
Thread 10:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff61b288f2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff61b27e0c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff39d28495 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff39d277e7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff39d26e63 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff37471918 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff61c6d6c1 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff61c6d56d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff61c6cc5d thread_start + 13
Thread 11:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff61b288f2 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff61b27e0c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff39d28495 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff39d277e7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff39d26e63 CFRunLoopRunSpecific + 483
5 com.apple.CFNetwork 0x00007fff38ec744c -[__CoreSchedulingSetRunnable runForever] + 722
6 com.apple.Foundation 0x00007fff3beabe78 __NSThread__start__ + 1197
7 libsystem_pthread.dylib 0x00007fff61c6d6c1 _pthread_body + 340
8 libsystem_pthread.dylib 0x00007fff61c6d56d _pthread_start + 377
9 libsystem_pthread.dylib 0x00007fff61c6cc5d thread_start + 13
Mike from Fabric here. I don't believe that this is a crash within Crashlytics. You'll see our threads referenced in most crash reports because our processes are waking up to catch the exception.
The error you're seeing is usually due to memory mismanagement or holding onto an object that's no longer present.

Xcode 7 doesn't run more: Bad Access

I was working with Xcode last night, in morning I relaunch the XCode and it crash, an error appears.
I tried to delete the Preferences, cache, reinstall all... nothing.
But if I run Xcode from terminal with root privilege, it runs but Simulator doesn't work properly...
Error dump:
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes:
0x000000000000000a, 0x000000010e8ac000 Exception Note:
EXC_CORPSE_NOTIFY
VM Regions Near 0x10e8ac000:
__LINKEDIT 000000010e83e000-000000010e83f000 [ 4K] rw-/rwx SM=NUL
/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
--> mapped file 000000010e83f000-000000010e9e3000 [ 1680K] r--/rwx SM=COW
MALLOC_LARGE 000000010e9e3000-000000010ebe9000 [ 2072K] rw-/rwx SM=PRV
Application Specific Information: ProductBuildVersion: 7B1005
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0
com.apple.CoreFoundation 0x00007fff99b9852b
CFStringCreateImmutableFunnel3 + 795 1 com.apple.CoreFoundation 0x00007fff99ba844b CFStringCreateWithBytes + 59 2
com.apple.CoreFoundation 0x00007fff99bd4ff9
__CFBinaryPlistCreateObjectFiltered + 7273 3 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 4 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 5 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 6 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 7 com.apple.CoreFoundation 0x00007fff99bd4347
__CFBinaryPlistCreateObjectFiltered + 4023 8 com.apple.CoreFoundation 0x00007fff99bd4c82
__CFBinaryPlistCreateObjectFiltered + 6386 9 com.apple.CoreFoundation 0x00007fff99bb8427
__CFTryParseBinaryPlist + 215 10 com.apple.CoreFoundation 0x00007fff99bb7ca9 _CFPropertyListCreateWithData + 89 11
com.apple.CoreFoundation 0x00007fff99bb7bad
CFPropertyListCreateWithData + 93 12 com.apple.Foundation
0x00007fff8b8400d7 +[NSPropertyListSerialization
propertyListWithData:options:format:error:] + 94 13
com.apple.dt.DVTFoundation 0x00000001066a81f3 -[DVTPlugInManager
_loadPlugInCache:] + 260 14 com.apple.dt.DVTFoundation 0x00000001066a34a5 -[DVTPlugInManager _scanForPlugIns:] + 3304 15
com.apple.dt.IDEFoundation 0x00000001073e25e9 IDEInitialize + 3250
16 com.apple.dt.IDEKit 0x0000000107adf2fc
-[IDEApplicationController applicationWillFinishLaunching:] + 708 17 com.apple.CoreFoundation 0x00007fff99c33c9c
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 12 18 com.apple.CoreFoundation 0x00007fff99c33c2f
___CFXRegistrationPost_block_invoke + 63 19 com.apple.CoreFoundation 0x00007fff99c33ba7 _CFXRegistrationPost + 407 20
com.apple.CoreFoundation 0x00007fff99c33912
___CFXNotificationPost_block_invoke + 50 21 com.apple.CoreFoundation 0x00007fff99bf06d2 -[_CFXNotificationRegistrar
find:object:observer:enumerator:] + 1922 22 com.apple.CoreFoundation
0x00007fff99bef925 _CFXNotificationPost + 693 23
com.apple.Foundation 0x00007fff8b82f0fa
-[NSNotificationCenter postNotificationName:object:userInfo:] + 66 24 com.apple.dt.DVTFoundation 0x0000000106883d35
-[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698 25 com.apple.AppKit 0x00007fff9249d022 -[NSApplication finishLaunching] + 354 26
com.apple.dt.DVTKit 0x0000000106e83494 -[DVTApplication
finishLaunching] + 149 27 com.apple.AppKit
0x00007fff9249cb65 -[NSApplication run] + 231 28 com.apple.AppKit
0x00007fff92465fbe NSApplicationMain + 1176 29 libdyld.dylib
0x00007fff8b5eb5ad start + 1

SIGSEGV Crash with NSKeyValuePushPendingNotificationPerThread

I have an app on the Mac App Store, and I get these crash reports from my users which I cannot reproduce or figure out how to debug. It seem like something crashes due to NSManagedObjectContext reset, but it's not obvious, and users don't have a reproducible case. The main thread can have a different stack trace, but the non-main thread always has the same stack trace.
Exception Type: SIGSEGV
Exception Codes: SEGV_MAPERR at 0x41bfc026bec0
Crashed Thread: 8
Application Specific Information:
Selector name found in current argument registers: retain
Thread 0:
0 libFontParser.dylib 0x00007fff8efa7921 _ZNK20TTrueTypeFontHandler11RenderGlyphEtR27TTrueTypeQuadOutlineContextj + 89
1 libFontParser.dylib 0x00007fff8efa789e _ZNK20TTrueTypeFontHandler14GetOutlinePathEtRK18TGlyphOutlineBatch + 60
2 libFontParser.dylib 0x00007fff8efa744a FPFontCopyGlyphPath + 394
3 CoreGraphics 0x00007fff8767e913 CGFontCreateGlyphPath + 44
4 CoreGraphics 0x00007fff8767e85d CGFontCreateGlyphBitmap + 437
5 CoreGraphics 0x00007fff8767e607 _ZN14CGGlyphBuilder22create_missing_bitmapsEPK17CGGlyphIdentifiermPPK13CGGlyphBitmap + 109
6 libRIP.A.dylib 0x00007fff8b7bec2d render_glyphs + 204
7 libRIP.A.dylib 0x00007fff8b7bdf6f draw_glyph_bitmaps + 1585
8 libRIP.A.dylib 0x00007fff8b7bd8cd ripc_DrawGlyphs + 2785
9 CoreGraphics 0x00007fff87738077 draw_glyphs + 1034
10 CoreText 0x00007fff8ac50426 _ZL25DrawSbixGlyphsAtPositionsPK5TFontP6CGFontRK6TCFRefIPK8__CFDataEPKtPK7CGPointmP9CGContext17CGAffineTransformSI_ + 2990
11 CoreText 0x00007fff8abfdb73 CTFontDrawGlyphsWithAdvances + 789
12 UIFoundation 0x00007fff966f212e -[NSLineFragmentRenderingContext drawAtPoint:inContext:] + 5398
13 UIFoundation 0x00007fff96616728 __NSStringDrawingEngine + 16941
14 UIFoundation 0x00007fff966108ff _NSStringDrawingCore + 150
15 AppKit 0x00007fff93ce6d50 _NSDrawTextCell + 6954
16 AppKit 0x00007fff9421cdf8 __47-[NSTextFieldCell drawLayer:inGraphicsContext:]_block_invoke + 576
17 AppKit 0x00007fff944aa538 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 79
18 AppKit 0x00007fff93cf6739 -[NSTextFieldCell drawLayer:inGraphicsContext:] + 225
19 AppKit 0x00007fff93cf6470 +[NSGraphicsContext configureGraphicsContextForCALayer:withCGContext:andRenderWithHandler:] + 97
20 QuartzCore 0x00007fff939f1e93 CABackingStoreUpdate_ + 3306
21 QuartzCore 0x00007fff939f11a3 ___ZN2CA5Layer8display_Ev_block_invoke + 59
22 QuartzCore 0x00007fff939f115f x_blame_allocations + 81
23 QuartzCore 0x00007fff939f0c5c _ZN2CA5Layer8display_Ev + 1546
24 AppKit 0x00007fff93ce039f _NSBackingLayerDisplay + 617
25 QuartzCore 0x00007fff939f0381 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 603
26 QuartzCore 0x00007fff939efabd _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 35
27 QuartzCore 0x00007fff939ef24e _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 242
28 QuartzCore 0x00007fff939eeea4 _ZN2CA11Transaction6commitEv + 390
29 QuartzCore 0x00007fff939ffcad _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 71
30 CoreFoundation 0x00007fff8bbd0da7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
31 CoreFoundation 0x00007fff8bbd0d00 __CFRunLoopDoObservers + 368
32 CoreFoundation 0x00007fff8bbc2878 CFRunLoopRunSpecific + 328
33 HIToolbox 0x00007fff918f1aef RunCurrentEventLoopInMode + 235
34 HIToolbox 0x00007fff918f176e ReceiveNextEventCommon + 179
35 HIToolbox 0x00007fff918f16ab _BlockUntilNextEventMatchingListInModeWithFilter + 71
36 AppKit 0x00007fff93bb0f81 _DPSNextEvent + 964
37 AppKit 0x00007fff93bb0730 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
38 AppKit 0x00007fff93ba4593 -[NSApplication run] + 594
39 AppKit 0x00007fff93b8fa14 NSApplicationMain + 1832
40 libdyld.dylib 0x00007fff88d605c9 start + 1
...
Thread 7:
0 libsystem_kernel.dylib 0x00007fff94d1b94a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9508740d start_wqthread + 13
Thread 8 Crashed:
0 libobjc.A.dylib 0x00007fff90c740dd objc_msgSend + 29
1 Foundation 0x00007fff92461d24 NSKeyValuePushPendingNotificationPerThread + 446
2 Foundation 0x00007fff9240968f NSKeyValueWillChange + 465
3 Foundation 0x00007fff924bc33e -[NSObject(NSKeyValueObservingPrivate) _willChangeValuesForKeys:] + 234
4 CoreData 0x00007fff8d9fdd6d -[NSFaultHandler turnObject:intoFaultWithContext:] + 221
5 CoreData 0x00007fff8da28641 -[NSManagedObjectContext(_NSInternalAdditions) _disposeObjects:count:notifyParent:] + 353
6 CoreData 0x00007fff8da27c78 -[NSManagedObjectContext(_NSInternalAdditions) _dispose:] + 392
7 CoreData 0x00007fff8da27821 -[NSManagedObjectContext _dealloc__] + 337
8 CoreData 0x00007fff8da563ab __internalBlockToDeallocNSManagedObjectContext_block_invoke + 75
9 CoreData 0x00007fff8da1c246 developerSubmittedBlockToNSManagedObjectContextPerform + 182
10 libdispatch.dylib 0x00007fff8f122c13 _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff8f126365 _dispatch_queue_drain + 1100
12 libdispatch.dylib 0x00007fff8f127ecc _dispatch_queue_invoke + 202
13 libdispatch.dylib 0x00007fff8f1256b7 _dispatch_root_queue_drain + 463
14 libdispatch.dylib 0x00007fff8f133fe4 _dispatch_worker_thread3 + 91
15 libsystem_pthread.dylib 0x00007fff95089637 _pthread_wqthread + 729
16 libsystem_pthread.dylib 0x00007fff9508740d start_wqthread + 13
Any idea how to find out what's causing the issue and possibly fix it? I've tried enabling zombies, setting NSBindingDebugLogLevel to 1, and running Zombies instrument, but no luck.

XCode 4.5.1 Crashes on Install of Provisioning Profile

I recently upgraded to 4.5.1. I went to add a device to my provisioning profile and XCode crashes. It also crashes if I open the organizer and select devices.
I'm on Mac OSX 10.7.4. Below is the stack trace:
Crashed Thread: 7 Dispatch queue: com.apple.dt.DVTCertificateUtilities.scan
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000000b8
VM Regions Near 0xb8:
-->
__TEXT 000000010c833000-000000010c836000 [ 12K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 4G1004
objc[10449]: garbage collection is ON
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9245a67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92459d71 mach_msg + 73
2 com.apple.framework.IOKit 0x00007fff905a49bf io_service_get_matching_services + 210
3 com.apple.framework.IOKit 0x00007fff9055c604 IOServiceGetMatchingServices + 137
4 com.apple.framework.IOKit 0x00007fff9055c741 IOServiceGetMatchingService + 25
5 com.apple.Foundation 0x00007fff955cd10b +[NSFileWrapper _canSafelyMapFilesAtPath:] + 241
6 com.apple.Foundation 0x00007fff95572510 -[NSData(NSData) initWithContentsOfFile:options:error:] + 139
7 com.apple.AppKit 0x00007fff8d5b0c22 -[NSNib _loadNibDataFromPath:] + 310
8 com.apple.AppKit 0x00007fff8d5b0abc -[NSNib _initWithPath:bundle:] + 162
9 com.apple.AppKit 0x00007fff8d5b0a11 -[NSNib initWithNibNamed:bundle:] + 257
10 com.apple.AppKit 0x00007fff8d5b08f9 -[NSViewController(NSInternal) _nibWithName:bundle:] + 56
11 com.apple.AppKit 0x00007fff8d5b07b0 -[NSViewController loadView] + 155
12 com.apple.DTDeviceKit 0x0000000111c9b466 -[DTDKDetailViewController loadView] + 51
13 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c26675 -[IDEiPhoneOrganizerScreenshotsViewController loadView] + 49
14 com.apple.AppKit 0x00007fff8d5ac4ae -[NSViewController view] + 41
15 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c2d08d -[IDEiPhoneOrganizerViewController outlineViewSelectionDidChange:] + 194
16 com.apple.Foundation 0x00007fff95563d0e __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
17 com.apple.CoreFoundation 0x00007fff978f77ba _CFXNotificationPost + 2634
18 com.apple.Foundation 0x00007fff9554ffc3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
19 com.apple.AppKit 0x00007fff8d5e9499 -[NSTableView _sendSelectionChangedNotificationForRows:columns:] + 203
20 com.apple.AppKit 0x00007fff8d5bff5a -[NSTableView _enableSelectionPostingAndPost] + 425
21 com.apple.AppKit 0x00007fff8d5e8305 -[NSTableView _doSelectIndexes:byExtendingSelection:indexType:funnelThroughSingleIndexVersion:] + 2915
22 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c2aae4 -[IDEiPhoneOrganizerViewController setCurrentNodeIdentifier:] + 1442
23 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c2bb9b -[IDEiPhoneOrganizerViewController updateNodes] + 2542
24 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c29997 -[IDEiPhoneOrganizerViewController sharedViewSetup] + 219
25 com.apple.dt.IDE.IDEiPhoneSupport 0x0000000110c29a23 -[IDEiPhoneOrganizerViewController viewDidInstall] + 59
26 com.apple.dt.DVTKit 0x000000010cd49165 -[DVTViewController _didInstallContentView:] + 128
27 com.apple.dt.DVTKit 0x000000010cc83b0c -[DVTControllerContentView _viewDidInstall] + 406
28 com.apple.dt.DVTKit 0x000000010cc8338f -[DVTControllerContentView viewDidMoveToWindow] + 75
29 com.apple.AppKit 0x00007fff8d591a55 -[NSView _setWindow:] + 2618
30 com.apple.AppKit 0x00007fff8d58fc6d -[NSView addSubview:] + 405
31 com.apple.dt.DVTKit 0x000000010cd48ef0 __42-[DVTReplacementView _setupViewController]_block_invoke_0 + 164
32 com.apple.dt.DVTFoundation 0x000000010c8c02c8 DVTInvokeWithFailureHintObject + 59
33 com.apple.dt.DVTKit 0x000000010cc75141 -[DVTReplacementView _setupViewController] + 249
34 com.apple.dt.DVTKit 0x000000010cc75015 -[DVTReplacementView installedViewController] + 138
35 com.apple.dt.IDEKit 0x000000010d55ddd9 -[IDEApplicationController _openFiles:] + 533
36 com.apple.dt.IDEKit 0x000000010d55dbba -[IDEApplicationController application:openFiles:] + 49
37 com.apple.AppKit 0x00007fff8d7395e5 __-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke_1 + 1064
38 com.apple.AppKit 0x00007fff8d4833e1 -[NSDocumentController(NSInternal) _autoreopenDocumentsWithCompletionHandler:] + 64
39 com.apple.AppKit 0x00007fff8d48310f -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] + 287
40 com.apple.AppKit 0x00007fff8d6c1f33 -[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:] + 272
41 com.apple.AppKit 0x00007fff8d482c5a -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 307
42 com.apple.CoreFoundation 0x00007fff97941541 -[NSObject performSelector:withObject:withObject:] + 65
43 com.apple.Foundation 0x00007fff955867c7 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 101
44 com.apple.Foundation 0x00007fff9558574e -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 283
45 com.apple.Foundation 0x00007fff955855dc _NSAppleEventManagerGenericHandler + 105
46 com.apple.dt.IDEKit 0x000000010d5f34d4 HandleOpenDocAE + 47
47 com.apple.AE 0x00007fff8c7c3c25 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 200
48 com.apple.AE 0x00007fff8c7c3b03 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 38
49 com.apple.AE 0x00007fff8c7c39f7 aeProcessAppleEvent + 250
50 com.apple.HIToolbox 0x00007fff96443d7d AEProcessAppleEvent + 102
51 com.apple.AppKit 0x00007fff8d48007d _DPSNextEvent + 1247
52 com.apple.AppKit 0x00007fff8d47f735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
53 com.apple.AppKit 0x00007fff8d47c071 -[NSApplication run] + 470
54 com.apple.AppKit 0x00007fff8d6f8244 NSApplicationMain + 867
55 com.apple.dt.Xcode 0x000000010c834d17 0x10c833000 + 7447
56 com.apple.dt.Xcode 0x000000010c834ca8 0x10c833000 + 7336
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9245c7e6 kevent + 10
1 libdispatch.dylib 0x00007fff9075378a _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff9075231a _dispatch_mgr_thread + 54
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff9245a67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92459d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff978db50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff978e3c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff978e3486 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff955b2fd7 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
6 com.apple.Foundation 0x00007fff955a772a -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff955a76a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8c2188bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8c21bb75 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9245a67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92459d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff978db50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff978e3c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff978e3486 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x0000000111c9ab1f -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 298
6 com.apple.Foundation 0x00007fff955a772a -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff955a76a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8c2188bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8c21bb75 thread_start + 13
Thread 4:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff9245bdf2 __select + 10
1 com.apple.CoreFoundation 0x00007fff9792cc8b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8c2188bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8c21bb75 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9245b47a __accept + 10
1 com.unity3d.Unity4XC 0x0000000110fa02e8 +[UnityXcodePlugin pluginBg] + 201
2 com.apple.Foundation 0x00007fff955a772a -[NSThread main] + 68
3 com.apple.Foundation 0x00007fff955a76a2 __NSThread__main__ + 1575
4 libsystem_c.dylib 0x00007fff8c2188bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff8c21bb75 thread_start + 13
Thread 6:: DYMobileDeviceManager
0 libsystem_kernel.dylib 0x00007fff9245a67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92459d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff978db50c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff978e3c74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff978e3486 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff95558f7b -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.apple.Foundation 0x00007fff95558e67 -[NSRunLoop(NSRunLoop) run] + 62
7 com.apple.Foundation 0x00007fff955a772a -[NSThread main] + 68
8 com.apple.Foundation 0x00007fff955a76a2 __NSThread__main__ + 1575
9 libsystem_c.dylib 0x00007fff8c2188bf _pthread_start + 335
10 libsystem_c.dylib 0x00007fff8c21bb75 thread_start + 13
Thread 7 Crashed:: Dispatch queue: com.apple.dt.DVTCertificateUtilities.scan
0 com.apple.security 0x00007fff976b3d98 DERDecodeSeqContentInit + 4
1 com.apple.security 0x00007fff976ad0fa parseX501NameContent + 32
2 com.apple.security 0x00007fff976ad193 SecCertificateCopyCommonNames + 62
3 com.apple.security 0x00007fff976ac49a Security::KeychainCore::CertificateValues::copyFieldValues(__CFArray const*, __CFError**) + 282
4 com.apple.security 0x00007fff97678fb3 SecCertificateCopyValues + 44
5 com.apple.dt.DVTFoundation 0x000000010c93a2cc +[DVTCertificateUtilities certificateKindForCertificate:] + 62
6 com.apple.dt.DVTFoundation 0x000000010c93ad0f +[DVTCertificateUtilities _scanForSigningCertificates] + 492
7 com.apple.dt.DVTFoundation 0x000000010c8e32a0 __DVTDispatchAsync_block_invoke_0 + 16
8 libdispatch.dylib 0x00007fff90751a86 _dispatch_call_block_and_release + 18
9 libdispatch.dylib 0x00007fff907532d6 _dispatch_queue_drain + 264
10 libdispatch.dylib 0x00007fff90753132 _dispatch_queue_invoke + 54
11 libdispatch.dylib 0x00007fff9075292c _dispatch_worker_thread2 + 198
12 libsystem_c.dylib 0x00007fff8c21a3da _pthread_wqthread + 316
13 libsystem_c.dylib 0x00007fff8c21bb85 start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9245c192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c21a594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8c21bb85 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9245c192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c21a594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8c21bb85 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff9245c192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c21a594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8c21bb85 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff9245c192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8c21a594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8c21bb85 start_wqthread + 13
Thread 7 crashed with X86 Thread State (64-bit):
rax: 0x0000000401acd3c0 rbx: 0x00007fff976ad1b8 rcx: 0x0000000000000005 rdx: 0x00007fff976ad1b8
rdi: 0x00000000000000b8 rsi: 0x000000011522dba8 rbp: 0x000000011522db80 rsp: 0x000000011522db80
r8: 0x0000000000000001 r9: 0x00000000ffffffff r10: 0x000000000000009e r11: 0x0000000401acd3c0
r12: 0x0000000401acda40 r13: 0x000000000000000f r14: 0x0000000401acd3c0 r15: 0x0000000402e60be0
rip: 0x00007fff976b3d98 rfl: 0x0000000000010206 cr2: 0x00000000000000b8
Logical CPU: 6
Have you tried the obvious - restarting Xcode / rebooting?
You may have to go one step further than deleting your profiles. Try revoking existing profiles and resetting your keychain. See also: https://discussions.apple.com/thread/3752773?start=0&tstart=0
This may sound silly, but have you tried disconnecting any iOS devices you have attached to your mac?
I was experiencing the same problem, and tried deleting profiles and certs, restarting, etc, but no dice. When i unplugged my new iPhone 5 it worked fine. I probably have to clean up the certs on my iPhone as well.

Random crashes in WaitNextEvent under 10.7.2

Our (legacy) app runs stable on a range of OS versions (10.4 - 10.7) since years and now randomly crashes at ONE customers computers (both of them, though) within WaitNextEvent.
All crashes occur deep inside Apple's code with random locations but always with WaitNextEvent somewhere in the call stack.
Examples are:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x8fe8a33d _ZN4dyldL10loadPhase5EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 716
1 dyld 0x8fe8a501 _ZN4dyldL10loadPhase4EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 179
2 dyld 0x8fe8ae31 _ZN4dyldL10loadPhase3EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 1429
3 dyld 0x8fe8b1f1 _ZN4dyldL10loadPhase1EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 166
4 dyld 0x8fe8b340 _ZN4dyldL10loadPhase0EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 240
5 dyld 0x8fe8b3fd dyld::load(char const*, dyld::LoadContext const&) + 132
6 dyld 0x8fe8e036 dlopen + 428
7 libdyld.dylib 0x977b9a95 dlopen + 70
8 com.apple.CoreServices.CarbonCore 0x90d467cf GetDYLDEntryPointWithImage + 43
9 com.apple.CoreServices.CarbonCore 0x90d50aed GetDYLDEntryPoint + 45
10 com.apple.AppKit 0x9c62cf2c _IsCarbonFullScreenInstanceWorkspace + 57
11 com.apple.AppKit 0x9c03231c -[NSApplication _updateFullScreenPresentationOptions] + 75
12 com.apple.AppKit 0x9bdc97d5 -[NSApplication sendEvent:] + 906
13 com.apple.AppKit 0x9c4d81e1 _appActivationHandler + 547
14 com.apple.AppKit 0x9c4d79b8 carbonAppApplicationHandler + 108
15 com.apple.HIToolbox 0x9bb9f920 _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
16 com.apple.HIToolbox 0x9ba1b803 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
17 com.apple.HIToolbox 0x9ba1ac80 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482
18 com.apple.HIToolbox 0x9ba1aa98 SendEventToEventTargetWithOptions + 75
19 com.apple.HIToolbox 0x9ba306fe _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 3152
20 com.apple.HIToolbox 0x9ba1bcbe _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2813
21 com.apple.HIToolbox 0x9ba1ac80 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 482
22 com.apple.HIToolbox 0x9ba2faa9 SendEventToEventTarget + 76
23 com.apple.HIToolbox 0x9bb9f76c ToolboxEventDispatcher + 82
24 com.apple.HIToolbox 0x9bbb1e0f GetOrPeekEvent + 482
25 com.apple.HIToolbox 0x9bbb217f GetNextEventMatchingMask + 539
26 com.apple.HIToolbox 0x9bbb24b7 WNEInternal + 434
27 com.apple.HIToolbox 0x9bbb1784 WaitNextEvent + 53
28 com.ourStuff 0x000bebe5 LApplication::ProcessNextEvent() + 69
or
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x9c2dec22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x9c2de1f6 mach_msg + 70
2 com.apple.CoreFoundation 0x98f370ea __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x98f40214 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x98f3f8ec CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x98f3f798 CFRunLoopRunInMode + 120
6 com.apple.HIToolbox 0x95b7fa7f RunCurrentEventLoopInMode + 318
7 com.apple.HIToolbox 0x95d1c151 GetNextEventMatchingMask + 493
8 com.apple.HIToolbox 0x95d1c4b7 WNEInternal + 434
9 com.apple.HIToolbox 0x95d1b784 WaitNextEvent + 53
10 com.apple.HIToolbox 0x95cfc136 ModalDialog + 1638
11 com.apple.HIToolbox 0x95d03ff5 RunStandardAlert + 741
12 com.apple.HIToolbox 0x95d028bf StandardAlert + 201
13 com.ourStuff 0x0007fbaa 0x1000 + 519082
Any hints are highly appreciated!
As of now we couldn't reproduce the bug locally.
FWIW - the crashes just disappeared after that particular customer deactivated DefaultFolderX (which kept showing up in every crash dump of our app on the customers system)..

Resources