[tbb-bugs] #30086 [Applications/Tor Browser]: Tor Browser for Android: Sync Sign-In Button crashes

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 8 18:35:34 UTC 2019


#30086: Tor Browser for Android: Sync Sign-In Button crashes
--------------------------------------+------------------------------
 Reporter:  cypherpunks               |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:  Tor: 0.3.5.8
 Severity:  Major                     |     Resolution:
 Keywords:  Browser Android           |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+------------------------------

Comment (by sysrqb):

 Neat. Thanks for reporint this.

 {{{
 --------- beginning of crash
 04-08 18:30:22.703 17942 17942 E AndroidRuntime: FATAL EXCEPTION: main
 04-08 18:30:22.703 17942 17942 E AndroidRuntime: Process:
 org.torproject.torbrowser_alpha, PID: 17942
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:
 android.content.ActivityNotFoundException: No Activity found to handle
 Intent { act=org.torproject.torbrowser_alpha.ACTION_FXA_GET_STARTED }
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2007)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.app.Instrumentation.execStartActivity(Instrumentation.java:1673)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.app.Activity.startActivityForResult(Activity.java:4586)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.ActivityCompatJB.startActivityForResult(ActivityCompatJB.java:30)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:162)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:914)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:1009)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.Fragment.startActivity(Fragment.java:921)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.support.v4.app.Fragment.startActivity(Fragment.java:910)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 org.mozilla.gecko.home.CombinedHistoryPanel$2.onClick(CombinedHistoryPanel.java:240)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.view.View.performClick(View.java:6597)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.view.View.performClickInternal(View.java:6574)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.view.View.access$3100(View.java:778)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.view.View$PerformClick.run(View.java:25885)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.os.Handler.handleCallback(Handler.java:873)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.os.Handler.dispatchMessage(Handler.java:99)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.os.Looper.loop(Looper.java:193)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 android.app.ActivityThread.main(ActivityThread.java:6669)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 java.lang.reflect.Method.invoke(Native Method)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
 04-08 18:30:22.703 17942 17942 E AndroidRuntime:        at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler: >>> REPORTING UNCAUGHT
 EXCEPTION FROM THREAD 2 ("main")
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:
 android.content.ActivityNotFoundException: No Activity found to handle
 Intent { act=org.torproject.torbrowser_alpha.ACTION_FXA_GET_STARTED }
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2007)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.app.Instrumentation.execStartActivity(Instrumentation.java:1673)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.app.Activity.startActivityForResult(Activity.java:4586)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.ActivityCompatJB.startActivityForResult(ActivityCompatJB.java:30)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:162)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:914)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:1009)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.Fragment.startActivity(Fragment.java:921)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.support.v4.app.Fragment.startActivity(Fragment.java:910)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 org.mozilla.gecko.home.CombinedHistoryPanel$2.onClick(CombinedHistoryPanel.java:240)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.view.View.performClick(View.java:6597)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 org.mozilla.gecko.home.CombinedHistoryPanel$2.onClick(CombinedHistoryPanel.java:240)
 [0/1811]
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.view.View.performClick(View.java:6597)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.view.View.performClickInternal(View.java:6574)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.view.View.access$3100(View.java:778)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.view.View$PerformClick.run(View.java:25885)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.os.Handler.handleCallback(Handler.java:873)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.os.Handler.dispatchMessage(Handler.java:99)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.os.Looper.loop(Looper.java:193)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 android.app.ActivityThread.main(ActivityThread.java:6669)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 java.lang.reflect.Method.invoke(Native Method)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
 04-08 18:30:22.703 17942 17942 E GeckoCrashHandler:     at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
 }}}

 In
 `mobile/android/base/java/org/mozilla/gecko/home/CombinedHistoryPanel.java`:
 {{{
 232         // Set up Clients empty view.
 233         final Button syncSetupButton = (Button)
 mClientsEmptyView.findViewById(R.id.sync_setup_button);
 234         syncSetupButton.setOnClickListener(new View.OnClickListener()
 {
 235             @Override
 236             public void onClick(View view) {
 237                 Telemetry.sendUIEvent(TelemetryContract.Event.ACTION,
 TelemetryContract.Method.BUTTON, "history_syncsetup");
 238                 // This Activity will redirect to the correct Activity
 as needed.
 239                 final Intent intent = new
 Intent(FxAccountConstants.ACTION_FXA_GET_STARTED);
 240                 startActivity(intent);
 241             }
 242         });
 }}}

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


More information about the tbb-bugs mailing list