#29906: Tor for Android stops working immediately on app start --------------------------------------+----------------------------------- Reporter: torlove | Owner: tbb-team Type: defect | Status: needs_information Priority: High | Milestone: Component: Applications/Tor Browser | Version: Severity: Normal | Resolution: Keywords: tbb-mobile, tbb-crash | Actual Points: Parent ID: #28329 | Points: Reviewer: | Sponsor: --------------------------------------+-----------------------------------
Comment (by sysrqb): Replying to [comment:18 gk]: > Replying to [comment:17 torlove]: > > Hi gk, none of the 4 listed above broke. All worked fines but the last one is sometimes refered to as Always-On Notifications, instead of Tor Browser, by the operating system. > > Yeah, that's a known issue, thanks for getting back to us. Thus, it seems 8.5a9 is the first broken release for you and the patch for #28329 the likely culprit. Confirmed. This is the result of using an [https://developer.android.com/reference/android/view/View.html#setClipToOutline(boolean) object method] added in a more recent API-level than KitKat (18). I'll correct this in the next branch I push for review on #28329. I'll also confirm there aren't other similar errors that will trigger after we correct this one. {{{ E/GeckoCrashHandler( 2205): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 1 ("main") E/GeckoCrashHandler( 2205): java.lang.NoSuchMethodError: android.widget.Button.setClipToOutline E/GeckoCrashHandler( 2205): at org.mozilla.gecko.torbootstrap.TorBootstrapPanel.onCreateView(TorBootstrapPanel.java:113) E/GeckoCrashHandler( 2205): at android.support.v4.app.Fragment.performCreateView(Fragment.java:1974) E/GeckoCrashHandler( 2205): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) E/GeckoCrashHandler( 2205): at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252) E/GeckoCrashHandler( 2205): at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742) E/GeckoCrashHandler( 2205): at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617) E/GeckoCrashHandler( 2205): at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570) E/GeckoCrashHandler( 2205): at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141) E/GeckoCrashHandler( 2205): at android.support.v4.view.ViewPager.populate(ViewPager.java:1177) E/GeckoCrashHandler( 2205): at android.support.v4.view.ViewPager.populate(ViewPager.java:1025) E/GeckoCrashHandler( 2205): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1052) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.onMeasure(LinearLayout.java:590) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719) E/GeckoCrashHandler( 2205): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) E/GeckoCrashHandler( 2205): at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) [193/1884] E/GeckoCrashHandler( 2205): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) E/GeckoCrashHandler( 2205): at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125) E/GeckoCrashHandler( 2205): at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) E/GeckoCrashHandler( 2205): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2291) E/GeckoCrashHandler( 2205): at android.view.View.measure(View.java:16497) E/GeckoCrashHandler( 2205): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1916) E/GeckoCrashHandler( 2205): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1113) E/GeckoCrashHandler( 2205): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1295) E/GeckoCrashHandler( 2205): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000) E/GeckoCrashHandler( 2205): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670) E/GeckoCrashHandler( 2205): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) E/GeckoCrashHandler( 2205): at android.view.Choreographer.doCallback }}} -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29906#comment:19> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs