./mach run ends up with an assertion (ABORT: LoadSheetSync failed with error ...)

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
a year ago
a year ago

People

(Reporter: janv, Unassigned)

Tracking

Trunk
mozilla56
x86_64
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: sb+)

(Reporter)

Description

a year ago
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

a year 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

a year ago
OK, pref("security.sandbox.content.level", 1) fixes it for now.

Updated

a year ago
Flags: needinfo?(haftandilian)
Whiteboard: sb+
Target Milestone: --- → mozilla56
Blocks: 1377522
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

a year ago
Ok, I'll try that.
(Reporter)

Comment 5

a year ago
Hm, I ran ./mach bootstrap in the meantime and I don't see the assertion anymore.
Status: NEW → RESOLVED
Last Resolved: a year ago
Flags: needinfo?(jvarga)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.