Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on any action #8476

Closed
VotarB opened this issue Feb 29, 2020 · 8 comments
Closed

Crash on any action #8476

VotarB opened this issue Feb 29, 2020 · 8 comments
Assignees
Labels
closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated. crash gpu/driver OS/macOS priority/P2 A bad problem. We might uplift this to the next planned release.

Comments

@VotarB
Copy link

VotarB commented Feb 29, 2020

Description

This problem renders Brave unusable.
Brave opens a window and crashes upon any interaction:

  • resuming session
  • pressing return after typing in an address
    • if it's a search query instead, it loads the page and then crashes
  • opening bookmarks
  • clicking the homepage preference button

except:

  • opening settings
  • opening bookmarks manager

Steps to Reproduce

  1. Run Brave
  2. Click anything
  3. Crash occurs ~0,5s after.

Actual result:

(when run from command line)

[2040:71683:0229/210557.831333:ERROR:dat_file_util.cc(22)] GetDATFileData: the dat file is not found or corrupted /Users/votar/Library/Application Support/BraveSoftware/Brave-Browser/paoecjnjjbclkgbempaeemcbeldldlbo/1.0.499/rs-BF9234EB-4CB7-4CED-9FCB-F1FD31B0666C.dat
[2040:775:0229/210557.872999:ERROR:ad_block_base_service.cc(209)] Could not obtain ad block data
[2040:71683:0229/210557.897498:ERROR:rewards_service_impl.cc(339)] Failed to read file: /Users/votar/Library/Application Support/BraveSoftware/Brave-Browser/Default/publisher_state
[2046:775:0229/210557.907759:ERROR:ledger_impl.cc(359)] Failed to load publisher state
[2046:775:0229/210557.908033:ERROR:ledger_impl.cc(102)] Failed to initialize wallet
[0229/210607.522437:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffeef232000, 0x2000): (os/kern) invalid address (1)
[0229/210607.681183:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[0229/210607.700254:WARNING:crash_report_exception_handler.cc(239)] UniversalExceptionRaise: (os/kern) failure (5)
Illegal instruction: 4

Expected result:

Opening menu item / website / last session.

Reproduces how often:

Always

Brave version (brave://version info)

1.3.118 on macOS Catalina 10.15.3 (also on 10.15.2 before)

Version/Channel Information:

Beta version

Brave crashes immediately after opening brave://welcome.
I'm not even sure how to check the version... (downloaded 29-02-2020)

[2075:71171:0229/211011.087988:ERROR:rewards_service_impl.cc(206)] Failed to read file: /Users/votar/Library/Application Support/BraveSoftware/Brave-Browser-Beta/Default/ledger_state
[2081:775:0229/211011.092580:ERROR:ledger_impl.cc(107)] Failed to initialize wallet
[0229/211011.416916:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffeec7d8000, 0x2000): (os/kern) invalid address (1)
[0229/211011.578746:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[0229/211011.595012:WARNING:crash_report_exception_handler.cc(239)] UniversalExceptionRaise: (os/kern) failure (5)
Illegal instruction: 4

Other Additional Information

Brave worked correctly when first installed via homebrew, up until first crash. Afterwards it kept crashing after every startup. Reinstalling it with brew didn't help, however uninstalling and then installing with release installer from the website did. It worked properly for a couple of days, yet today it started crashing again. Reinstallation did not help, even when using AppCleaner.

Miscellaneous Information:

I'm on a MacBook with fried GPU, which has power disabled by nvram powerprefs. It causes weird behaviours like not waking up the screen after sleep, however it doesn't interfere with normal execution of other programs (they default to integrated GPU).

@bsclifton
Copy link
Member

@VotarB have you tried disabling Use hardware acceleration when available?
brave://settings/?search=hardware

Given what you've shared about your GPU, I'd definitely recommend trying that

@bsclifton bsclifton added gpu/driver needs-more-info The report requires more detail before we can decide what to do with this issue. labels Mar 2, 2020
@VotarB
Copy link
Author

VotarB commented Mar 3, 2020

I have tried disabling acceleration, but even with it off, the crashes persist.

@rebron
Copy link
Collaborator

rebron commented Mar 5, 2020

@VotarB Can you install our latest 1.4.96 and see if that fixes things for you?

@VotarB
Copy link
Author

VotarB commented Mar 21, 2020

After update, Brave indeed started up and worked for a week or two. Then the exact same thing happened.
Here are the messages when running from console:

[793:84995:0321/142114.120608:ERROR:dat_file_util.cc(22)] GetDATFileData: the dat file is not found or corrupted /Users/votar/Library/Application Support/BraveSoftware/Brave-Browser/paoecjnjjbclkgbempaeemcbeldldlbo/1.0.519/rs-BF9234EB-4CB7-4CED-9FCB-F1FD31B0666C.dat
[793:775:0321/142114.153892:ERROR:ad_block_base_service.cc(209)] Could not obtain ad block data
[793:775:0321/142117.536356:ERROR:brave_referrals_service.cc(314)] Failed to perform referral finalization check, error: 0, response code: 409, payload: {"statusCode":409,"error":"Conflict","message":"download already finalized"}, url: https://laptop-updates.brave.com/promo/activity
[0321/142127.854635:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffee7680000, 0x2000): (os/kern) invalid address (1)
[0321/142128.017028:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[0321/142128.034487:WARNING:crash_report_exception_handler.cc(239)] UniversalExceptionRaise: (os/kern) failure (5)
Illegal instruction: 4

So the problem still seems to be with the memory read.

The hardware acceleration is still disabled.
I have also tried using Chromium, so far it hasn't crashed like this yet.
If you could direct me to the logs directory, I can post more details.

@bsclifton
Copy link
Member

bsclifton commented Apr 14, 2020

Based on the error messaging, seems this is trying to finalize a promotion. Is your system clock up to date?

@VotarB Can you view brave://crashes and see the reported Crash IDs? Having those handy should help us trace the error down on our side

@Durss
Copy link

Durss commented May 3, 2020

Not sure if it's directly related but i get lots of crashes as well. At leat 2 or 3 a day.
It usually happens when i open a link in a new tab via mouse wheel click or Ctrl+Click

I uploaded the crash reports, here are some of them :
601a0000-7758-6104-0000-000000000000
5f1a0000-7758-6104-0000-000000000000
5e1a0000-7758-6104-0000-000000000000
5d1a0000-7758-6104-0000-000000000000
5c1a0000-7758-6104-0000-000000000000
5b1a0000-7758-6104-0000-000000000000

@rebron rebron removed the needs-more-info The report requires more detail before we can decide what to do with this issue. label Aug 11, 2020
@rebron rebron added the priority/P2 A bad problem. We might uplift this to the next planned release. label Aug 11, 2020
@bsclifton
Copy link
Member

@Durss have you ran into this recently? I had looked into this when you originally shared the crash reports, but didn't see anything immediately and wasn't able to reproduce. Let us know!

[ 00 ] views::View::SetFocusSiblings
[ 01 ] views::View::AddChildViewAtImpl
[ 02 ] TabStrip::GetViewInsertionIndex
[ 03 ] TabStrip::AddTabAt
[ 04 ] favicon::ShouldDisplayFavicon
[ 05 ] RecentlyAudibleHelper::WasRecentlyAudible
[ 06 ] vr::VrTabHelper::IsContentDisplayedInHeadset
[ 07 ] chrome::GetTabAlertStatesForContents
[ 08 ] TabUIHelper::ShouldUseFaviconFromHistory
[ 09 ] TabRendererData::FromTabInModel
[ 10 ] BrowserTabStripController::AddTab
[ 11 ] content::NavigatorImpl::Navigate
[ 12 ] content::NavigationControllerImpl::NavigateWithoutEntry
[ 13 ] BrowserTabStripController::OnTabStripModelChanged

@Durss
Copy link

Durss commented Aug 13, 2020 via email

@bsclifton bsclifton added the closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated. label Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated. crash gpu/driver OS/macOS priority/P2 A bad problem. We might uplift this to the next planned release.
Projects
None yet
Development

No branches or pull requests

4 participants