Bug 114723

Summary: WebProcess: Couldn't initialize sandbox profile
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.8   

Description Benjamin Poulain 2013-04-17 01:07:39 PDT
When running trunk at home, I get the following error message on startup:
    WebProcess: Couldn't initialize sandbox profile [/Users/benjamin/opensource/WebKit.git/WebKitBuild/Release/WebKit2.framework/Resources/com.apple.WebProcess.sb], error 'line 1: unbound variable: // '
Comment 1 Alexey Proskuryakov 2013-04-17 03:05:19 PDT
That's horrible. Can you check what's inside this file? Did it get a C++ comment somehow?
Comment 2 Benjamin Poulain 2013-04-17 10:31:18 PDT
Yes indeed: 

// Some platforms provide UI for suggesting autocorrection.

// Some platforms use spelling and autocorrection markers to provide visual cue.
// On such platform, if word with marker is edited, we need to remove the marker.(version 1)
(deny default (with partial-symbolication))
(allow ipc-posix-shm system-audit system-socket file-read-metadata)


Those strings are defined in Platform.h, I don't know how they ended up in here...
Comment 3 Benjamin Poulain 2013-04-17 20:44:55 PDT

*** This bug has been marked as a duplicate of bug 114752 ***