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.

nightly crashing due to "brave_stats::BraveStatsUpdater::BuildStatsEndpoint"

See original GitHub issue

Description

Nightly is currently crashing every few seconds after startup or after a few minutes. I have a brand new profile that crashes every ~5min but I also have a profile that crashes every ~1-2 seconds after startup making it almost impossible to use.

We’re also getting several reports from the community as per the following:

@bsclifton also ran into the above issue on his machine and reported the crash via #crashes in Slack.

Here’s a quick preview of the Stack Full stack can be downloaded via the following:

[ 00 ] brave_stats::BraveStatsUpdater::BuildStatsEndpoint(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > const &)
[ 01 ] std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> >::basic_string<nullptr_t>
[ 02 ] brave_stats::BraveStatsUpdater::SendServerPing()
[ 03 ] std::__1::__tree<std::__1::__value_type<Profile::OTRProfileID,std::__1::unique_ptr<Profile,std::__1::default_delete<Profile> > >,std::__1::__map_value_compare<Profile::OTRProfileID,std::__1::__value_type<Profile::OTRProfileID,std::__1::unique_ptr<Profile,std::__1::default_delete<Profile> > >,std::__1::less<Profile::OTRPro

Crash ID’s from @kjozwiak:

  • 4d2a0000-9cc8-c705-0000-000000000000
  • 4c2a0000-9cc8-c705-0000-000000000000
  • 4a2a0000-9cc8-c705-0000-000000000000
  • 102a0000-9cc8-c705-0000-000000000000

Crash ID’s from @bsclifton:

  • a01f0000-9cc8-c705-0000-000000000000
  • a51f0000-9cc8-c705-0000-000000000000
  • a61f0000-9cc8-c705-0000-000000000000
  • a71f0000-9cc8-c705-0000-000000000000
  • a81f0000-9cc8-c705-0000-000000000000
  • a91f0000-9cc8-c705-0000-000000000000

Steps to Reproduce

  1. launch 1.21.35 CR: 88.0.4324.96
  2. login into a few websites (GH/Gmail in my case) and wait ~10min or so
  3. eventually Nightly will crash

I have a profile saved that basically crashes after startup as well so it makes it impossible to use Brave on Nightly.

Actual result:

Nightly crashing pretty often which makes it impossible to use

Expected result:

Nightly shouldn’t be crashing.

Reproduces how often:

So far I’ve managed to reproduce the crash on three different clean profiles after ~20min of usage.

Brave version (brave://version info)

Brave | 1.21.35 Chromium: 88.0.4324.96 (Official Build) nightly (64-bit)
-- | --
Revision | 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS | Windows 10 OS Version 2009 (Build 19042.746)

Version/Channel Information:

  • Can you reproduce this issue with the current release? I'm not 100% sure if this occurring on Release
  • Can you reproduce this issue with the beta channel? I'm not 100% sure if this occurring on BETA
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

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

Miscellaneous Information:

CCing @bsclifton @rebron @bbondy @aekeus @brave/legacy_qa @keur

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
141commented, Feb 6, 2021

The latest Version 1.19.92 Chromium: 88.0.4324.152 (Official Build) (64-bit), seems to have fixed the tab crashing error for me. Version 1.19.88 was the only errored version it seems in the release versions.

1reaction
kjozwiakcommented, Jan 31, 2021

We also released https://github.com/brave/brave-browser/releases/tag/v1.21.36 that had a quick fix as per https://github.com/brave/brave-core/pull/7753. That should have resolved the issue 👍 We’re also working on a longer term solution as per https://github.com/brave/brave-core/pull/7754. We’ll adjust our process so this doesn’t happen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashing, freezing, or unexpectedly restarting troubleshooting
Crashing, freezing, and restarting are usually signs of a software or app problem. This means your device isn't broken, but probably needs some...
Read more >
Troubleshoot Firefox crashes (closing or quitting unexpectedly)
Learn how to troubleshoot and fix Firefox crashes, and find out how to get more help if you're having problems solving the issue....
Read more >
Fix a Pixel phone that's restarting or crashing - Google Support
Randomly reboots or restarts; Shuts down without restarting; Restarts constantly: Go to the Advanced troubleshooting section. Troubleshoot your phone. Check for ...
Read more >
Identifying the cause of common crashes - Apple Developer
A crash due to a language exception also has a Last Exception Backtrace in the crash report: Last Exception Backtrace: 0 CoreFoundation 0x19aae2a48 ......
Read more >
How to troubleshoot crashing in Apex Legends - EA Help
Fix issues with Apex Legends crashing and freezing on PC, ... Trello board for emerging bugs and issues that may lead to your...
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