Segmentation fault when launching brave via launcher and terminal on manjaro i3, after an update of Brave.
From terminal, it produce the following error:
[11235:11235:0107/173638.109326:ERROR:viz_main_impl.cc(180)] Exiting GPU process due to errors during initialization
[11371:11371:0107/173638.250315:ERROR:gl_implementation.cc(282)] Failed to load /usr/lib/brave/swiftshader/libGLESv2.so: /usr/lib/brave/swiftshader/libGLESv2.so: Ne peut ouvrir le fichier d'objet partag茅: Aucun fichier ou dossier de ce type
[11371:11371:0107/173638.251040:ERROR:viz_main_impl.cc(180)] Exiting GPU process due to errors during initialization
/usr/bin/brave : ligne 27 : 11211 Erreur de segmentation (core dumped)/usr/lib/brave/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS
No segmentation fault to be shown when launching Brave via terminal or dmenu and Brave should launch normally.
Easily
brave --version
Brave Browser 79.1.1.23 unknown
I can reproduce this issue with beta, dev and nightly channel.
Launching brave with sudo brave --no-sandbox work but throw some errors:
[21178:21202:0107/175127.531735:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[21178:21202:0107/175127.540407:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[21178:21202:0107/175127.540435:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[21178:21192:0107/175127.613480:ERROR:rewards_service_impl.cc(203)] Failed to read file: /root/.config/BraveSoftware/Brave-Browser/Default/ledger_state
[21205:21205:0107/175127.630676:ERROR:ledger_impl.cc(103)] Failed to initialize wallet
[21197:21197:0107/175127.666030:ERROR:viz_main_impl.cc(180)] Exiting GPU process due to errors during initialization
[21201:21215:0107/175127.690459:ERROR:ssl_client_socket_impl.cc(935)] handshake failed; returned -1, SSL error code 1, net_error -200
[21178:21178:0107/175127.698580:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1)
[21334:21334:0107/175127.793506:ERROR:gl_implementation.cc(282)] Failed to load /usr/lib/brave-beta/swiftshader/libGLESv2.so: /usr/lib/brave-beta/swiftshader/libGLESv2.so: Ne peut ouvrir le fichier d'objet partag茅: Aucun fichier ou dossier de ce type
[21334:21334:0107/175127.794225:ERROR:viz_main_impl.cc(180)] Exiting GPU process due to errors during initialization
[21178:21178:0107/175127.813754:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "chrome://welcome/". Extension manifest must request permission to access this host.", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0)
[21466:21466:0107/175127.900789:ERROR:gpu_channel_manager.cc(450)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[21201:21215:0107/175128.589654:ERROR:ssl_client_socket_impl.cc(935)] handshake failed; returned -1, SSL error code 1, net_error -200
[21201:21215:0107/175131.174350:ERROR:ssl_client_socket_impl.cc(935)] handshake failed; returned -1, SSL error code 1, net_error -200
[21178:21184:0107/175138.441928:ERROR:dat_file_util.cc(22)] GetDATFileData: the dat file is not found or corrupted /root/.config/BraveSoftware/Brave-Browser/emaecjinaegfkoklcdafkiocjhoeilao/1.0.443/rs-9852EFC4-99E4-4F2D-A915-9C3196C7A1DE.dat
[21178:21178:0107/175138.441978:ERROR:ad_block_base_service.cc(197)] Could not obtain ad block data
[21201:21215:0107/175139.320278:ERROR:ssl_client_socket_impl.cc(935)] handshake failed; returned -1, SSL error code 1, net_error -200
@enomarin can you please try visiting brave://flags/#enable-oop-rasterization and then DISABLING this flag?
You may need to launch with no sandbox, so that it works enough that you can set the flag. Please let me know if you're able to try this and if it helps
@bsclifton Thank you for your quick reply.
I've tried to disabling the #enable-oop-rasterization as you said by launching Brave with sudo brave --no-sandbox (without sudo Brave won't launch).
Brave continue to crash with the same error message (with and without --no-sandbox option).
I've downgraded to brave-1.0.1-1 and it seem to work fine.
I haven't noticied before, this version throw the same error but don't crash:
[20801:20801:0108/122635.424305:ERROR:viz_main_impl.cc(176)] Exiting GPU process due to errors during initialization
[20807:20829:0108/122635.562205:ERROR:ssl_client_socket_impl.cc(969)] handshake failed; returned -1, SSL error code 1, net_error -200
[20974:20974:0108/122635.572268:ERROR:gl_implementation.cc(282)] Failed to load /usr/lib/brave/swiftshader/libGLESv2.so: /usr/lib/brave/swiftshader/libGLESv2.so: Ne peut ouvrir le fichier d'objet partag茅: Aucun fichier ou dossier de ce type
[20974:20974:0108/122635.573116:ERROR:viz_main_impl.cc(176)] Exiting GPU process due to errors during initialization
[21124:21124:0108/122636.952620:ERROR:gpu_channel_manager.cc(397)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[20777:20960:0108/122636.958228:ERROR:dat_file_util.cc(22)] GetDATFileData: the dat file is not found or corrupted /home/enomarin/.config/BraveSoftware/Brave-Browser/emaecjinaegfkoklcdafkiocjhoeilao/1.0.444/rs-9852EFC4-99E4-4F2D-A915-9C3196C7A1DE.dat
[20777:20777:0108/122636.966880:ERROR:ad_block_base_service.cc(197)] Could not obtain ad block data
[20777:20960:0108/122636.973708:ERROR:rewards_service_impl.cc(198)] Failed to read file: /home/enomarin/.config/BraveSoftware/Brave-Browser/Default/publisher_state
[20959:20959:0108/122636.974852:ERROR:ledger_impl.cc(346)] Failed to load publisher state
[20959:20959:0108/122636.974889:ERROR:ledger_impl.cc(102)] Failed to initialize wallet
[20777:20777:0108/122637.443820:ERROR:CONSOLE(1)] "Error: PollingBlockTracker - encountered an error while attempting to update latest block:
undefined", source: chrome-extension://odbfpeeihdkbihmopkbjmoonfanlbfcl/background.js (1)
[20807:20829:0108/122637.923965:ERROR:ssl_client_socket_impl.cc(969)] handshake failed; returned -1, SSL error code 1, net_error -200
It may be an issue with my arch install, I suspect some permission problem and/or issues with nvidia graphic drivers.
I inspected my user's permission and all seem fine.
I've noticied that launching Chrome in the console throwed the [20801:20801:0108/122635.424305:ERROR:viz_main_impl.cc(176)] Exiting GPU process due to errors during initialization error.
I investigated the Nvidia graphic driver track and it seem, that the Nouveau driver was in cause, I had to remove the protected configuration files with pacman -Rn to properly uninstall Nouveau.
Updating the drivers doesn't resolve Brave's crash on startup when launching from dmenu or terminal.
At contrary, Chrome doesn't throw the Exiting GPU process due to errors during initialization error anymore.
It throw some other errors:
[3870:3870:0108/131338.742754:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742822:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileMPEG2Simple and entrypoint 1
[3870:3870:0108/131338.742833:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742841:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileMPEG2Main and entrypoint 1
[3870:3870:0108/131338.742846:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742853:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileMPEG4Simple and entrypoint 1
[3870:3870:0108/131338.742857:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742861:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileMPEG4AdvancedSimple and entrypoint 1
[3870:3870:0108/131338.742866:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742870:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileH264Baseline and entrypoint 1
[3870:3870:0108/131338.742874:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742878:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint 1
[3870:3870:0108/131338.742882:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742886:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint 1
[3870:3870:0108/131338.742890:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742894:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileVC1Simple and entrypoint 1
[3870:3870:0108/131338.742898:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742902:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileVC1Main and entrypoint 1
[3870:3870:0108/131338.742906:ERROR:vaapi_wrapper.cc(802)] vaQuerySurfaceAttributes failed VA error: invalid parameter
[3870:3870:0108/131338.742910:ERROR:vaapi_wrapper.cc(692)] FillProfileInfo_Locked failed for va_profile VAProfileVC1Advanced and entrypoint 1
[3870:3870:0108/131338.742915:ERROR:vaapi_wrapper.cc(516)] GetConfigAttributes failed for va_profile VAProfileH264Baseline
[3870:3870:0108/131338.742919:ERROR:vaapi_wrapper.cc(516)] GetConfigAttributes failed for va_profile VAProfileH264Main
[3870:3870:0108/131338.742923:ERROR:vaapi_wrapper.cc(516)] GetConfigAttributes failed for va_profile VAProfileH264High
/usr/bin/brave : ligne 27 : 3846 Erreur de segmentation (core dumped)/usr/lib/brave/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS
@enomarin is this still happening for you?
Hi @bsclifton
I've just updated to Brave 80.1.4.95 and it seem to work.
Thanks !
Closing. @enomarin thanks for confirming.
Most helpful comment
@bsclifton Thank you for your quick reply.
I've tried to disabling the #enable-oop-rasterization as you said by launching Brave with
sudo brave --no-sandbox(without sudo Brave won't launch).Brave continue to crash with the same error message (with and without --no-sandbox option).
Update 1
I've downgraded to brave-1.0.1-1 and it seem to work fine.
I haven't noticied before, this version throw the same error but don't crash:
It may be an issue with my arch install, I suspect some permission problem and/or issues with nvidia graphic drivers.
Update 2
I inspected my user's permission and all seem fine.
I've noticied that launching Chrome in the console throwed the
[20801:20801:0108/122635.424305:ERROR:viz_main_impl.cc(176)] Exiting GPU process due to errors during initializationerror.I investigated the Nvidia graphic driver track and it seem, that the Nouveau driver was in cause, I had to remove the protected configuration files with
pacman -Rnto properly uninstall Nouveau.Updating the drivers doesn't resolve Brave's crash on startup when launching from dmenu or terminal.
At contrary, Chrome doesn't throw the
Exiting GPU process due to errors during initializationerror anymore.It throw some other errors: