RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2150970 - Can't create Google account
Summary: Can't create Google account
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: webkit2gtk3
Version: CentOS Stream
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Michael Catanzaro
QA Contact: Michal Odehnal
URL:
Whiteboard:
Depends On: 2127468
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-05 18:02 UTC by Matthew Saltzman
Modified: 2023-05-16 09:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 08:37:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-141352 0 None None None 2022-12-05 18:16:25 UTC
Red Hat Product Errata RHSA-2023:2834 0 None None None 2023-05-16 08:37:18 UTC
WebKit Project 238513 0 None None None 2022-12-08 15:29:07 UTC

Description Matthew Saltzman 2022-12-05 18:02:29 UTC
Description of problem:
Attempt to create Google account opens the authentication window, but it is blank.

Version-Release number of selected component (if applicable):
gnome-online-accounts-3.28.2-4.el8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open Online Accounts app in Gnome Shell
2. Select Google icon under "Add an account"
3.

Actual results:
Authentication window opens, progress bar advances, but window is blank. Sometimes window flashes Google email prompt, but then blanks out.

Expected results:
Authentication window shows prompt for Google email address and goes on to proompt for password and 2FA.

Additional info:
Same symptom for Microsoft, Flickr, and Pocket accounts.

Comment 1 Milan Crha 2022-12-05 19:48:48 UTC
Thanks for a bug report. What is the version of the WebKitGTK, please? It's webkit2gtk3 package.

@mcatanza I do not recall, is this due to the sandbox or graphics drivers or anything else? Or was the cause identified at all?

Comment 2 Michael Catanzaro 2022-12-05 20:56:32 UTC
There's no sandbox in RHEL 8. Most likely a problem with graphics drivers, indeed. You can confirm by running with WEBKIT_DISABLE_COMPOSITING_MODE=1, which will probably dodge the bug.

Assuming I'm correct about that: for any realistic hope of resolution, it will need to be reported upstream on WebKit Bugzilla, WebKitGTK component. Things that would be good to do:

 * Try reproducing with a newer distro, e.g. Fedora 37. If the bug only happens on RHEL 8, then it's not going to be worth investigating.
 * Install epiphany (not provided in RHEL), navigate to webkit://gpu, and copy the entire output into upstream bug report

Comment 3 Michael Catanzaro 2022-12-05 20:59:30 UTC
> Install epiphany (not provided in RHEL),

But um, only do this if the bug occurs the same in the newer distro, e.g. Fedora 37. Don't want to mix webkit://gpu output from different distros in the same upstream bug report.

