[tor-bugs] #27922 [Applications/Orbot]: orbot: SUCCESS equals false Tor was unable to start

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 1 03:14:10 UTC 2018


#27922: orbot: SUCCESS equals false Tor was unable to start
-----------------------------+------------------------------------
 Reporter:  themusicgod1     |          Owner:  n8fr8
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Component:  Applications/Orbot
  Version:  Tor: 0.3.3.5-rc  |       Severity:  Normal
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------------
 Orbot: 6.0.2-RC-1
 Android: 6.0.1
 Kernel: 3.10.0 qiaohy at server1 #6 Sat Sep 9 18:16:0 CST 2017
 build number (typing this by hand here): rk322x_box-userdebug 6.0.1 MXC89L
 user.xiaohy.20170909.182142 release-keys
 Android security patch level october 1 2016
 Tor: v.0.3.3.5-openssl1.0.2o

 "Orbot is starting..."

 seems to hang forever at one of two parts (haven't timed it...but at least
 5 minutes).  In the logs:

 org.torproject.android/app_data --defaults-torrc
 /data/data/org.torproject.android/app_bin/torrc -f
 /data/data/org.torproject.android/app_bin/torrc.custom --verify-config;
 SUCCESS=true
 CMD: /data/data/org.torproject.android/app_bin/tor DataDirectory
 /data/data/org.torproject.android/app_data --defaults-torrc
 /data/data/org.torproject.android/app_bin/torrc -f
 /data/data/org.torproject.android/app_bin/torrc.custom; SUCCESS=false
 Tor was unable to start: Error: 1 ERR= OUT=Sep 30 21:26:18.117 [notice]
 Tor 0.3.3.5-rc (git-81d71f0d41adf0d8) running on Linux with Libevent
 2.0.22-stable, OpenSSL 1.0.2o, Zlib 1.2.8, Liblzma 5.2.3, and Libzstd N/A.

 It seems very similar to https://tor.stackexchange.com/questions/17237
 /orbot-is-stuck-on-starting-point-its-not-moving-any-further-after-that-
 heres-t

 stopped using button, waited abit, exited orbot, relaunched it, waited
 abit, and then started again: result:

 control port config file:
 /data/data/org.torproject.android/app_bin/control.txt
 Set background service to FOREGROUND
 Orbot is starting…
 Orbot is starting…
 updating settings in Tor service
 updating torrc custom configuration...
 torrc.custom=ControlPortWriteToFile
 /data/data/org.torproject.android/app_bin/control.txt
 SOCKSPort auto
 SafeSocks 0
 TestSocks 0
 WarnUnsafeSocks 1
 HTTPTunnelPort 8118
 TransPort 0
 DNSPort 0
 VirtualAddrNetwork 10.192.0.0/10
 AutomapHostsOnResolve 1
 DisableNetwork 0
 Log debug syslog
 Log info syslog
 SafeLogging 0
 UseBridges 0
 GeoIPFile /data/data/org.torproject.android/app_bin/geoip
 GeoIPv6File /data/data/org.torproject.android/app_bin/geoip6
 StrictNodes 0


 success.
 Orbot is starting…
 /data/data/org.torproject.android/app_bin/tor DataDirectory
 /data/data/org.torproject.android/app_data --defaults-torrc
 /data/data/org.torproject.android/app_bin/torrc -f
 /data/data/org.torproject.android/app_bin/torrc.custom
 Reading control port config file:
 /data/data/org.torproject.android/app_bin/control.txt
 CMD: /data/data/org.torproject.android/app_bin/tor DataDirectory
 /data/data/org.torproject.android/app_data --defaults-torrc
 /data/data/org.torproject.android/app_bin/torrc -f
 /data/data/org.torproject.android/app_bin/torrc.custom --verify-config;
 SUCCESS=true
 CMD: /data/data/org.torproject.android/app_bin/tor DataDirectory
 /data/data/org.torproject.android/app_data --defaults-torrc
 /data/data/org.torproject.android/app_bin/torrc -f
 /data/data/org.torproject.android/app_bin/torrc.custom; SUCCESS=false
 Tor was unable to start: Error: 1 ERR= OUT=Sep 30 22:08:20.504 [notice]
 Tor 0.3.3.5-rc (git-81d71f0d41adf0d8) running on Linux with Libevent
 2.0.22-stable, OpenSSL 1.0.2o, Zlib 1.2.8, Liblzma 5.2.3, and Libzstd N/A.
 Sep 30 22:08:20.506 [notice] Tor can't help you if you use it wrong! Learn
 how to be safe at https://www.torproject.org/download/download#warning
 Sep 30 22:08:20.507 [notice] Read configuration file
 "/data/data/org.torproject.android/app_bin/torrc".
 Sep 30 22:08:20.507 [notice] Read configuration file
 "/data/data/org.torproject.android/app_bin/torrc.custom".
 Sep 30 22:08:20.530 [warn] Skipping obsolete configuration option
 'WarnUnsafeSocks'
 Sep 30 22:08:20.541 [notice] Scheduler type KISTLite has been enabled.
 Sep 30 22:08:20.543 [notice] Opening Socks listener on 127.0.0.1:0
 Sep 30 22:08:20.544 [notice] Socks listener listening on port 39388.
 Sep 30 22:08:20.545 [notice] Opening HTTP tunnel listener on
 127.0.0.1:8118
 Sep 30 22:08:20.545 [warn] Could not bind to 127.0.0.1:8118: Address
 already in use. Is Tor already running?
 Sep 30 22:08:20.546 [notice] Opening Control listener on 127.0.0.1:0
 Sep 30 22:08:20.547 [notice] Control listener listening on port 50299.
 Sep 30 22:08:20.547 [notice] Closing partially-constructed Socks listener
 on 127.0.0.1:39388
 Sep 30 22:08:20.548 [notice] Closing partially-constructed Control
 listener on 127.0.0.1:50299
 Sep 30 22:08:20.549 [warn] Failed to parse/validate config: Failed to bind
 one of the listener ports.
 Sep 30 22:08:20.550 [err] Reading config failed--see warnings above.
 SUCCESS - authenticated to control port.
 Starting Tor client… complete.
 adding control port event handler
 Unable to start Tor: java.lang.NullPointerException: Attempt to invoke
 virtual method 'void
 org.torproject.android.control.TorControlConnection.setEventHandler(org.torproject.android.control.EventHandler)'
 on a null object reference
 java.lang.NullPointerException: Attempt to invoke virtual method 'void
 org.torproject.android.control.TorControlConnection.setEventHandler(org.torproject.android.control.EventHandler)'
 on a null object reference
     at
 org.torproject.android.service.TorService.addEventHandler(TorService.java:1165)
     at
 org.torproject.android.service.TorService.initControlConnection(TorService.java:1085)
     at
 org.torproject.android.service.TorService.runTorShellCmd(TorService.java:938)
     at
 org.torproject.android.service.TorService.startTor(TorService.java:825)
     at
 org.torproject.android.service.TorService.access$200(TorService.java:90)
     at
 org.torproject.android.service.TorService$IncomingIntentRouter.run(TorService.java:424)
     at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
     at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
     at java.lang.Thread.run(Thread.java:818)

 Set background service to FOREGROUND

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


More information about the tor-bugs mailing list