Hey guys,
Maybe my experience is simply too narrow to be able to know how to resolve
this issue, but I'm seriously confused by an issue I'm seeing in my Cocoa
app.
I just released version 3.0 of Mac Linux USB Loader, my app, and it
supports 10.8-10.10. Yesterday I received a bug report that the application
cannot open documents under Mavericks, but everything works fine under
Yosemite. I have just installed a fresh copy of Mavericks, and I can
confirm that this is the case, so it is definitely not operating system
corruption. The app is released by direct distribution.
The app passes Gatekeeper and launches just fine (it is signed with my
Developer ID), and all other features appear to work, except for this quite
crucial one. When I look in the console, I see the following error messages
which concern me:
12/29/14 7:08:30.971 PM librariand[205]: client process 257 does not have a
valid com.apple.developer.ubiquity-container-identifiers entitlement
12/29/14 7:08:30.971 PM librariand[205]: error in
handle_container_path_request: LibrarianErrorDomain/9/The client process
does not have a valid com.apple.developer.ubiquity-container-identifiers
entitlement
The thing is, I am not using iCloud and that entitlement isn't even present
in my entitlements file. Those messages are from just opening the
NSOpenPanel, and doing anything else; clearly, Powerbox is flipping out.
When I click Open, I get some new messages and nothing shows up (but the
application does not crash). Here are the messages that appear to be
relevant:
12/29/14 7:09:19.969 PM Mac Linux USB Loader[257]: view service marshal for
<NSRemoteView: 0x7fef9b405e50> failed to forget accessibility connection
due to Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with
a helper application." (The connection was invalidated from this process.)
UserInfo=0x60800046e380 {NSDebugDescription=The connection was invalidated
from this process.}
timestamp: 19:09:19.969 Monday 29 December 2014
process/thread/queue: Mac Linux USB Loader (257) / 0x103535000 /
com.apple.NSXPCConnection.user.endpoint
code: line 2972 of /SourceCache/ViewBridge/ViewBridge-46.2/NSRemoteView.m
in __57-[NSRemoteView
viewServiceMarshalProxy:withErrorHandler:]_block_invoke
domain: communications-failure
I've attached the full log file. Could anyone shed any light on this?
Happy holidays,
-- SevenBits
P.S.: I posted this message to this list because this appears to be an
issue with my app's code. My apologies if this is the wrong place.
12/29/14 7:08:30.971 PM librariand[205]: client process 257 does not have a
valid com.apple.developer.ubiquity-container-identifiers entitlement
12/29/14 7:08:30.971 PM librariand[205]: error in
handle_container_path_request: LibrarianErrorDomain/9/The client process does
not have a valid com.apple.developer.ubiquity-container-identifiers entitlement
12/29/14 7:08:31.168 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.168 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.168 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.168 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.186 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.186 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.187 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.187 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.206 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.206 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.206 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.206 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.222 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.223 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.223 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.223 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.247 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.247 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.248 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.248 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.252 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.252 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.253 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.253 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.271 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.271 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.271 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.272 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.286 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.286 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.286 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.286 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.303 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.303 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.303 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.304 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.319 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.319 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.320 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.320 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.336 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.336 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.337 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.337 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.354 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.354 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.354 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.355 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.370 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.370 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.370 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.371 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.371 PM WindowServer[92]: CGXSetWindowTransform: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:08:31.371 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowTransformAtPlacement: Failed
12/29/14 7:08:31.371 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
ERROR: CGSSetWindowTransformAtPlacement() returned 1001
12/29/14 7:08:31.372 PM WindowServer[92]: CGXSetWindowListAlpha: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:09:19.811 PM WindowServer[92]: CGXSetWindowLevel: Operation on a
window 0x5a requiring rights kCGSWindowRightPresenter by caller
com.apple.appkit.xpc.openAndSav
12/29/14 7:09:19.811 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
CGSSetWindowLevel
12/29/14 7:09:19.811 PM com.apple.appkit.xpc.openAndSavePanelService[287]:
PSsetwindowlevel, error setting window level (1001)
12/29/14 7:09:19.913 PM Mac Linux USB Loader[257]: -[NSPathStore2
containsString:]: unrecognized selector sent to instance 0x6000002396e0
12/29/14 7:09:19.913 PM Mac Linux USB Loader[257]: -[NSPathStore2
containsString:]: unrecognized selector sent to instance 0x6000002396e0
12/29/14 7:09:19.924 PM Mac Linux USB Loader[257]: (
0 CoreFoundation 0x00007fff85e6525c
__exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8eb84e75
objc_exception_throw + 43
2 CoreFoundation 0x00007fff85e6812d
-[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff85dc3272
___forwarding___ + 1010
4 CoreFoundation 0x00007fff85dc2df8
_CF_forwarding_prep_0 + 120
5 Mac Linux USB Loader 0x00000001033969c4 Mac Linux
USB Loader + 76228
6 Mac Linux USB Loader 0x000000010339677f Mac Linux
USB Loader + 75647
7 AppKit 0x00007fff839f440b
-[NSWindowController _windowDidLoad] + 545
8 AppKit 0x00007fff839dafa6
-[NSWindowController window] + 110
9 AppKit 0x00007fff839dc0f0
-[NSWindowController showWindow:] + 36
10 AppKit 0x00007fff83aa85f5 -[NSDocument
showWindows] + 100
11 AppKit 0x00007fff83c0e82d
__80-[NSDocumentController
openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke855 + 198
12 AppKit 0x00007fff83c0e416
__80-[NSDocumentController
openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke837 + 237
13 AppKit 0x00007fff83c0de31
__80-[NSDocumentController
openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke_4 + 578
14 AppKit 0x00007fff83c0d120
-[NSDocumentController _openDocumentWithContentsOfURL:usingProcedure:] + 583
15 AppKit 0x00007fff83c0dbcb
__80-[NSDocumentController
openDocumentWithContentsOfURL:display:completionHandler:]_block_invoke_3 + 300
16 CoreFoundation 0x00007fff85d9648c
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
17 CoreFoundation 0x00007fff85d87ae5
__CFRunLoopDoBlocks + 341
18 CoreFoundation 0x00007fff85d873de
__CFRunLoopRun + 814
19 CoreFoundation 0x00007fff85d86e75
CFRunLoopRunSpecific + 309
20 HIToolbox 0x00007fff83373a0d
RunCurrentEventLoopInMode + 226
21 HIToolbox 0x00007fff83373685
ReceiveNextEventCommon + 173
22 HIToolbox 0x00007fff833735bc
_BlockUntilNextEventMatchingListInModeWithFilter + 65
23 AppKit 0x00007fff8375f24e
_DPSNextEvent + 1434
24 AppKit 0x00007fff8375e89b
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
25 AppKit 0x00007fff8375299c
-[NSApplication run] + 553
26 AppKit 0x00007fff8373d783
NSApplicationMain + 940
27 libdyld.dylib 0x00007fff89dd05fd start + 1
28 ??? 0x0000000000000001 0x0 + 1
)
12/29/14 7:09:19.969 PM Mac Linux USB Loader[257]: view service marshal for
<NSRemoteView: 0x7fef9b405e50> failed to forget accessibility connection due to
Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper
application." (The connection was invalidated from this process.)
UserInfo=0x60800046e380 {NSDebugDescription=The connection was invalidated from
this process.}
timestamp: 19:09:19.969 Monday 29 December 2014
process/thread/queue: Mac Linux USB Loader (257) / 0x103535000 /
com.apple.NSXPCConnection.user.endpoint
code: line 2972 of /SourceCache/ViewBridge/ViewBridge-46.2/NSRemoteView.m in
__57-[NSRemoteView viewServiceMarshalProxy:withErrorHandler:]_block_invoke
domain: communications-failure
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]