Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome / Chromium crashes #3136

Open
krbvroc1 opened this issue May 8, 2024 · 3 comments
Open

Chrome / Chromium crashes #3136

krbvroc1 opened this issue May 8, 2024 · 3 comments

Comments

@krbvroc1
Copy link

krbvroc1 commented May 8, 2024

Problem Description

Over a year ago I reported and there was a fix #2725

I use Ubuntu 22.04 LTS - at that time with my own changes and having installed / tried using master branch this week, anytime I launch Chrome browser it crashes a few seconds after starting (Smartcard reader blinks as being accessed). If I remove my Smartcard, Chrome works. I also have the same issue using development tools that include embedded versions of Chromium / Electron.

The opensc that I built is installed to /usr/local/lib
Firefox/Thunderbird works fine.

This has made my system pretty unstable and I am not quite sure how to debug this. My workaround has been to simply not use Chrome. However various embedded software development tools have switched to internally using Chromium and I cannot ignore this anymore.

Proposed Resolution

Figure out a fix so I can get my card installed without crashing Chrome browser

Steps to reproduce

Simply launch Chrome with my smartcard installed.

Logs

$ google-chrome
[0508/102313.888599:ERROR:elf_dynamic_array_reader.h(64)] tag not found
5652179312960:error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:../../third_party/boringssl/src/ssl/handshake.cc:392:
[18936:18942:0508/102316.549767:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
[18936:18942:0508/102316.549880:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
[18936:18942:0508/102316.549925:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
[18936:18942:0508/102316.549966:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
[18936:18942:0508/102316.549998:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
5652179312960:error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:../../third_party/boringssl/src/ssl/handshake.cc:392:
[18936:18942:0508/102316.550379:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
[18936:18942:0508/102316.550420:ERROR:ssl_client_socket_impl.cc(879)] handshake failed; returned -1, SSL error code 1, net_error -3
Segmentation fault (core dumped)

@sodaBitters
Copy link

sodaBitters commented May 8, 2024

I've been getting this error in google-chrome-stable on Fedora 38 and 39 also. Not sure how to debug either - ready to assist if anyone has ideas.

I opened an issue in PCSC as I wasn't sure where exactly the error is occurring:

LudovicRousseau/PCSC#164

@frankmorgner
Copy link
Member

compile with CFLAGS="-O0 -g", then install OpenSC and run gdb google-chrome. In the CLI, enter run to start chromium. If the error occurs, enter backtrace to see where the crash happens. If it is not immediately visible, you may have to switch to a different thread by selecting frame X.

@dengert
Copy link
Member

dengert commented May 8, 2024

You may need to link OpenSC with boringssl as there maybe a conflict if Chrome is using boringssl and OpenSC is using OpenSSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants