Brave Crashing on Startup (maybe new extension problem)


Description of the issue:
How can this issue be reproduced?

  1. I try to open Brave and it closes after a few seconds.
  2. This has been happening since today. Last night everything was normal.
  3. I installed two extensions yesterday: blackbox and a google translator extension.

Expected result:

Brave Version( check About Brave):
103.1.41.96 (not sure if it is the right answer)
Additional Information:
I’m not sure if the problem is with the new extensions, but that was the only browser modification before the error. If there was a way to uninstall extensions, I’d like to try it.

I wouldn’t want to go out and try out every possible solution that has already been available on the forum because I’m afraid of screwing up something other than the problem. Is there any way to send a crash file?
I would have no problem uninstalling all of Brave and reinstalling, I just can’t lose the passwords I have stored and I wouldn’t want to lose my bookmarks.

I installed an older version, which doesn’t sync, and it stopped closing unexpectedly. I took the opportunity to uninstall both extensions. The problem is that the browser automatically refreshes and has the same problem again - it looks like the problem wasn’t the extensions.
I also tried to open the browser in private mode, but it doesn’t even open when I choose that option.

I apologize in advance, I’m not an expert in the field and I’m also a little old.
Thank you very much.

@vini76

Re Brave version numbers (example from my Mac, July 20, 2022):

Screen Shot 2022-07-20 at 5.37.58 PM

Re Testing Extensions

Study:

64 architecture

  • "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --disable-extensions

x86 architecture

  • "C:\Program Files(x86)\BraveSoftware\Brave-Browser\Application\brave.exe" --disable-extensions

When you get Brave Browser started, then Disable and Remove the two Extensions that you mentioned. Exit / Quit Brave Browser.

Restore the Windows shortcut for Brave Browser . . .

64 architecture

  • "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"

x86 architecture

  • "C:\Program Files(x86)\BraveSoftware\Brave-Browser\Application\brave.exe"

Start Brave Browser.

Test each of the Extensions, alone, one-at-a-time.

Re Sending Crash Reports

Re Backup / Save Passwords

https://community.brave.com/search?q=passwords%20csv%20@CerealLover%20order:latest

Re Latest Brave Browser Stable Release

https://github.com/brave/brave-browser/blob/master/CHANGELOG_DESKTOP.md

Thank you very much for your time!

I did everything that was said to be done, but to no avail.

When I was able to install the old version, before it was automatically updated to the latest version, I was able to uninstall the extensions. The issue has not been resolved, which seems to indicate that the extensions are not causing the browser to close unexpectedly.
Likewise, I opened the browser via command line, with all extensions disabled, as described, but with no result.

I was able to quickly go to brave://crashes in the few seconds the browser stays open, but I couldn’t get any results when I clicked submit because the browser immediately closes, without being able to receive the diagnostic reports.

@vini76

Copy the Bookmarks files to a safe location on your computer, beyond/outside the Brave Browser installation paths.

Bookmarks and Bookmarks.bak files:

  • %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Bookmarks
  • %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Bookmarks.bak

Delete the ‘Caches’ folder, and delete the ‘Cookies’ file.

Caches (folder):

  • %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Cache\

Cookies (file):

  • %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\Cookies

Your: ‘opened the browser via command line, with all extensions disabled, as described, but with no result’

I am uncertain about the trailing part: ‘but with no result’ . . . means?

For the following, add the switches to the Brave Browser shortcut.

The switches (that will follow) are intended to:

  • start up Brave Browser, showing a New Private Window
  • disable all experiments at brave://flags
  • disable extensions
  • disable GPU ie disable Hardware Acceleration
  • enable leak detection and if that failure occurs, then crash the browser (–enable-leak-detection --crash-on-failure are a combo)
  • produce error/log output to a file named ‘brave_console_out.txt’ on the Windows OS Desktop

64 architecture (note the switches to add):

"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --incognito --no-experiments --disable-extensions --disable-gpu --enable-leak-detection --crash-on-failure 2> %USERPROFILE%\Desktop\brave_console_out.txt

x86 architecture (note the switches to add):

"C:\Program Files(x86)\BraveSoftware\Brave-Browser\Application\brave.exe" --incognito --no-experiments --disable-extensions --disable-gpu --enable-leak-detection --crash-on-failure 2> %USERPROFILE%\Desktop\brave_console_out.txt

You would add the following, in the Brave Browser shortcut:

  • --incognito --no-experiments --disable-extensions --disable-gpu --enable-leak-detection --crash-on-failure 2> %USERPROFILE%\Desktop\brave_console_out.txt

Add those to the end of the Target field’s existing string.

Start Brave Browser via the Brave Browser shortcut.

IF Brave Browser keeps running . . .

Go to: brave://flags and click the ‘Reset all’ button. Relaunch Brave Browser.

Exit / Quit Brave Browser

Take a look at the ‘brave_console_out.txt’ file (if it exists), on the Desktop.

In the Brave Browser shortcut, remove the --no-experiments switch.

Start Brave Browser via the Brave Browser shortcut.

Try brave://crashes effort, again.

When you think appropriate, restore the Windows shortcut for Brave Browser . . .

64 architecture

  • "C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe"

x86 architecture

  • "C:\Program Files(x86)\BraveSoftware\Brave-Browser\Application\brave.exe"

“Bookmarks and Bookmarks.bak files:”
-There’s no Default\Bookmarks.bak, only Default\Bookmarks

“Delete the ‘Caches’ folder, and delete the ‘Cookies’ file.”
-There’s no Cookies file.

“Your: ‘opened the browser via command line, with all extensions disabled, as described, but with no result’
I am uncertain about the trailing part: ‘but with no result’ . . . means?”
-Sorry, I meant the browser keep closing unexpectedly after few seconds.

“Take a look at the ‘brave_console_out.txt’ file (if it exists), on the Desktop.”
-There’s no ‘brave_console_out.txt’ file on the Desktop (or anywhere else on the computer).

“Try brave://crashes effort, again.”
-Now I saw that the Crashes Report was sent yesterday.
-The crash report ID is: f6d30800-2312-8508-0000-000000000000

-I just restored the Windows shortcut for Brave Browser to test if the issue is resolved, but it keeps closing unexpectedly after a few seconds.

Thank you again.