Crash when Application sends message via CFMessagePort to Finder Sync Extension

Originator:marko.cicak
Number:rdar://30831106 Date Originated:2017-03-03
Status:Open Resolved:No
Product:macOS Product Version:10.12.3 (16D32)
Classification: Reproducible:Always
 
Let there be two targets:
1. Main application
2. Finder sync extension (App Sandbox)

They belong to same App Group. CFMessagePort has a name which includes AppGroup name (as required).

Steps to Reproduce:
1. Start main application
2. Start Finder extension
3. Tap on 'SEND MESSAGE' button in main application.
4. Crash happens in Finder Sync Extension which receives a message.

Expected Results:
Finder Sync Extension should receive a message and send a reply to Main Application. No crash should happen.

Actual Results:
Crash happens when Finder Sync Extension receives a message from Main App.

Version:
10.12.3 (16D32)

Notes:
This is VERY important for my project. If you need any clearance on what's the issue, you can always reach me at my email.
It would also help to know if you would recommend some other way of communication between Main application and Finder Sync Extension.

Configuration:
Crash happens only on MacOS Sierra. On El Capitan it's working as expected.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!