Comment 4 Matthew Saltzman 2022-12-05 21:01:46 UTC
webkit2gtk3-2.36.7-1.el8.x86_64(In reply to Milan Crha from comment #1)
> Thanks for a bug report. What is the version of the WebKitGTK, please? It's
> webkit2gtk3 package.

webkit2gtk3-2.36.7-1.el8.x86_64

> 
> @mcatanza I do not recall, is this due to the sandbox or graphics
> drivers or anything else? Or was the cause identified at all?

I don't have any info about the cause, just the symptom. It must be a regression from some time, though, because I had created Google accounts in the past. In fact, this one had just had its credentials expire and I was trying to renew them but couldn't get the login window. 

This is an nVidia graphics card (Quadro K620) with xorg-x11-drv-nouveau-1.0.15-4.el8.1.x86_64 as the driver.

Comment 5 Matthew Saltzman 2022-12-05 21:03:07 UTC
(In reply to Michael Catanzaro from comment #3)
> > Install epiphany (not provided in RHEL),
> 
> But um, only do this if the bug occurs the same in the newer distro, e.g.
> Fedora 37. Don't want to mix webkit://gpu output from different distros in
> the same upstream bug report.

Does not occur in Fedora 37 (at least with Intel graphics).

Comment 6 Michael Catanzaro 2022-12-05 21:13:51 UTC
Oh, Nvidia graphics card is very relevant. You really need to test Fedora on the same machine. (You can use a live image: there's no need to actually install Fedora.) I bet you'll hit the same problem with Fedora on the Nvidia graphics machine. There are no WebKitGTK graphics developers who use Nvidia graphics, so it's very common for it to be broken, and bugs may take a very long time to be fixed because upstream developers won't be able to reproduce. Intel and AMD graphics are much better supported.

We *might* be able to interest graphics developers at Red Hat if you're a Red Hat customer and create a support ticket to attach to this bug. But should still create a WebKit Bugzilla bug too.

Comment 7 Matthew Saltzman 2022-12-06 14:52:12 UTC
OK Does not seem to occur on the machine at issue with Fedora 37 live image.

Will try with proprietary nVidia drivers.

Comment 8 Matthew Saltzman 2022-12-07 16:03:41 UTC
Works with proprietary nVidia drivers.

Comment 9 Michael Catanzaro 2022-12-07 16:27:21 UTC
In that case, I suppose this was fixed sometime between RHEL 8 and Fedora 37. But who knows what changed. :/

Comment 10 Tomas Popela 2022-12-08 07:57:05 UTC
Mesa was recently rebased in RHEL 8.8 - see https://bugzilla.redhat.com/show_bug.cgi?id=2117178 - can you please try to downgrade mesa to its previous version - mesa-22.1.5-2.el8 or similar?

Comment 11 Olivier Fourdan 2022-12-08 10:47:46 UTC
(In reply to Tomas Popela from comment #10)
> Mesa was recently rebased in RHEL 8.8 - see
> https://bugzilla.redhat.com/show_bug.cgi?id=2117178 - can you please try to
> downgrade mesa to its previous version - mesa-22.1.5-2.el8 or similar?

mesa-22.1.5-2.el8 is what I tested and reproduced, so that would rule out the problem with XShm in Mesa.

(In reply to Michael Catanzaro from comment #6)
> Oh, Nvidia graphics card is very relevant.

I can reproduce on el8 on intel the same - This happens with a Wayland session (default) but not on Xorg.

Same as comment 0, the "Google Account" window remains blank, the content of the web page to log into the Google account doesn't show up.

Comment 12 Michael Catanzaro 2022-12-08 15:00:54 UTC
(In reply to Olivier Fourdan from comment #11)
> I can reproduce on el8 on intel the same - This happens with a Wayland
> session (default) but not on Xorg.
> 
> Same as comment 0, the "Google Account" window remains blank, the content of
> the web page to log into the Google account doesn't show up.

Oh wow, very interesting! So not a problem with Nvidia after all, huh.

Comment 13 Michael Catanzaro 2022-12-08 15:07:50 UTC
There's a pretty decent chance that this problem is https://bugs.webkit.org/show_bug.cgi?id=238513. If so, it should be fixed in the WebKitGTK 2.38.2 build that should land in CentOS Stream 8 momentarily. This build depends on libwpe and wpebackend-fdo to provide hardware-accelerated graphics, so the graphics stack is quite different.

You can check by running gnome-control-center in a terminal and looking for any error messages that print when displaying the online accounts panel. This bug results in the error messages:

EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)

If you see those, then it's *probably* fixed in this upcoming build.

Comment 14 Olivier Fourdan 2022-12-08 15:27:43 UTC
(In reply to Michael Catanzaro from comment #13)
> […]
> 
> EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
> Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
> 
> If you see those, then it's *probably* fixed in this upcoming build.

You're spot on, I do get those errors!

Comment 18 Michael Catanzaro 2023-01-18 13:26:12 UTC
So note that once this is fixed, you'll still probably be blocked by Google due to https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/issues/157. But at least the web content should load.

Comment 20 errata-xmlrpc 2023-05-16 08:37:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: webkit2gtk3 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2834


Note You need to log in before you can comment on or make changes to this bug.