question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

P3A measurements maybe causing UI hangs (disable temporarily)

See original GitHub issue

Desktop

  1. Fresh profile
  2. Create 4 or more tabs
  3. Change your default search engine to Brave (if not already set). Then change default to Ecosia.
  4. Disable sponsored images
    • Desktop new tab > Customize > Show Background Images

Check the following:

  1. View brave://local-state
  2. Search for Brave.NTP.NewTabsCreated; verify value is correct (2 or more)
  3. Search for Brave.Search.SwitchEngine; verify value is correct 3
  4. Search for Brave.NTP.SponsoredImagesEnabled; verify value is 0
  5. Verify some of the values have a sent as true

Android

  1. Fresh profile on a previous version before https://github.com/brave/brave-core/pull/10940 landed
  2. Create 4 or more tabs
  3. Change your default search engine to Brave (if not already set). Then change default to Ecosia.
  4. Disable sponsored images
    • Android brave://settings > New Tab Page > Show Sponsored Images)

Check the following:

  • ensure that the previous data isn’t being removed when upgrading
  • ensure that new data isn’t being added into brave://local-state after upgrading

See https://github.com/brave/brave-browser/issues/19280#issuecomment-964493571 for examples.

Description

After the 1.31.90 rollout, many users, mostly on Android but perhaps some also on desktop reported ui hangs. Since this is correlated with the first P3A submission window after #18224 was uplifted to release, it may be prudent to revert the change until we understand the issue better.

Steps to Reproduce

Unknown

Actual result:

Expected result:

Reproduces how often:

Desktop Brave version:

Android Device details:

  • Install type (ARM, x86):
  • Device type (Phone, Tablet, Phablet):
  • Android version:

Version/Channel Information:

  • Can you reproduce this issue with the current release?
  • Can you reproduce this issue with the beta channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
bscliftoncommented, Nov 9, 2021

Created https://github.com/brave/brave-browser/issues/19302 as a follow up - so we don’t forget to re-enable at some point

0reactions
kjozwiakcommented, Nov 9, 2021

Verification PASSED on Samsung S10+ running Android 11 using the following build:

1.31.91 Chromium: 95.0.4638.69

Clean Profile/New User

  • ensured that Brave.NTP.NewTabsCreated, Brave.Search.SwitchEngine & Brave.NTP.SponsoredImagesEnabled weren’t being logged under brave://local-state on a clean profile on 1.31.91 Chromium: 95.0.4638.69

Previous/Upgraded Profile/User

  • ensured that previous data from brave://local-state isn’t being removed when upgrading to 1.31.91 Chromium: 95.0.4638.69
  • ensured that P3A cohorts are not being updated after updating to 1.31.91 Chromium: 95.0.4638.69

Found https://github.com/brave/brave-browser/issues/19324 while running through verifications. Looks like we’re re-enabling P3A whenever an upgrade is done on Android.


Verification PASSED on Samsung Galaxy Tablet A running Android 11 using the following build:

1.31.91 Chromium: 95.0.4638.69

Clean Profile/New User

  • ensured that Brave.NTP.NewTabsCreated, Brave.Search.SwitchEngine & Brave.NTP.SponsoredImagesEnabled weren’t being logged under brave://local-state on a clean profile on 1.31.91 Chromium: 95.0.4638.69

Previous/Upgraded Profile/User

  • ensured that previous data from brave://local-state isn’t being removed when upgrading to 1.31.91 Chromium: 95.0.4638.69
  • ensured that P3A cohorts are not being updated after updating to 1.31.91 Chromium: 95.0.4638.69

Found https://github.com/brave/brave-browser/issues/19324 while running through verifications. Looks like we’re re-enabling P3A whenever an upgrade is done on Android.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re-enable P3A uploads on Android · Issue #19302 - GitHub
Description P3A uploading temporarily disabled with ... P3A measurements maybe causing UI hangs (disable temporarily) #19280.
Read more >
Does anyone else's phone sometimes become absolutely ...
Probably something to do with that weird Android 12 update at the end ... the screen freezes and refuses to respond to touch...
Read more >
Seabrook Station Rev. 20 to Updated Final Safety Analysis Report ...
the steam generator relief valves and possibly the steam generator safety valves. The steam pressure transient produced would cause shrinkage in the steam....
Read more >
11/84 Publ ication Number 0120-0054-10 November 1984 K205 ...
This manual contains information for servIcing and maintaining the Gould K205. Logic Analyzer. Procedures are provided for making adjustments and calibrat-.
Read more >
CULTURAL RESOURCES REPORT - San Bernardino County
Project Size: Approximately 9.6 acres. Keywords: Northeastern San Bernardino Valley; Phase I historical/archaeological resources survey; Site 3762-1H ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found