[tbb-bugs] #28329 [Applications/Tor Browser]: Design TBA+Orbot configuration UI/UX

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 27 11:17:55 UTC 2019


#28329: Design TBA+Orbot configuration UI/UX
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  enhancement                          |         Status:
                                                 |  needs_revision
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, ux-team, TBA-a3,         |  Actual Points:
  TorBrowserTeam201902                           |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------
Changes (by gk):

 * keywords:  tbb-mobile, ux-team, TBA-a3, TorBrowserTeam201902R => tbb-
     mobile, ux-team, TBA-a3, TorBrowserTeam201902
 * status:  needs_review => needs_revision


Comment:

 Okay, thanks for this. The UI looks nice. I have some issues, though,
 getting this to run properly in the first place. Here is the build I used
 for testing:

 https://people.torproject.org/~gk/testbuilds/tor-browser-tbb-nightly-
 android-armv7-multi-qa-28329.apk
 https://people.torproject.org/~gk/testbuilds/tor-browser-tbb-nightly-
 android-armv7-multi-qa-28329.apk.asc

 It's based on `tor-browser-build`'s `master` branch pointing the Firefox
 project to my `bug_28329_test`.

 If I press the Connect button the app is crashing with OOM errors (I
 restarted my Samsung Galaxy S5 mini, no dice):
 {{{
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:
 java.lang.OutOfMemoryError: Failed to allocate a 795676 byte allocation
 with 266048 free bytes and 259KB until OOM
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 dalvik.system.VMRuntime.newNonMovableArray(Native Method)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2230)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.loadDrawableForCookie(Resources.java:4282)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.loadDrawable(Resources.java:4156)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.loadDrawable(Resources.java:4006)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.TypedArray.getDrawable(TypedArray.java:886)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.drawable.AnimationDrawable.inflateChildElements(AnimationDrawable.java:324)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.drawable.AnimationDrawable.inflate(AnimationDrawable.java:294)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:2551)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.graphics.drawable.Drawable.createFromXml(Drawable.java:2322)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.loadDrawableForCookie(Resources.java:4277)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.loadDrawable(Resources.java:4156)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.getDrawable(Resources.java:2045)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.res.Resources.getDrawable(Resources.java:2027)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.support.v7.widget.ResourcesWrapper.getDrawable(ResourcesWrapper.java:133)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.content.Context.getDrawable(Context.java:464)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.view.View.setBackgroundResource(View.java:18598)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.support.v7.widget.AppCompatImageView.setBackgroundResource(AppCompatImageView.java:76)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 org.mozilla.gecko.torbootstrap.TorBootstrapPanel.startBootstrapping(TorBootstrapPanel.java:175)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 org.mozilla.gecko.torbootstrap.TorBootstrapPanel.access$000(TorBootstrapPanel.java:37)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 org.mozilla.gecko.torbootstrap.TorBootstrapPanel$1.onClick(TorBootstrapPanel.java:61)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.view.View.performClick(View.java:5721)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.widget.TextView.performClick(TextView.java:10955)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.view.View$PerformClick.run(View.java:22620)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.os.Handler.handleCallback(Handler.java:739)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.os.Handler.dispatchMessage(Handler.java:95)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.os.Looper.loop(Looper.java:148)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 android.app.ActivityThread.main(ActivityThread.java:7331)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 java.lang.reflect.Method.invoke(Native Method)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
 02-27 10:40:50.210  5350  5350 E GeckoCrashHandler:     at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
 }}}
 or
 {{{
 02-27 11:44:00.989 24280 24280 E GeckoCrashHandler:
 java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw
 OutOfMemoryError; no stack trace available
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask: Icon task crashed
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:
 java.lang.OutOfMemoryError: Failed to allocate a 21 byte allocation with
 3024 free bytes and 3024B until OOM
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 java.util.Scanner.<init>(Scanner.java:158)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.loadSites(SuggestedSites.java:221)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.loadFromProfile(SuggestedSites.java:362)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.refresh(SuggestedSites.java:418)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.get(SuggestedSites.java:491)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.get(SuggestedSites.java:459)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.db.SuggestedSites.get(SuggestedSites.java:449)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.icons.preparation.SuggestedSitePreparer.refreshSiteFaviconMap(SuggestedSitePreparer.java:75)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.icons.preparation.SuggestedSitePreparer.initialise(SuggestedSitePreparer.java:29)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.icons.preparation.SuggestedSitePreparer.prepare(SuggestedSitePreparer.java:99)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.icons.IconTask.prepareRequest(IconTask.java:117)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at
 org.mozilla.gecko.icons.IconTask.call(IconTask.java:52)
 02-27 11:44:01.099 24280 24367 E Gecko/IconTask:        at org.
 }}}

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


More information about the tbb-bugs mailing list