Opened 5 months ago

Last modified 5 months ago

#34241 new defect

tba crash saving image

Reported by: traumschule Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-mobile tbb-crash noscript okhttp
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

  • tba version: 68.8.0 (9.5a12)
  • includes several Gecko traces for error code 0x80004005 (catch-all ff error) equal to #31572 and #33966

STR:
1) start and connect TBA (without this step the page won't be loaded after connecting)
2) in another application share a link with TBA
3) "Open in Tor Browser"
4) "Save Image As"
Result:

05-17 15:19:16.044  5623  5641 E AndroidRuntime: FATAL EXCEPTION: GeckoBackgroundThread
05-17 15:19:16.044  5623  5641 E AndroidRuntime: Process: org.torproject.torbrowser_alpha, PID: 5623
05-17 15:19:16.044  5623  5641 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.toString()' on a null object reference
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.internal.Util.closeQuietly(Util.java:96)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.deallocate(StreamAllocation.java:293)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.streamFinished(StreamAllocation.java:234)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.internal.http.Http1xStream$AbstractSource.endOfInput(Http1xStream.java:571)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:610)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:396)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at java.io.InputStream.read(InputStream.java:101)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.downloadImageForSetImage(GeckoApplication.java:887)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.access$300(GeckoApplication.java:82)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication$6.run(GeckoApplication.java:847)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.executeRunnable(PermissionBlock.java:139)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.onPermissionsGranted(PermissionBlock.java:118)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.run(PermissionBlock.java:98)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.setImageAs(GeckoApplication.java:844)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.access$100(GeckoApplication.java:82)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication$EventListener.handleMessage(GeckoApplication.java:649)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:368)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:216)
05-17 15:19:16.044  5623  5641 E AndroidRuntime:        at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:41)

Alternative way:
1) Open and connect TBA
2) Click "Donate Now"
3) Long tap the logo
4) Switch to the Image tab
5) "Set As"
6) See the Unable to set image message
7) "Set As" again
Result:

05-17 15:57:13.538 24022 24041 E AndroidRuntime: FATAL EXCEPTION: GeckoBackgroundThread
05-17 15:57:13.538 24022 24041 E AndroidRuntime: Process: org.torproject.torbrowser_alpha, PID: 24022
05-17 15:57:13.538 24022 24041 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.InetAddress.toString()' on a null object reference
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.Util.closeQuietly(Util.java:96)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.deallocate(StreamAllocation.java:293)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.connectionFailed(StreamAllocation.java:330)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.connectionFailed(StreamAllocation.java:325)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.StreamAllocation.recover(StreamAllocation.java:373)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.HttpEngine.recover(HttpEngine.java:479)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.http.HttpEngine.recover(HttpEngine.java:495)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:523)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:434)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:248)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:26)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.downloadImageForSetImage(GeckoApplication.java:882)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.access$300(GeckoApplication.java:82)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication$6.run(GeckoApplication.java:847)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.executeRunnable(PermissionBlock.java:139)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.onPermissionsGranted(PermissionBlock.java:118)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.permissions.PermissionBlock.run(PermissionBlock.java:98)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.setImageAs(GeckoApplication.java:844)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication.access$100(GeckoApplication.java:82)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.GeckoApplication$EventListener.handleMessage(GeckoApplication.java:649)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:368)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:216)
05-17 15:57:13.538 24022 24041 E AndroidRuntime:        at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:41)

LMK if you are interested in the complete log.

Child Tickets

Change History (1)

comment:1 Changed 5 months ago by gk

Keywords: tbb-crash added
Note: See TracTickets for help on using tickets.