Brave Linux. Click Icon, Not Starting or Terminal Command, Not Start Error

you very welcome @Allis

1 Like

Hello @fmarier @steeven based on that https://github.com/brave/brave-browser/issues/29871#issuecomment-1516644603

if i may suggest to not to revert to the old chromium 112.0.5615.121 as 112.0.5615.138 include some zero day security update

so in my humble opinion it would be better to go for 112.0.5615.165 instead

and thanks for your time and help :slight_smile:

1 Like

Version 1.50.125 was just released for Linux. That will hopefully resolve the crash you’ve been seeing.

2 Likes

Thank you very much!
Brave is working properly for me again.

2 Likes

Sorry, been away for awhile. So I did the updater. Then I tried running Brave Browser Icon and it did not run. So I tried the terminal brave-browser. That did not run and got the same error. I tried brave-browser-stable. That did not run and same error. So I tried brave-browser-beta. That did run with some minor errors. I am Not sure. What this is, maybe time to reinstall Ubuntu and try reinstalling Brave or Just use Brave Beta for awhile. I see the update fixed ky117 so that is good and Thanks for trying. I know you and everyone at Brave really put in a lot to fix this. PS For reference Here is the error after update to 150.125.

[4217:4217:0420/224722.418125:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[0420/224722.752435:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0420/224722.784591:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0420/224722.784622:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[4255:4261:0420/224722.980452:ERROR:ssl_client_socket_impl.cc(992)] handshake failed; returned -1, SSL error code 1, net_error -3
/usr/bin/brave-browser-stable: line 48:  4217 Bus error               (core dumped) "$HERE/brave" "$@"

Again Thank You All! and Take Care!

FYI. My workaround fix was this. So I will use brave-beta for now I just copied over my profile. I moved in the .config/BraveSoftware/Brave-Browser/default folder into the .config/BraveSoftware/Brave-Browser-Beta folder. I replaced the default folder and It worked. I know this is unstable but it works for now.
I will just wait for update to version 151. Again, Thank You.

Hello @Allis

could you run this command and check which version it return

brave-browser-stable --version

and you very welcome :slight_smile:

1 Like

Hello @justsomeone1, hope you are having a nice day. OK. I ran brave-browser-stable --version. Here is the output.
Brave Browser 112.1.50.125

Hope this helps. Take Care. PS I did check my SSD harddrive for failures but no errors. The SSD is only 3 month old and did not return any errors. Just thought it might be hardware failure but not that either.

1 Like

thanks @Allis and you too

you said earlier that beta work fine but latest brave and brave beta both use same Chromium 112.0.5615.165

so to make sure could you run brave-browser-beta --version and share what it return

could you try to start brave as brave-browser-stable --disable-gpu --disable-extensions --disable-sync

hope that help and have a nice day you too :slight_smile:
and see if it work fine or not

1 Like

OK. Here is the output.

brave-browser-beta --version
Brave Browser 112.1.51.98 beta
.
.
brave-browser-stable --disable-gpu --disable-extensions --disable-sync
(Brave did not run here is output.)

[6340:6340:0421/120941.501169:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[0421/120942.827228:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0421/120942.836644:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0421/120942.836680:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
/usr/bin/brave-browser-stable: line 48:  6340 Bus error               (core dumped) "$HERE/brave" "$@"

OK??

sorry i do not know what else could be the cause so i will ask @fmarier for help here

so till fmarier reply try to check of any update for your system and restart your computer also

and have a nice day both of you :slight_smile:

1 Like

Also FYI. The Ubuntu I installed was Version 22.04.1 then I upgraded to Version 22.04.2. I thought this may be a problem with drivers. But since Brave-Beta works but not Brave-Stable version I am not sure what this is. Thanks For the Excellent Help!

you very welcome @Allis

1 Like

Good news. I figured out error. It was the Brave-Browser default folder had error. When I moved the DEFAULT FOLDER from Brave-Browser to Brave-Beta, I noticed a small error. So I ran check to verify Default Folder in Brave-Browser and there was an error. When I checked the moved default folder in the Brave-Beta the error was gone and verified OK. Not sure how running the Brave-Beta fixed it but it worked. I think when the Startup Error happened, Brave Crashed and may have caused a small corruption in the default folder. The history and lock files were corrupt. So I simply moved the error free default folder from Brave-Beta Back to Brave-Browser and replaced the error-ed default folder and that worked with no loss to bookmarks or passwords. Brave Browser works now. THANK YOU SO MUCH!! for All that help!! @justsomeone1 and @fmarier Please Have a Great weekend. Hopefully error free. :grinning: THANK YOU and TAKE CARE!

1 Like

Just FYI. For Future Reference. A friend suggested this.
For a Simple Detection Method.
A quick way to check if brave default folder is corrupt using built in Linux program, open the FILE MANAGER (make sure Show Hidden Files is selected or checked.) then goto Home/.config/BraveSoftware/Brave-Browser using the Files Manager use the right mouse click and select COMPRESS to see if you can zip the DEFAULT folder. As DEFAULT.ZIP.

If it makes a default.zip the folder is OK
BUT if you get this…

There was an error while compressing files.

Error reading from file: Input/output error

Press Cancel

Then the folder has an error in it and can cause Brave to Error.

NOTE. This should leave the Original Default folder intact. It will make a default.zip either way, but if it errors the file will be missing files. If it works OK then you have a default.zip as a backup, if you wish to keep it. If anyone has another way to simply verify the default folder I welcome the suggestion. Thanks.

1 Like

@Allis thanks a lot and well done for figure it out and you too :slight_smile:

1 Like

@Allis It’s great that you figured it out! I wish the error message had pointed in the right direction in the first place, but disk corruption is very hard to handle gracefully.

We always assume that if we write some text to a file, it will be there unchanged when we open it next, but once you have enough users, you can no longer assume that it will work nicely like that every time :slight_smile:

2 Likes

Just wanted to THANK YOU BOTH SO MUCH!! Your communications were super well detailed and very excellent. Also the Update was super good! Please Have A Great Weekend. And Take Good Care!

1 Like

Hello @Allis

another way to test both your profile and the instalation of brave to do the following

  1. create an empty folder in any place you like
  2. start brave using this command brave-browser-stable --user-data-dir=pathtoTheFolderYouCreatedearlier

this will start brave as if it just create new profile so it will be empty profile and the data for that profile will be saved on the folder you created

if it run then you are sure that brave installation is fine and the issue only on the user profile

you can also try to start brave normally after this run sometime it be able to run the old profile again with out the need move you profile data

and have a nice day :slight_smile:

1 Like

Hello, @justsomeone1 This is super excellent way to check profile. Thank You So Much!! You have a nice day too and Take Care! PS This sounds like the start of some sort of Toolkit to check or diagnose future Brave issue.

1 Like