#25659: Race-condition loading add-ons in Orfox
--------------------------------------+--------------------------
Reporter: sysrqb | Owner: tbb-team
Type: defect | Status: new
Priority: High | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-mobile | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+--------------------------
Comment (by sysrqb):
hm. I built a new apk with `extensions.logging.enabled = true` so we get
logging on first-run.
{{{
I/Gecko (28133): 1522192347000 addons.xpi DEBUG Addon
[email protected] will be installed as a packed xpi
I/Gecko (28133): 1522192347000 addons.xpi DEBUG Addon tor-
[email protected] will be installed as a packed xpi
I/Gecko (28133): 1522192347100 addons.xpi DEBUG Addon
{73a6fe31-595d-460b-a920-fcc0f8843232} will be installed as a packed xpi
I/Gecko (28133): 1522192347100 addons.xpi DEBUG Staged
install of [email protected] from
file:///data/data/info.guardianproject.orfox/distribution/extensions
/[email protected] ready; waiting for restart.
}}}
`Staged install of [email protected] [...] ready; waiting for
restart.`
This doesn't explain why it isn't loaded after restarting the app, but
this explains why it isn't loaded on first-run. With this install, it is
loaded after restarting the app.
{{{
I/Gecko (28760): 1522193195700 addons.xpi DEBUG Found
updated metadata for [email protected] in app-profile
I/Gecko (28760): 1522193195700 addons.xpi DEBUG Processing
install of [email protected] in app-profile
}}}
I wonder what happens if I clear the app's cache/data and start fresh, but
toggle extension.logging.enabled so it is enabled on first-run but
disabled on second-run. Does the logging make a difference?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25659#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs