Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

The problem with sharing file by mail from context menu in Finder.

When I want to send some file by mail from Finder, I make right click on the file and choose "Share" -> "Mail". I expect to see new mail message with the fail attached to the message.

But nothing happens and the Finder stop responding and I have to "Force Quit" them.


My configuration:


MacBook Pro (Retina, 13-inch, Late 2012), 2,5 GHz Intel Core i5, 8 GB 1600 MHz DDR3, HD Graphics 4000 1536 MB, OS X El Capitan ver. 10.11.3

MacBook Pro with Retina display, OS X El Capitan (10.11.3)

Posted on Jan 28, 2016 12:17 AM

Reply
8 replies

Jan 28, 2016 8:23 AM in response to petrvyoral

Please launch the Console application in any one of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

The title of the Console window should be All Messages. If it isn't, select

SYSTEM LOG QUERIES ▹ All Messages

from the log list on the left. If you don't see that list, select

View ▹ Show Log List

from the menu bar at the top of the screen.

Click the Clear Display icon in the toolbar. Then take an action that isn't working the way you expect. Select any lines that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.

The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.

Please don't indiscriminately dump thousands of lines from the log into this discussion.

Please don't post screenshots of log messages—post the text.

Some private information, such as your name or email address, may appear in the log. Anonymize before posting.

When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

If you have an account on Pastebin, please don't select Private from the Paste Exposure menu on the page, because then no one but you will be able to see it.

Feb 1, 2016 10:40 PM in response to Linc Davis

Thank you for your answer. I tried two way: 1. share by mail and 2. share by airdrop. Both didn't get any result and after both I have to "Force Quit" the Finder.


Here is a part of log:


2.2.16 9:32:01,003 pkd[337]: enabling pid=12934 for plug-in com.apple.share.Mail.compose(1.0) 3901002A-7FD2-4E89-B968-ED4AF75D409E /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/PlugIns/ShareMa il.appex

2.2.16 9:32:01,038 secinitd[350]: No AppSandbox cache present.

2.2.16 9:32:01,187 ShareMail[14181]: plug-in sdk "com.apple.share-services" not registered

2.2.16 9:32:01,187 ShareMail[14181]: plug-in sdk "com.apple.share-services" not registered

2.2.16 9:32:01,187 diagnosticd[148]: error evaluating process info - pid: 14181, puniqueid: 14181

2.2.16 9:32:01,188 com.apple.xpc.launchd[1]: (com.apple.share.Mail.compose[14181]) Service exited due to signal: Illegal instruction: 4

2.2.16 9:32:01,188 Finder[12934]: plugin com.apple.share.Mail.compose interrupted

2.2.16 9:32:01,188 Finder[12934]: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.share.Mail.compose" UserInfo={NSDebugDescription=connection to service named com.apple.share.Mail.compose}

