Closed jceaser closed 9 months ago
I get the same using a SVBONY SV205 "Unable to create file for output" message in the application, also the modalSession in console, but also noticed a sandbox error.
"Sandbox: garcon(682) deny(1) file-read-xattr /Users/will/Pictures/oaCapture Violation: deny(1) file-read-xattr /Users/will/Pictures/oaCapture Process: garcon [682] Path: /Applications/Dropbox.app/Contents/PlugIns/garcon.appex/Contents/MacOS/garcon Load Address: 0x10bf91000 Identifier: com.getdropbox.dropbox.garcon Version: 107.4.443 (2.6) Code Type: x86_64 (Native) Parent Process: launchd [1] Responsible: /Applications/Dropbox.app/Contents/PlugIns/garcon.appex/Contents/MacOS/garcon User ID: 501
Date/Time: 2020-10-19 10:33:35.301 GMT+1 OS Version: Mac OS X 10.15.7 (19H2) Report Version: 8
MetaData: {"container":"\/Users\/will\/Library\/Containers\/com.getdropbox.dropbox.garcon\/Data","team-id":"G7HH3F8CAK","mount-rdev":16777220,"profile-in-collection":false,"build":"Mac OS X 10.15.7 (19H2)","platform-binary":false,"responsible-process-uid":501,"matched-user-intent-extension":false,"errno":1,"platform_binary":"no","profile-flags":0,"file-mode":493,"uid":501,"apple-internal":false,"flags":5,"action":"deny","pid":682,"hardware":"Mac","vnode-type":"DIRECTORY","xattr":"com.apple.bookmark.archive.prefer-home-relative-symlink","target":"\/Users\/will\/Pictures\/oaCapture","responsible-process-user-uuid":"08EC4279-C168-4572-B0B1-83BEF571EF5F","primary-filter":"path","rdev":0,"matched-extension":false,"process-path":"\/Applications\/Dropbox.app\/Contents\/PlugIns\/garcon.appex\/Contents\/MacOS\/garcon","normalized_target":["Users","will","Pictures","oaCapture"],"signing-id":"com.getdropbox.dropbox.garcon","hardlinked":false,"operation":"file-read-xattr","file-flags":0,"responsible-process-path":"\/Applications\/Dropbox.app\/Contents\/PlugIns\/garcon.appex\/Contents\/MacOS\/garcon","summary":"deny(1) file-read-xattr \/Users\/will\/Pictures\/oaCapture","process":"garcon","platform-policy":false,"primary-filter-value":"\/Users\/will\/Pictures\/oaCapture","path":"\/Users\/will\/Pictures\/oaCapture"}
Thread 0 (id: 3933): 0 libsystem_kernel.dylib 0x00007fff6c38edfa mach_msg_trap + 10 1 CoreFoundation 0x00007fff321ddef5 CFRunLoopServiceMachPort + 247 2 CoreFoundation 0x00007fff321dc9c2 CFRunLoopRun + 1319 3 CoreFoundation 0x00007fff321dbe3e CFRunLoopRunSpecific + 462 4 HIToolbox 0x00007fff30e08abd RunCurrentEventLoopInMode + 292 5 HIToolbox 0x00007fff30e087d5 ReceiveNextEventCommon + 584 6 HIToolbox 0x00007fff30e08579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 7 AppKit 0x00007fff2f44e039 _DPSNextEvent + 883 8 AppKit 0x00007fff2f44c880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 9 AppKit 0x00007fff2f43e58e -[NSApplication run] + 658 10 AppKit 0x00007fff2f410396 NSApplicationMain + 777 11 libxpc.dylib 0x00007fff6c4ac944 _xpc_objc_main.cold.3 + 56 12 libxpc.dylib 0x00007fff6c49b462 _xpc_objc_main + 609 13 libxpc.dylib 0x00007fff6c49af63 _xpc_copy_xpcservice_dictionary + 0 14 Foundation 0x00007fff348b2e6f +[NSXPCListener serviceListener] + 0 15 PlugInKit 0x00007fff5cf35ecb 16 PlugInKit 0x00007fff5cf35bf4 17 PlugInKit 0x00007fff5cf362b2 18 Foundation 0x00007fff3492bb4c NSExtensionMain + 49 19 libdyld.dylib 0x00007fff6c24dcc9 start + 1 20 garcon 0x0000000000000001
Thread 1 (id: 4424, com.apple.NSEventThread): 0 libsystem_kernel.dylib 0x00007fff6c38edfa mach_msg_trap + 10 1 CoreFoundation 0x00007fff321ddef5 CFRunLoopServiceMachPort + 247 2 CoreFoundation 0x00007fff321dc9c2 CFRunLoopRun + 1319 3 CoreFoundation 0x00007fff321dbe3e CFRunLoopRunSpecific + 462 4 AppKit 0x00007fff2f5ef954 _NSEventThread + 132 5 libsystem_pthread.dylib 0x00007fff6c452109 _pthread_start + 148 6 libsystem_pthread.dylib 0x00007fff6c44db8b thread_start + 15
Thread 2 (id: 35968): 0 libsystem_kernel.dylib 0x00007fff6c391432 getxattr + 10 1 CoreServicesInternal 0x00007fff4b599b1b _CFURLCreateBookmarkData + 1019 2 CoreFoundation 0x00007fff3224395a -[NSURL bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:] + 149 3 Foundation 0x00007fff34846b6f -[NSURL(NSURL) encodeWithCoder:] + 497 4 Foundation 0x00007fff34861cad _encodeObject + 1214 5 Foundation 0x00007fff348629f7 -[NSKeyedArchiver _encodeArrayOfObjects:forKey:] + 364 6 Foundation 0x00007fff34861cad encodeObject + 1214 7 garcon 0x000000010bf945d0 -[EFFinderClient getContextMenu:withToolbar:] + 128 8 garcon 0x000000010bf976e7 -[EFFinderExtension menuForMenuKind:] + 172 9 FinderSync 0x00007fff3480d300 -[FIFinderSyncExtension requestMenuItemsForTarget:selectedItems:menu:result:] + 274 10 CoreFoundation 0x00007fff321bf8ac invoking + 140 11 CoreFoundation 0x00007fff321bf751 -[NSInvocation invoke] + 303 12 Foundation 0x00007fff348f4dc3 NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT + 17 13 Foundation 0x00007fff3488162d -[NSXPCConnection _decodeAndInvokeMessageWithEvent:flags:] + 1674 14 Foundation 0x00007fff34838a49 message_handler + 210 15 libxpc.dylib 0x00007fff6c49222c _xpc_connection_call_event_handler + 56 16 libxpc.dylib 0x00007fff6c49113b _xpc_connection_mach_event + 934 17 libdispatch.dylib 0x00007fff6c1f46f8 _dispatch_client_callout4 + 9 18 libdispatch.dylib 0x00007fff6c209bc9 _dispatch_mach_msg_invoke + 435 19 libdispatch.dylib 0x00007fff6c1f9af6 _dispatch_lane_serial_drain + 263 20 libdispatch.dylib 0x00007fff6c20a71c _dispatch_mach_invoke + 481 21 libdispatch.dylib 0x00007fff6c1f9af6 _dispatch_lane_serial_drain + 263 22 libdispatch.dylib 0x00007fff6c1fa609 _dispatch_lane_invoke + 414 23 libdispatch.dylib 0x00007fff6c203c09 _dispatch_workloop_worker_thread + 596 24 libsystem_pthread.dylib 0x00007fff6c44ea3d _pthread_wqthread + 290 25 libsystem_pthread.dylib 0x00007fff6c44db77 start_wqthread + 15
Thread 3 (id: 37373):
Binary Images:
0x10bf91000 - 0x10bf9cfff com.getdropbox.dropbox.garcon (2.6 - 107.4.443)
Hope this helps.
I wonder if xattr -d com.apple.quarantine /path/to/file
will fix the issue. The code will need to do something to trigger permissions I'm sure, but as a work around it may be helpful. I'll test and report back in a couple of days (got something else going on today).
Okay so garçon is a drop box plugin which I think gets fired when you try to write an image file because they want to steal your images and back them up to dropbox (to cause you to fill up your quota faster and thus need to pay them). I have oaCapture saving to a folder in my home directory, not in Pictures or Documents where dropbox may be looking. I also gave oaCapture full disk access. I am not getting the garçon error any more but still not able to save png files. xattr
did nothing for me.
Console gives this error when I try to capture a png:
default 08:27:20.203340-0400 oaCapture modalSession has been exited prematurely - check for a reentrant call to endModalSession:
I think this is a code error and not a sandbox error.
I can't reproduce this at the moment.
I've set the save directory to my home directory and can save both TIFF and PNG format files. If I set the save directory to Pictures I get a pop-up asking if I want to allow oaCapture to have access to my photos. I answered yes to that and I can then save in a subdirectory of that.
I think the modalSession issue is a red herring here. I think there must be something else happening, but right now I can't see what that might be.
I'm not having this problem now, after many system updates, closing the ticket.
Get the following when I try to capture a TIFF or PNG with an SVBONY SV105:
"Unable to create file for output"
Console.app dumps out: "modalSession has been exited prematurely - check for a reentrant call to endModalSession:"