[tor-bugs] #33944 [Applications/Tor Browser]: tba: unhandled bug in OkHttp

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 20 22:08:21 UTC 2020


#33944: tba: unhandled bug in OkHttp
------------------------------------------+------------------------
     Reporter:  traumschule               |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:  tbb-mobile
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+------------------------
 Occasionally little-t tor crashes because of a
 [https://github.com/shadowsocks/shadowsocks-android/issues/2297 bug] in
 [https://github.com/square/okhttp/blob/master/okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
 OKHttp].
 Tor Browser stays up but `proxy server is refusing connections`.
 `java.net.InetAddress.toString()` suggests it happens due to changes of
 the network address for example when switching VPN or disabling network.
 No exact STR yet.


 {{{
 E AndroidRuntime: FATAL EXCEPTION: OkHttp ConnectionPool
 E AndroidRuntime: Process: org.torproject.torbrowser_alpha, PID: 23649
 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke
 virtual method 'java.lang.String java.net.InetAddress.toString()' on a
 null object reference
 E AndroidRuntime:       at
 com.android.okhttp.internal.Util.closeQuietly(Util.java:96)
 E AndroidRuntime:       at
 com.android.okhttp.ConnectionPool.cleanup(ConnectionPool.java:282)
 E AndroidRuntime:       at
 com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:94)
 E AndroidRuntime:       at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
 E AndroidRuntime:       at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
 E AndroidRuntime:       at java.lang.Thread.run(Thread.java:764)
 }}}

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


More information about the tor-bugs mailing list