2.2.16 9:32:01,189 Finder[12934]: --error: [ShareKit] error in -[NSExtension beginExtensionRequestWithInputItems:completion: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.share.Mail.compose" UserInfo={NSDebugDescription=connection to service named com.apple.share.Mail.compose}

2.2.16 9:32:01,208 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[14182]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash

2.2.16 9:32:01,218 ReportCrash[14182]: Unable to find containing app bundle for /System/Library/PrivateFrameworks/ShareKit.framework/Versions/A/PlugIns/ShareMa il.appex/Contents/MacOS/ShareMail. Will not read AppStore receipt

2.2.16 9:32:02,260 ReportCrash[14182]: Invalid connection: com.apple.coresymbolicationd

2.2.16 9:32:02,350 com.apple.xpc.launchd[1]: (com.aladdin.PKIMonitor[14176]) Service exited with abnormal code: 126

2.2.16 9:32:02,350 com.apple.xpc.launchd[1]: (com.aladdin.PKIMonitor) Service only ran for 2 seconds. Pushing respawn out by 8 seconds.




2.2.16 9:33:15,089 pkd[337]: enabling pid=14266 for plug-in com.apple.share.AirDrop.send(1.0) 9581C36A-EC98-4C59-852C-39F57BE06A84 /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/PlugIns/AirDro p.appex

2.2.16 9:33:15,125 secinitd[350]: No AppSandbox cache present.

2.2.16 9:33:15,219 AirDrop[14297]: plug-in sdk "com.apple.share-services" not registered

2.2.16 9:33:15,219 AirDrop[14297]: plug-in sdk "com.apple.share-services" not registered

2.2.16 9:33:15,220 diagnosticd[148]: error evaluating process info - pid: 14297, puniqueid: 14297

2.2.16 9:33:15,220 Finder[14266]: plugin com.apple.share.AirDrop.send interrupted

2.2.16 9:33:15,220 com.apple.xpc.launchd[1]: (com.apple.share.AirDrop.send[14297]) Service exited due to signal: Illegal instruction: 4

2.2.16 9:33:15,220 Finder[14266]: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.share.AirDrop.send" UserInfo={NSDebugDescription=connection to service named com.apple.share.AirDrop.send}

2.2.16 9:33:15,220 Finder[14266]: --error: [ShareKit] error in -[NSExtension beginExtensionRequestWithInputItems:completion: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.share.AirDrop.send" UserInfo={NSDebugDescription=connection to service named com.apple.share.AirDrop.send}

2.2.16 9:33:15,241 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[14300]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash

2.2.16 9:33:15,252 ReportCrash[14300]: Unable to find containing app bundle for /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/PlugIns/AirDro p.appex/Contents/MacOS/AirDrop. Will not read AppStore receipt

Feb 3, 2016 7:55 AM in response to petrvyoral

There's a problem with your OS X installation. The simplest way, but not the fastest way, to fix it is to reinstall the OS. Unless you're in a hurry or have metered network access, that's what I suggest, especially since I don't know whether there are other problems with the installation. Please back up all data before reinstalling. You won't need the backup unless something goes wrong.

The advanced shortcut below, if it works, may save you some downtime (and the cost of a multi-gigabyte download, if applicable.)

1. Back up all data.

2. Disconnect all external storage devices.

3. Start up in Recovery mode. Select a language, if prompted. The OS X Utilities screen will appear. One of the options is to install OS X. That's not what you're going to do.

4. This step is only necessary if you use FileVault 2. If you don't know what FileVault is, you're not using it. Go to the next step. Otherwise, launch Disk Utility, then select the icon of the FileVault volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another drive icon. Select Unlock from the File menu and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.

5. Select Get Help Online. Safari will launch. While in Recovery, you'll have no access to your bookmarks, but you won't need them. Load this web page.

6. Triple-click anywhere in the line below to select it:

chflags -R norestricted /V*/*/S*/*/Caches

Copy the selected text to the Clipboard by pressing the key combination command-C.

7. Quit Safari. You'll be returned to the OS X Utilities screen.

From the menu bar, select

Utilities Terminal

The Terminal application will launch. Paste into the Terminal window by pressing the key combination command-V.

Wait for a new line ending in a hash sign (#) to appear. Quit Terminal to be returned to the main screen.

8. Select

Restart

from the menu bar.

9. This step must be carried out after the restart and while you're logged in as an administrator—not in Recovery mode. If you have only one user account, you are the administrator.

Select and copy this line as in Step 6:

sudo /usr/libexec/xpchelper --rebuild-cache

Paste into a Terminal window as before. You'll be prompted for your login password. Nothing will be displayed when you type it. Type carefully and then press return. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.

If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.

Wait for a new line ending in a dollar sign ($) to appear below what you entered.

10. Do as in Step 9 with this line:

sudo /usr/libexec/*/app_sandbox_cache_builder --rebuild-cache

You can then quit Terminal.

Feb 3, 2016 11:22 PM in response to Linc Davis

Linc, thank you. Your "step by step" instruction works very well.


I made all steps and all of them finished as expected except the last step.


When I start the command "sudo /usr/libexec/*/app_sandbox_cache_builder --rebuild-cache" I can see on the terminal window this message without the end. How long I have to wait?


MBP-PV:~ petrvyoral$ sudo /usr/libexec/* /app_sandbox_cache_builder --rebuild-cache

2016-02-04 10:16:30.643323 AM [AirPlayEndpointManagerMeta] metaManager_createAirPlayEndpointManager Using NAPS Endpoint Manager

2016-02-04 10:16:30.645013 AM [APTransportTrafficRegistrar] APTransportTrafficRegistrar: Deregister AirPlay traffic for AWDL at MAC 00:00:00:00:00:00 with target infra non critical PeerIndication=0 err=0

Feb 4, 2016 9:17 AM in response to Linc Davis

Linc. Your manual and your help solved my problem. Now I can use the Share function from right click menu in Finder. I think I will have to reinstall my OS, because I have some more errors in Console. Every few seconds I am getting message like this:

______________________________________________________________________

4.2.16 20:12:03,773 com.apple.xpc.launchd[1]: (ouc.plist) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

4.2.16 20:12:03,925 xpcproxy[13797]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

4.2.16 20:12:03,925 xpcproxy[13797]: LaunchServices: Database mapping failed with result -10822, retrying

4.2.16 20:12:03,925 xpcproxy[13797]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

4.2.16 20:12:03,931 xpcproxy[13797]: CFPreferences could not connect to its daemon.

Preferences using the connection 0x0 will be volatile and will not be persisted to disk.

4.2.16 20:12:03,953 xpcproxy[13797]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

4.2.16 20:12:03,953 xpcproxy[13797]: LaunchServices: Database mapping failed with result -10822, retrying

4.2.16 20:12:03,953 xpcproxy[13797]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database

4.2.16 20:12:03,954 com.apple.xpc.launchd[1]: (com.viber.osx[13797]) Could not find and/or execute program specified by service: 45: Operation not supported: com.viber.osx

4.2.16 20:12:03,955 com.apple.xpc.launchd[1]: (com.viber.osx) Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

4.2.16 20:12:05,968 com.apple.xpc.launchd[1]: (com.aladdin.PKIMonitor[13798]) Service exited with abnormal code: 126

4.2.16 20:12:05,968 com.apple.xpc.launchd[1]: (com.aladdin.PKIMonitor) Service only ran for 2 seconds. Pushing respawn out by 8 seconds.

4.2.16 20:12:13,798 RunOuc[13803]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.3 instead of 10.11.3. This is not a bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

Call location:

4.2.16 20:12:13,798 RunOuc[13803]: 0 CarbonCore 0x9e458913 ___Gestalt_SystemVersion_block_invoke + 135

4.2.16 20:12:13,798 RunOuc[13803]: 1 libdispatch.dylib 0x9d30f63f dispatch_once_f + 78

4.2.16 20:12:13,798 RunOuc[13803]: 2 libdispatch.dylib 0x9d310ec9 dispatch_once + 31

4.2.16 20:12:13,798 RunOuc[13803]: 3 CarbonCore 0x9e3d4576 _Gestalt_SystemVersion + 1047

4.2.16 20:12:13,798 RunOuc[13803]: 4 CarbonCore 0x9e3d36a5 Gestalt + 154

4.2.16 20:12:13,798 RunOuc[13803]: 5 QtCore 0x00022d0b QtCore + 15627

4.2.16 20:12:13,798 RunOuc[13803]: 6 ??? 0x8ff01f47 0x0 + 2414878535

____________________________________________________________________________

But I think this is the other problem yet.


Once more, thank you for your help.

Apr 25, 2016 8:16 AM in response to Linc Davis

Hi Linc,


I have tried the steps suggested however I am getting the following error.


debug: cache location: /System/Library/Caches/com.apple.xpchelper.cache

error: unable to create parent directory: You don’t have permission to save the file “Caches” in the folder “Library”.

any ideas what might be wrong ? thanks in advance for your help

The problem with sharing file by mail from context menu in Finder.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.