Hi,

I am trying to diagnose a crash report that appears to be related to ShareKit, 
and would appreciate some advice.

The crash is reported from a thread that appears to be calling a ShareKitHelper 
XPC service.  The main thread appears to have spun off that thread to determine 
what sharing options or accounts might be available.

My customer reports that the crash happened when he opened the Preferences 
window in my app.  Based on the crash report, it looks more like the crash was 
the result of right-clicking in an NSTextView.   I still need to find out 
whether he can reproduce this crash.  

Since I never explicitly call ShareKit or use Share Sheets, it feels like this 
must be a bug in Mac OS X.  Relevant parts of the crash report are below. Any 
troubleshooting or debugging advice would be appreciated.

Thank you.

John

--

Thread 8 Crashed:: Dispatch queue: com.apple.ShareKitHelper.xpcq
0   libxpc.dylib                        0x00007fff99f6c24a 
_xpc_runtime_init_once + 1077
1   libdispatch.dylib                   0x00007fff95ffa0b6 
_dispatch_client_callout + 8
2   libdispatch.dylib                   0x00007fff95ffa041 dispatch_once_f + 50
3   libxpc.dylib                        0x00007fff99f66889 _xpc_connection_init 
+ 45
4   libdispatch.dylib                   0x00007fff95ffa0b6 
_dispatch_client_callout + 8
5   libdispatch.dylib                   0x00007fff95ffb47f 
_dispatch_queue_drain + 235
6   libdispatch.dylib                   0x00007fff95ffb2f1 
_dispatch_queue_invoke + 52
7   libdispatch.dylib                   0x00007fff95ffb1c3 
_dispatch_worker_thread2 + 249
8   libsystem_c.dylib                   0x00007fff97aedcab _pthread_wqthread + 
404
9   libsystem_c.dylib                   0x00007fff97ad8171 start_wqthread + 13

* This is the main thread.

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff977bf6c2 semaphore_wait_trap 
+ 10
1   libdispatch.dylib                   0x00007fff95ffd486 
_dispatch_semaphore_wait_slow + 241
2   com.apple.ShareKit                  0x00007fff95135fbc -[SHKHelperMessage 
sendOnConnection:async:reply:] + 274
3   com.apple.ShareKit                  0x00007fff9512acd5 
-[SHKSharingController 
allShareServicesForItems:includeInternalServices:alternateItems:] + 495
4   com.apple.ShareKit                  0x00007fff951330bb 
-[SHKSharingServicePicker _shareServices] + 288
5   com.apple.ShareKit                  0x00007fff95133689 
-[SHKSharingServicePicker _populateNSMenu] + 76
6   com.apple.ShareKit                  0x00007fff95134153 
-[SHKSharingServicePicker menu] + 144
7   com.apple.AppKit                    0x00007fff9ab7a001 
-[NSTextView(NSTextView_SharingService) _configureSharingServicesForMenu:] + 406
8   com.apple.AppKit                    0x00007fff9a929266 -[NSTextView 
menuForEvent:] + 13562
9   com.apple.AppKit                    0x00007fff9a9a798c -[NSView 
rightMouseDown:] + 103
10  com.apple.AppKit                    0x00007fff9a9294f5 -[NSTextView 
rightMouseDown:] + 178
11  com.apple.AppKit                    0x00007fff9a4cbc81 -[NSWindow 
sendEvent:] + 8504
12  com.apple.AppKit                    0x00007fff9a4c7744 -[NSApplication 
sendEvent:] + 5761
13  com.apple.AppKit                    0x00007fff9a63076a -[NSApplication 
_realDoModalLoop:peek:] + 582
14  com.apple.AppKit                    0x00007fff9a6309ce -[NSApplication 
runModalForWindow:] + 120
15  com.apple.AppKit                    0x00007fff9a634846 -[NSApplication 
_showException:] + 662
16  com.apple.HIToolbox                 0x00007fff92cec0e6 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1682
17  com.apple.HIToolbox                 0x00007fff92ceb3d9 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 410
18  com.apple.HIToolbox                 0x00007fff92d011bd 
SendEventToEventTarget + 40
19  com.apple.HIToolbox                 0x00007fff92d37e89 
SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, 
unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, 
OpaqueEventRef**) + 443
20  com.apple.HIToolbox                 0x00007fff92cdcc11 
SendMenuCommandWithContextAndModifiers + 59
21  com.apple.HIToolbox                 0x00007fff92cdcbc3 
SendMenuItemSelectedEvent + 254
22  com.apple.HIToolbox                 0x00007fff92cdca4f 
FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
23  com.apple.HIToolbox                 0x00007fff92cb8aab 
MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, 
unsigned short*) + 605
24  com.apple.HIToolbox                 0x00007fff92cb80b8 
_HandleMenuSelection2 + 565
25  com.apple.AppKit                    0x00007fff9a4c49c6 
_NSHandleCarbonMenuEvent + 245
26  com.apple.AppKit                    0x00007fff9a3e6b7f _DPSNextEvent + 2073
27  com.apple.AppKit                    0x00007fff9a3e5ed2 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
28  com.apple.AppKit                    0x00007fff9a3dd283 -[NSApplication run] 
+ 517
29  com.apple.AppKit                    0x00007fff9a381cb6 NSApplicationMain + 
869
30  CloudPull                           0x000000010449de52 main + 34
31  CloudPull                           0x000000010449de24 start + 52



