question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation fault when launching brave via launcher and terminal on manjaro i3

See original GitHub issue

Description

Segmentation fault when launching brave via launcher and terminal on manjaro i3, after an update of Brave.

Steps to Reproduce

  1. Launch brave from launcher (dmenu) and terminal

Actual result:

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

Expected result:

No segmentation fault to be shown when launching Brave via terminal or dmenu and Brave should launch normally.

Reproduces how often:

Easily

Brave version (brave://version info)

brave --version
Brave Browser 79.1.1.23 unknown

Version/Channel Information:

I can reproduce this issue with beta, dev and nightly channel.

Miscellaneous Information:

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
enomarincommented, Jan 8, 2020

@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:

[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.

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 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
1reaction
enomarincommented, Mar 9, 2020

Hi @bsclifton I’ve just updated to Brave 80.1.4.95 and it seem to work. Thanks !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Second launch gives segmentation fault - Brave Community
Description Segmentation fault when launching a second window via terminal. Steps to Reproduce Launch brave from terminal Open a new terminal ...
Read more >
Can't open Manjaro settings manager - #26 by cscs
So I am thinking I have something else broken but not sure where to start looking. Any help would be much appreciated. System...
Read more >
AUR (en) - google-chrome - Arch Linux
Google Chrome crashes/hangs, when using a default/vanilla Arch Linux system, with systemd-resolved ... Run it via terminal and post some logs of this...
Read more >
User Profile for Lamdarer - ProtonDB
You may need to force proton since one of the DLCs has a Native Linux version ... the game and set this as...
Read more >
How to upgrade to Linux Mint 20
I was using Linux Mint 19.3 and try the upgrade to Cinnamon 20 but for some ... over to a rolling release using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found