Description of the issue:
A web page (tab) locked up (“this page is not responding exit/reload”).
Closed the tab.
Quit Brave.
Relaunched.
Result: Crash
Steps to Reproduce (add as many as necessary): 1. 2. 3.
Quit Brave, presumably while there is a problem with a web page, resulting in what I assume to be an improper shutdown by the browser.
Relaunch Brave.
Result: Crash
Actual Result (gifs and screenshots are welcome!):
Brave app won’t launch
Expected result:
Brave Browser should simply relaunch and allow user to continue where left off
Reproduces how often:
Every few months
Operating System and Brave Version(See the About Brave
page in the main menu):
Version 1.2.41 Chromium: 79.0.3945.88 (Official Build) (64-bit)
MacOS 10.14.6
Model Name: | Mac Pro |
---|---|
Model Identifier: | MacPro6,1 |
Processor Name: | 8-Core Intel Xeon E5 |
Processor Speed: | 3 GHz |
Number of Processors: | 1 |
Total Number of Cores: | 8 |
L2 Cache (per Core): | 256 KB |
L3 Cache: | 25 MB |
Hyper-Threading Technology: | Enabled |
Memory: | 64 GB |
Boot ROM Version: | 132.0.0.0.0 |
SMC Version (system): | 2.20f18 |
Illumination Version: | 1.4a6 |
Additional Information:
Crashing repeated on every relaunch attempt.
I tried launching via shell to see what was going on.
user$ ./Brave\ Browser
AVDCreateGPUAccelerator: Error loading GPU renderer
[0108/052609.122610:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
Segmentation fault: 11
Tried args such as:
user$ ./Brave\ Browser --disable-gpu --disable-brave-sync
AVDCreateGPUAccelerator: Error loading GPU renderer
[0108/060448.255289:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
Segmentation fault: 11
Having been down this road before, I temporarily removed prefs from:
/Users/user/Library/Application Support/BraveSoftware/Brave-Browser/Default
Brave then launched successfully.
Restored my original prefs, but removed the Bookmarks file
/Users/user/Library/Application Support/BraveSoftware/Brave-Browser/Default/Bookmarks
Result: Brave launches successfully
Brave Browser has no way of recovering from this situation, and provides no means of troubleshooting or restoring or re-importing or repairing its own Bookmarks file. I analyzed the Bookmarks file and could not find any obvious problem with it. The JSON seemed valid. That said, it my bookmarks file is huge 393,800+ lines in the JSON file, so I may have missed the issue, but it seemed to be parsing correctly via Python/Sublime.
So I then meticulously copy/pasted sections of the JSON from the original Bookmarks file (representing each subfolder beneath the root “Bookmarks” folder) to a new fresh Bookmarks file and got the majority of my most important bookmarks/bookmark folders online.
This is the 3rd time this has happened to me where Brave seemingly shuts down improperly (I don’t know that for certain but I assume that to be the causal factor), then corrupts its preferences files somehow, either ./Defaults/Bookmarks or ./Defaults/Preferences (see my prior posts the last time this happened), resulting in crashing at launch, no obvious error messages to diagnose the issue, and no means of recovering very important user data.
I love the ad blocking features of Brave, but these crashing/corrupt prefs/data loss issues are unacceptable. This kind of data loss is extremely frustrating. This software is fundamentally broken. My bookmarks and current session are important data. Fixing these corrupt prefs issues should be priority #1.