Opened 3 years ago

Closed 3 years ago

#21395 closed defect (duplicate)

can not run torbrowser sandbox

Reported by: Dbryrtfbcbhgf Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-sandboxing tbb-security
Cc: brade, mcs Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

every time I try to run torbrowser sandbox in macOS 10.12.4 Beta (16E144f) I get the error below. I followed all the directions in the readme file, and still gives me the same error.
torbrowser 7.0a1

Referenced from: /Users/'my username removed'/Desktop/tor beta/Sandboxed Tor Browser/TorBrowser.app/./Contents/MacOS/firefox
Reason: no suitable image found. Did find:

file system sandbox blocked open() of '/usr/lib/libstdc++.6.dylib'
file system sandbox blocked open() of '/usr/lib/libstdc++.6.dylib'

./start-browser-with-sandbox: line 24: 3149 Abort trap: 6 sandbox-exec -f "$SB_PROFILE" -D "HOME_DIR=$HOME" -D "CURRENT_DIR=$BASEDIR" -D "TORBROWSER_APP_DIR=$TORBROWSER_APP_DIR" -D "TORBROWSER_DATA_DIR=$TORBROWSER_DATA_DIR" "./Contents/MacOS/firefox"

Child Tickets

Change History (8)

comment:1 Changed 3 years ago by Dbryrtfbcbhgf

Here is the full error message I get.

dyld: Library not loaded: /usr/lib/libstdc++.6.dylib

Referenced from: /Users/'removed username'/Desktop/tor beta/Sandboxed Tor Browser/TorBrowser.app/./Contents/MacOS/firefox
Reason: no suitable image found. Did find:

file system sandbox blocked open() of '/usr/lib/libstdc++.6.dylib'
file system sandbox blocked open() of '/usr/lib/libstdc++.6.dylib'

./start-browser-with-sandbox: line 24: 3847 Abort trap: 6 sandbox-exec -f "$SB_PROFILE" -D "HOME_DIR=$HOME" -D "CURRENT_DIR=$BASEDIR" -D "TORBROWSER_APP_DIR=$TORBROWSER_APP_DIR" -D "TORBROWSER_DATA_DIR=$TORBROWSER_DATA_DIR" "./Contents/MacOS/firefox"

comment:2 Changed 3 years ago by yawning

Component: Applications/Tor Browser SandboxApplications/Tor Browser
Keywords: tbb-sandboxing tbb-security added
Owner: changed from yawning to tbb-team
Version: Tor: 0.3.0.3-alpha

This component (confusingly) is for the Linux sandbox, the OSX seatbelt profile related issues are tracked under the main Tor Browser component for now.

comment:3 Changed 3 years ago by Dbryrtfbcbhgf

Component: Applications/Tor BrowserApplications/Tor Browser Sandbox
Keywords: tbb-sandboxing tbb-security removed
Owner: changed from tbb-team to yawning
Version: Tor: 0.3.0.3-alpha

There is no longer /usr/lib/libstdc++.6.dylib
But this dylib file is in the directory.
/usr/lib/libstdc++.6.0.9.dylib

comment:4 Changed 3 years ago by yawning

Component: Applications/Tor Browser SandboxApplications/Tor Browser
Keywords: tbb-sandboxing tbb-security added
Owner: changed from yawning to tbb-team
Version: Tor: 0.3.0.3-alpha

I assume that was an accident.

comment:5 in reply to:  4 Changed 3 years ago by Dbryrtfbcbhgf

Replying to yawning:

I assume that was an accident.

yes, sorry. It automatically changed it right after I submitted my comment.

Version 1, edited 3 years ago by Dbryrtfbcbhgf (previous) (next) (diff)

comment:6 Changed 3 years ago by mcs

Cc: brade mcs added
Status: newneeds_information

I am 90% sure this is a duplicate of #20989. Dbryrtfbcbhgf, please see if replacing your tb.sb file with the following one fixes the problem that you are experiencing:
https://gitweb.torproject.org/builders/tor-browser-bundle.git/plain/Bundle-Data/mac-sandbox/tb.sb?id=f55cbeea243675db8acf1015ca7e1ceed39f0933

comment:7 in reply to:  6 ; Changed 3 years ago by Dbryrtfbcbhgf

Replying to mcs:

I am 90% sure this is a duplicate of #20989. Dbryrtfbcbhgf, please see if replacing your tb.sb file with the following one fixes the problem that you are experiencing:
https://gitweb.torproject.org/builders/tor-browser-bundle.git/plain/Bundle-Data/mac-sandbox/tb.sb?id=f55cbeea243675db8acf1015ca7e1ceed39f0933

Torbrowser now opens, here is a error I get.

2017-02-04 22:18:48.940 firefox[2175:84645] kCFURLVolumeIsAutomountedKey missing for file://localhost/Volumes/Recovery%20HD/: The file “Recovery HD” couldn’t be opened because you don’t have permission to view it.
1486275529500 addons.xpi-utils ERROR Unable to read anything useful from the database
0 migrated.

Last edited 3 years ago by Dbryrtfbcbhgf (previous) (diff)

comment:8 in reply to:  7 Changed 3 years ago by mcs

Resolution: duplicate
Status: needs_informationclosed

Replying to Dbryrtfbcbhgf:

Torbrowser now opens

Great!

... here is a error I get.
2017-02-04 22:18:48.940 firefox[2175:84645] kCFURLVolumeIsAutomountedKey missing for file://localhost/Volumes/Recovery%20HD/: The file “Recovery HD” couldn’t be opened because you don’t have permission to view it.

The above message can be safely ignored. It occurs because the sandbox blocks access to /Volumes, and something in the browser (or an Apple dylib that it uses) tries to look at all mounted volumes. It does not seem to affect use of the browser.

1486275529500 addons.xpi-utils ERROR Unable to read anything useful from the database
0 migrated.

This message occurs the first time the browser is open and is not related to the sandbox. It also may be ignored.

I am closing this ticket as a duplicate of #20989.

Note: See TracTickets for help on using tickets.