[tor-bugs] #18947 [Applications/Tor Browser]: 6.0a5 is not starting on OS X if put into /Applications

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 6 03:48:59 UTC 2016


#18947: 6.0a5 is not starting on OS X if put into /Applications
--------------------------------------+-----------------------------------
 Reporter:  gk                        |          Owner:  mcs
     Type:  defect                    |         Status:  needs_information
 Priority:  Very High                 |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Critical                  |     Resolution:
 Keywords:  TorBrowserTeam201605      |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+-----------------------------------

Comment (by nickm):

 Replying to [comment:3 mcs]:
 > Replying to [comment:2 nickm]:
 > > {{{
 > > [565]$ ls -l /Applications/TorBrowser.app/
 > > total 0
 > > drwxr-x---@ 7 nickm  admin  238 Apr 28 08:53 Contents
 > > }}}
 >
 > Thanks for your help. That above looks good (no old TorBrowser directory
 under the .app).
 >
 > > {{{
 > > [566]$ ls -l ~/Library/Application\ Support/TorBrowser-Data/
 > > total 0
 > > drwx------   5 nickm  staff  170 Apr 29 08:57 Browser
 > > drwx------  11 nickm  admin  374 Apr 29 08:30 Tor
 > > drwxr-xr-x   3 nickm  staff  102 Apr 29 08:57 UpdateInfo
 > > }}}
 >
 > Please make a copy of everything under ~/Library/Application\ Support
 /TorBrowser-Data/ and set it aside for future debugging if you have not
 already done so.
 >

 Okay, it all went the way you expected.  Moving the TorBrowser-Data
 directory aside made TB work.

 Afterwards, when I tried the steps you recommend, this was logged:
 {{{
 [05-06 03:44:57] TorLauncher INFO: debug output ready
 [05-06 03:44:57] TorLauncher DBUG: Starting
 /Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/tor
 [05-06 03:44:57] TorLauncher DBUG:   --defaults-torrc
 [05-06 03:44:57] TorLauncher DBUG:
 /Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/torrc-
 defaults
 [05-06 03:44:57] TorLauncher DBUG:   -f
 [05-06 03:44:57] TorLauncher DBUG:   /Users/nickm/Library/Application
 Support/TorBrowser-Data/Tor/torrc
 [05-06 03:44:57] TorLauncher DBUG:   DataDirectory
 [05-06 03:44:57] TorLauncher DBUG:   /Users/nickm/Library/Application
 Support/TorBrowser-Data/Tor
 [05-06 03:44:57] TorLauncher DBUG:   GeoIPFile
 [05-06 03:44:57] TorLauncher DBUG:
 /Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/geoip
 [05-06 03:44:57] TorLauncher DBUG:   GeoIPv6File
 [05-06 03:44:57] TorLauncher DBUG:
 /Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/geoip6
 [05-06 03:44:57] TorLauncher DBUG:   HashedControlPassword
 [05-06 03:44:57] TorLauncher DBUG:
 16:8e408eb3d34c70fe60fe0364178c9aa68a4af6bb6961ab8844225c0667
 [05-06 03:44:57] TorLauncher DBUG:   __OwningControllerProcess
 [05-06 03:44:57] TorLauncher DBUG:   66947
 [05-06 03:44:58] TorLauncher DBUG: Opening control connection to
 127.0.0.1:9151
 [05-06 03:44:58] TorLauncher DBUG: Sending Tor command: AUTHENTICATE
 414124775d585b586a4e62633f2c3753
 [05-06 03:44:58] TorLauncher NOTE: failed to open authenticated
 connection: [Exception... "Component returned failure code: 0x804b000d
 (NS_ERROR_CONNECTION_REFUSED) [nsIBinaryOutputStream.writeBytes]"
 nsresult: "0x804b000d (NS_ERROR_CONNECTION_REFUSED)"  location: "JS frame
 :: jar:file:///Users/nickm/Library/Application%20Support/TorBrowser-
 Data/Browser/fl4i90pd.default/extensions/tor-
 launcher at torproject.org.xpi!/components/tl-protocol.js ::
 TorProtocolService.prototype._sendCommand :: line 685"  data: no]
 May 05 23:44:58.109 [notice] Tor v0.2.8.2-alpha (git-684babee8491c3e9)
 running on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.1s and Zlib
 1.2.5.
 May 05 23:44:58.111 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 May 05 23:44:58.111 [notice] This version is not a stable Tor release.
 Expect more bugs than usual.
 May 05 23:44:58.111 [notice] Read configuration file
 "/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/torrc-
 defaults".
 May 05 23:44:58.112 [notice] Read configuration file
 "/Users/nickm/Library/Application Support/TorBrowser-Data/Tor/torrc".
 May 05 23:44:58.162 [notice] Opening Socks listener on 127.0.0.1:9150
 May 05 23:44:58.162 [notice] Opening Control listener on 127.0.0.1:9151
 May 05 23:44:58.000 [warn] Couldn't open file for 'Log info file
 /Applications/TorBrowser.app/TorBrowser/Data/Tor/info.log': No such file
 or directory
 May 05 23:44:58.000 [notice] Closing partially-constructed Socks listener
 on 127.0.0.1:9150
 May 05 23:44:58.000 [notice] Closing partially-constructed Control
 listener on 127.0.0.1:9151
 May 05 23:44:58.000 [warn] Failed to parse/validate config: Failed to init
 Log options. See logs for details.
 May 05 23:44:58.000 [err] Reading config failed--see warnings above.
 [05-06 03:44:58] TorLauncher DBUG: Opening control connection to
 127.0.0.1:9151
 [05-06 03:44:58] TorLauncher DBUG: Sending Tor command: AUTHENTICATE
 414124775d585b586a4e62633f2c3753
 [05-06 03:44:58] TorLauncher NOTE: failed to open authenticated
 connection: [Exception... "Component returned failure code: 0x804b000d
 (NS_ERROR_CONNECTION_REFUSED) [nsIBinaryOutputStream.writeBytes]"
 nsresult: "0x804b000d (NS_ERROR_CONNECTION_REFUSED)"  location: "JS frame
 :: jar:file:///Users/nickm/Library/Application%20Support/TorBrowser-
 Data/Browser/fl4i90pd.default/extensions/tor-
 launcher at torproject.org.xpi!/components/tl-protocol.js ::
 TorProtocolService.prototype._sendCommand :: line 685"  data: no]
 [05-06 03:44:58] TorLauncher NOTE: Tor unexpectedly exited. This might be
 due to a bug in Tor itself, another program on your system, or faulty
 hardware. Until you restart Tor, the Tor Browser will not able to reach
 any websites. If the problem persists, please send a copy of your Tor Log
 to the support team.

 Restarting Tor will not close your browser tabs.
 }}}

 It looks like this is the trouble:

 {{{
 May 05 23:44:58.000 [warn] Couldn't open file for 'Log info file
 /Applications/TorBrowser.app/TorBrowser/Data/Tor/info.log': No such file
 or directory
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18947#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list