Re: Sandbox console messages
Re: Sandbox console messages
- Subject: Re: Sandbox console messages
- From: Corbin Dunn <email@hidden>
- Date: Mon, 21 May 2012 13:41:55 -0700
Hi Peter,
Can you log these as bugs (bugreporter.apple.com); it sounds like they are bugs in the system which you may not have control over. Please be sure to include steps to reproduce, backtraces, and ideally sample code that reproduces it. Thanks!
corbin
On May 21, 2012, at 8:41 AM, Peter Krajčík <email@hidden> wrote:
> Hello,
> I'm trying to migrate an existing application to sandboxing (on Lion).
>
> It is just a regular document-based app, doesn't do anything wild.
>
> I've enabled user selected file access (read/write).
>
> Sometimes I get this message in the console:
> 5/21/12 3:28:35.002 AM sandboxd: ([7221]) MyAppName(7221) deny iokit-open AppleGraphicsPolicyClient
>
> With trace:
> OS Version: Mac OS X 10.7.3 (11D50b)
> Report Version: 7
>
> Backtrace:
> 0 libsystem_kernel.dylib 0x00007fff8ef9d67a mach_msg_trap + 10
> 1 libsystem_kernel.dylib 0x00007fff8ef9cd71 mach_msg + 73
> 2 IOKit 0x00007fff9128f923 io_service_open_extended + 241
> 3 IOKit 0x00007fff9124a5d8 IOServiceOpen + 45
> 4 OpenGL 0x00007fff8d5be95b
> 5 OpenGL 0x00007fff8d5bdbfe
> 6 libsystem_c.dylib 0x00007fff88934e06 pthread_once + 86
> 7 OpenGL 0x00007fff8d5b6ab4 CGLSetOption + 24
> 8 AppKit 0x00007fff89eb8501 createPixelFormat + 37
> 9 AppKit 0x00007fff89eb84aa -[NSOpenGLPixelFormat initWithAttributes:] + 70
>
>
> Also, I keep getting these errors in the console when the app tries to autosave:
>
> 5/21/12 11:29:42.000 AM sandboxd: ([710]) MyAppName(710) deny file-write-data /Users/me/Library/Autosave Information/Unsaved MyAppName Document 3.myappextension
>
>
>
> I also get messages like these, they seem to be triggered by my app from time to time:
> 5/21/12 4:06:58.187 AM com.apple.XType.FontHelper: FontHelper: message received. (<dictionary: 0x106724d10> { count = 2, contents =
> "restricted" => <bool: 0x7fff784e69e0>: true
> "query" => <string: 0x106726d00> { length = 113, contents = "com_apple_ats_name_postscript == "OriyaSangamMN-Bold" && kMDItemContentTypeTree != com.adobe.postscript-lwfn-font" }
> })
> 5/21/12 4:06:58.187 AM com.apple.XType.FontHelper: AutoActivation: scopes (
> "/Library/Application Support/Apple/Fonts"
> )
>
> The app itself appears to be working fine (even the autosave...), but these console messages are making me nervous.
> What am I supposed to do about this? Is it OK to submit an app that generated these messages for App Store Review?
>
> Thanks,
> Peter
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden