tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.23k stars 129 forks source link

Humble Bundle authentication freezes with X GDK WebKitWebProcess error #444

Open sparr opened 3 years ago

sparr commented 3 years ago
Expected behavior

Click "Humble Bundle Authentication Required" and then be able to log in to HB

Actual behavior

Clicking the button produces a dialog with a HB-themed email and password prompt. At the same time an error is emitted to stdout from gamehub:

(WebKitWebProcess:670405): Gdk-ERROR **: 10:55:42.644: The program 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 243 error_code 2 request_code 151 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Any attempts to interact with the login dialog result in the window turning all white and otherwise not responding other than to closing it.

Steps to reproduce

Click "Humble Bundle Authentication Required" in the "Let's Get Started" window.

Version and environment
- GameHub
    Version: 0.16.0-3ff389e-master
    Branch:  master
    Commit:  3ff389ea589076815256435971f5a99d593d9448
- Environment
    Distro:  Manjaro Linux
    DE:      XFCE
    GTK:     3.24.23
    Themes:  Matcha-sea | Papirus-Maia
tkashkin commented 3 years ago

It looks like webkit2gtk bug. Try to run /usr/libexec/webkit2gtk-4.0/MiniBrowser "https://humblebundle.com/login?goto=home" to see if it works outside of GameHub.

It may be related to graphics drivers:

sparr commented 3 years ago

[un]fortunately the problem went away after doing package upgrades and a reboot, before I saw your suggestion to test.