Process:         CloudPull [744]
Path:            /Users/USER/Desktop/CloudPull.app/Contents/MacOS/CloudPull
Identifier:      com.goldenhillsoftware.CloudPull
Version:         2.2b22 (3516)
Code Type:       X86-64 (Native)
Parent Process:  launchd [187]
User ID:         501

Date/Time:       2012-12-15 11:27:42.408 -0600
OS Version:      Mac OS X 10.8.2 (12C60)
Report Version:  10

Interval Since Last Report:          316747 sec
Crashes Since Last Report:           1
Per-App Interval Since Last Report:  936 sec
Per-App Crashes Since Last Report:   1
Anonymous UUID:                      F595E72C-E38A-7758-4200-F559AF3CDD86

Crashed Thread:  8  Dispatch queue: com.apple.ShareKitHelper.xpcq

Exception Type:  EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000

Application Specific Information:
XPC domain creation failed: could not realpath main executable

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x00007fff977bf6c2 semaphore_wait_trap 
+ 10
1   libdispatch.dylib                   0x00007fff95ffd486 
_dispatch_semaphore_wait_slow + 241
2   com.apple.ShareKit                  0x00007fff95135fbc -[SHKHelperMessage 
sendOnConnection:async:reply:] + 274
3   com.apple.ShareKit                  0x00007fff9512acd5 
-[SHKSharingController 
allShareServicesForItems:includeInternalServices:alternateItems:] + 495
4   com.apple.ShareKit                  0x00007fff951330bb 
-[SHKSharingServicePicker _shareServices] + 288
5   com.apple.ShareKit                  0x00007fff95133689 
-[SHKSharingServicePicker _populateNSMenu] + 76
6   com.apple.ShareKit                  0x00007fff95134153 
-[SHKSharingServicePicker menu] + 144
7   com.apple.AppKit                    0x00007fff9ab7a001 
-[NSTextView(NSTextView_SharingService) _configureSharingServicesForMenu:] + 406
8   com.apple.AppKit                    0x00007fff9a929266 -[NSTextView 
menuForEvent:] + 13562
9   com.apple.AppKit                    0x00007fff9a9a798c -[NSView 
rightMouseDown:] + 103
10  com.apple.AppKit                    0x00007fff9a9294f5 -[NSTextView 
rightMouseDown:] + 178
11  com.apple.AppKit                    0x00007fff9a4cbc81 -[NSWindow 
sendEvent:] + 8504
12  com.apple.AppKit                    0x00007fff9a4c7744 -[NSApplication 
sendEvent:] + 5761
13  com.apple.AppKit                    0x00007fff9a63076a -[NSApplication 
_realDoModalLoop:peek:] + 582
14  com.apple.AppKit                    0x00007fff9a6309ce -[NSApplication 
runModalForWindow:] + 120
15  com.apple.AppKit                    0x00007fff9a634846 -[NSApplication 
_showException:] + 662
16  com.apple.HIToolbox                 0x00007fff92cec0e6 
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 
1682
17  com.apple.HIToolbox                 0x00007fff92ceb3d9 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*) + 410
18  com.apple.HIToolbox                 0x00007fff92d011bd 
SendEventToEventTarget + 40
19  com.apple.HIToolbox                 0x00007fff92d37e89 
SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, 
unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, 
OpaqueEventRef**) + 443
20  com.apple.HIToolbox                 0x00007fff92cdcc11 
SendMenuCommandWithContextAndModifiers + 59
21  com.apple.HIToolbox                 0x00007fff92cdcbc3 
SendMenuItemSelectedEvent + 254
22  com.apple.HIToolbox                 0x00007fff92cdca4f 
FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
23  com.apple.HIToolbox                 0x00007fff92cb8aab 
MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, 
unsigned short*) + 605
24  com.apple.HIToolbox                 0x00007fff92cb80b8 
_HandleMenuSelection2 + 565
25  com.apple.AppKit                    0x00007fff9a4c49c6 
_NSHandleCarbonMenuEvent + 245
26  com.apple.AppKit                    0x00007fff9a3e6b7f _DPSNextEvent + 2073
27  com.apple.AppKit                    0x00007fff9a3e5ed2 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
28  com.apple.AppKit                    0x00007fff9a3dd283 -[NSApplication run] 
+ 517
29  com.apple.AppKit                    0x00007fff9a381cb6 NSApplicationMain + 
869
30  CloudPull                           0x000000010449de52 main + 34
31  CloudPull                           0x000000010449de24 start + 52
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to