[tbb-bugs] #30944 [Applications/Tor Browser]: TBA - IllegalStateException: Not allowed to start service Intent

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 21 19:36:35 UTC 2019


#30944: TBA - IllegalStateException: Not allowed to start service Intent
-----------------------+------------------------------------------
 Reporter:  mikehardy  |          Owner:  tbb-team
     Type:  defect     |         Status:  new
 Priority:  Medium     |      Component:  Applications/Tor Browser
  Version:             |       Severity:  Normal
 Keywords:             |  Actual Points:
Parent ID:             |         Points:
 Reviewer:             |        Sponsor:
-----------------------+------------------------------------------
 Hi there, it appears that if the Tor Browser for Android is set as the
 default WebView, it may be called upon as the system's default
 "CustomTabs" implementation, and be liable to respond to the
 "CustomTabsClient.warmup" API call, which starts it in the background.

 Apparently there are cases where Tor Browser for Android will then take an
 Intent, and attempt to start a service Intent (instead of using Android 8+
 APIs) which then causes an IllegalStateException to be thrown, which
 crashes the app that tried to call warmup

 Corresponding issue: https://github.com/ankidroid/Anki-Android/issues/5337

 Links are in there including a stack trace

 I think this is the most relevant though, there's an upstream patch from
 Mozilla that may or may not be integrated, and may or may not need to be
 adapted into other areas:
 https://trac.torproject.org/projects/tor/ticket/29238#comment:3

 Unfortunately I couldn't actually find a link to just look at the git repo
 source code for TBA, so I can't point deeper into to the issue

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


More information about the tbb-bugs mailing list