Closed
Bug 1384690
Opened 7 years ago
Closed 7 years ago
./mach run ends up with an assertion (ABORT: LoadSheetSync failed with error ...)
Categories
(Core :: Security: Process Sandboxing, defect)
Tracking
()
RESOLVED
WORKSFORME
mozilla56
People
(Reporter: janv, Unassigned)
References
Details
(Whiteboard: sb+)
I while ago I had to start using MOZ_DEVELOPER_REPO_DIR to be able to run ./mach run on my mac
./mach mochitest worked fine even without the environment variable.
Today I synced my tree with m-c and ./mach run ends with an assertion (ABORT: LoadSheetSync failed with error ...)
The same assertion that appeared before and MOZ_DEVELOPER_REPO_DIR fixed it.
I sent my:
<OBJECT DIR>/dist/Nightly.app/Contents/MacOS/plugin-container.app/Contents/Info.plist
to :haik and he says the file is correctly populated, so this seems like a new bug.
Reporter | ||
Comment 1•7 years ago
|
||
Oh great, ./mach mochitest doesn't work either.
ABORT: LoadSheetSync failed with error ...
Can you point me to the bug that changed this recently ?
Reporter | ||
Comment 2•7 years ago
|
||
OK, pref("security.sandbox.content.level", 1) fixes it for now.
Updated•7 years ago
|
Flags: needinfo?(haftandilian)
Whiteboard: sb+
Target Milestone: --- → mozilla56
Comment 3•7 years ago
|
||
Jan, I can't reproduce this locally.
Could you try setting the MAC_SANDBOX_PRINT_POLICY #define to be 1 in security/sandbox/mac/Sandbox.mm, then rebuilding, and re-trying "./mach run"? That should generate some output on the console that might help figure this out. The line to change in Sandbox.mm will end up be
changing from
#define MAC_SANDBOX_PRINT_POLICY 0
to
#define MAC_SANDBOX_PRINT_POLICY 1
That will result in a lot of output being printed to the console, but I'm interested in the "Sandbox Params:" listing that looks like this.
Sandbox params:
SHOULD_LOG = FALSE
SANDBOX_LEVEL_1 = FALSE
SANDBOX_LEVEL_2 = FALSE
SANDBOX_LEVEL_3 = TRUE
MAC_OS_MINOR_9 = FALSE
MAC_OS_MINOR_MIN_13 = FALSE
APP_PATH = /Users/haftandilian/r/mozilla-central/obj-opt.noindex/dist/Nightly.app/Contents/MacOS/plugin-container.app
APP_BINARY_PATH = /Users/haftandilian/r/mozilla-central/obj-opt.noindex/dist/Nightly.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container
APP_DIR = /Users/haftandilian/r/mozilla-central/obj-opt.noindex/dist/Nightly.app/Contents
APP_TEMP_DIR = /private/var/folders/46/188rdfdnfsdfasefgsnx2m0000gn/T/Temp-{bdec639d-d6e1-ae4e-87ad-af5cc24f9488}
PROFILE_DIR = /Users/haftandilian/r/mozilla-central/obj-opt.noindex/tmp/scratch_user
HOME_PATH = /Users/haftandilian
HAS_SANDBOXED_PROFILE = TRUE
HAS_FILE_PRIVILEGES = FALSE
TESTING_READ_PATH3 = /Users/haftandilian/r/mozilla-central
TESTING_READ_PATH4 = /Users/haftandilian/r/mozilla-central/obj-opt.noindex
Flags: needinfo?(haftandilian) → needinfo?(jvarga)
Reporter | ||
Comment 4•7 years ago
|
||
Ok, I'll try that.
Reporter | ||
Comment 5•7 years ago
|
||
Hm, I ran ./mach bootstrap in the meantime and I don't see the assertion anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jvarga)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•