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.

crash can occur when clicking on the rewards icon (particularly if BAP popup is displayed)

See original GitHub issue

Description

Found while testing https://github.com/brave/brave-core/pull/7698

Sometimes tapping on the rewards icon in the URL bar crashes the browser. I’ve only encountered it so far when the BAP popup is overlapping the rewards panel (https://github.com/brave/brave-browser/issues/14108).

Steps to Reproduce

  1. Clean profile, region = Japan, staging environment
  2. Opened NTP
  3. Opened Rewards panel, dismissed onboarding modal
  4. Claimed UGP grant
  5. Completed captcha
  6. Waited a few seconds (for grant to process), then closed “It’s your lucky day” overlay.
  7. Clicked elsewhere so Brave was not in focus
  8. Then the BAP popup displayed overlapping the rewards panel
  9. Click on the rewards icon in the URL bar

Actual result:

Brave crashes, crash report ID: 42120000-f138-da05-0000-000000000000

Expected result:

No crash, I believe without the BAP popup clicking on that icon would close the rewards panel

Reproduces how often:

easily

Brave version (brave://version info)

Brave	1.22.19 Chromium: 89.0.4389.40 (Official Build) nightly (x86_64)
Revision	2c2ed83cd507b23e4845edd09a7d1dfc727daf4b-refs/branch-heads/4389@{#602}
OS	macOS Version 10.15.7 (Build 19H512)

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? yes

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:

cc @zenparsing @Miyayes @brave/legacy_qa

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
kjozwiakcommented, Mar 11, 2021

As per https://github.com/brave/internal/issues/747#issuecomment-761233483, the tooltip won’t be appearing as we’re basically ~2 days before March 13th hits. As per the specification, the tooltip stops appearing a week before March 13th. So a lot of the above cases aren’t valid anymore re: using the tooltip.

0reactions
kjozwiakcommented, Mar 11, 2021

Verification PASSED on Win 10 x64 using the following build:

Brave | 1.23.31 Chromium: 89.0.4389.86 (Official Build) nightly (64-bit)
-- | --
Revision | 0c2dac31bc21e806a791641316e99920f84ea52c-refs/branch-heads/4389@{#1472}
OS | Windows 10 OS Version 2009 (Build 19042.844)
  • ensured that you can claim a grant without any issues
  • ensured that clicking on the rewards icon once you’ve claimed the grant doesn’t crash Brave
  • ensured that clicking on the rewards icon when the warning modal is opened via the NTP doesn’t crash Brave
  • ensured that clicking on the rewards icon when March 13th hits and balance appears as 0.00 doesn’t crash Brave

Verified passed with

Brave	1.21.76 Chromium: 89.0.4389.86 (Official Build) (x86_64)
Revision	0c2dac31bc21e806a791641316e99920f84ea52c-refs/branch-heads/4389@{#1472}
OS	macOS Version 10.15.7 (Build 19H524)
  • ensured that you can claim a grant without any issues
  • ensured that clicking on the rewards icon once you’ve claimed the grant doesn’t crash Brave
  • ensured that clicking on the rewards icon when the warning modal is opened via the NTP doesn’t crash Brave
  • ensured that clicking on the rewards icon when March 13th hits and balance appears as 0.00 doesn’t crash Brave

Verification passed on

Brave 1.21.76 Chromium: 89.0.4389.86 (Official Build) (64-bit)
Revision 0c2dac31bc21e806a791641316e99920f84ea52c-refs/branch-heads/4389@{#1472}
OS Ubuntu 18.04 LTS
  • ensured that you can claim a grant without any issues
  • ensured that clicking on the rewards icon once you’ve claimed the grant doesn’t crash Brave
  • ensured that clicking on the rewards icon when the warning modal is opened via the NTP doesn’t crash Brave
  • ensured that clicking on the rewards icon when March 13th hits and balance appears as 0.00 doesn’t crash Brave
Read more comments on GitHub >

github_iconTop Results From Across the Web

Tipping doesn't do anything · Issue #2106 · brave/brave-browser ...
crash can occur when clicking on the rewards icon (particularly if BAP popup is displayed) #14110. Closed. BAP cutoff date isn't correctly detected...
Read more >
Where can I edit my Custom Reward Points Popup Modal?
When this button is clicked, the visitor will see a popup modal that offers them various enticements to earn bonus reward points. The...
Read more >
Yet Another Mechlab at MechWarrior 5: Mercenaries Nexus - Mods ...
Fully unlocked, MWO-style Mechlab with all missing MWO Mech variants and weapon and AMS hardpoints. Supports vanilla savegames and mech mods.
Read more >
-Patch Notes- Archival (v278.73 & Below) :: ARK: Survival Evolved ...
Fixed an issue where the Mini Map Marker wouldn't display correctly in certain areas of the game. - Slightly decreased Rex's ability to...
Read more >
the 2 of 3 and 4 0 5 to 6 a 7 in 8 1 9 for 10 image 11 2 12 is 13
the 2 of 3 and 4 0 5 to 6 a 7 in 8 1 9 for 10 image 11 2 12 is...
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