[tbb-bugs] #13247 [Tor Browser]: meek profile error after browser restarts (e.g., after update or add-on installation)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jun 25 19:26:52 UTC 2015
#13247: meek profile error after browser restarts (e.g., after update or add-on
installation)
-----------------------------+---------------------------------
Reporter: mcs | Owner: tbb-team
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor Browser | Version:
Resolution: | Keywords: meek, tbb-usability
Actual Points: | Parent ID:
Points: |
-----------------------------+---------------------------------
Comment (by mcs):
Kathy and I poked at this a little more and we think we found the root
cause: before restarting, Firefox sets some environment variables to tell
it things like where the profile is, and those are inherited by the meek
helper firefox process. If you examine the environment of the meek
firefox, you will see things like:
{{{
XRE_PROFILE_LOCAL_PATH=/Users/.../tb45.app/TorBrowser/Data/Browser/Caches/profile.default
XRE_PROFILE_PATH=/Users/.../tb45.app/TorBrowser/Data/Browser/profile.default
etc.
}}}
On Mac OS, we added this hack to the tor script to test this theory:
{{{
unset NO_EM_RESTART XRE_BINARY_PATH XRE_PROFILE_LOCAL_PATH
XRE_PROFILE_NAME XRE_PROFILE_PATH X
RE_START_OFFLINE XUL_APP_FILE
}}}
Indeed, the meek restart problem went away.
Now we just need to decide where to place a proper fix. Maybe inside
meek-client-torbrowser? The list of env vars to clear may be found here:
http://mxr.mozilla.org/mozilla-
esr38/source/toolkit/xre/nsAppRunner.cpp#4150
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13247#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list