Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
surf: WebKitWebProcess received an X Window System error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
taskman
n00b
n00b


Joined: 29 Nov 2018
Posts: 37

PostPosted: Fri Feb 15, 2019 11:20 pm    Post subject: surf: WebKitWebProcess received an X Window System error Reply with quote

I have a new system and just emerged www-client/surf on it.
But I can't navigate through most sites.

For example, when I try to open google or github I get the following error massage ...

Code:
(WebKitWebProcess:2936): Gdk-ERROR **: 00:11:47.203: 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 206 error_code 2 request_code 150 (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.)


As result surf wont show anything, or it gets stuck and I have to ctrl-h to get back.

When I click with the mouse on the white screen then I get the following message ...
Code:
** (surf:1737): CRITICAL **: 00:59:49.114: guint webkit_hit_test_result_get_context(WebKitHitTestResult*): assertion 'WEBKIT_IS_HIT_TEST_RESULT(hitTestResult)' failed


www-client/surf works flawless on my older computer (same version).

First I thought it has to do with GTK support and enabled it as global USE flag, but this changed nothing after recomiling all related files.
Then I though it has to do with geolocation and I enabled this too, but again nothing.

Portage wanted to update the webkit-gtk use-file with harfbuzz and this with use-flag icu.
This seems to be the only differense between both systems.
Code:
cat /etc/portage/package.use/webkit-gtk
net-libs/webkit-gtk -geolocation

# required by net-libs/webkit-gtk-2.22.5::gentoo
# required by www-client/surf-2.0::gentoo
# required by www-client/surf (argument)
>=media-libs/harfbuzz-2.0.2-r1 icu


Code:
USE="icu"; for PKG in $(equery -q hasuse $USE); do echo $PKG: $(equery -q uses $PKG |grep $USE); done
dev-db/sqlite-3.25.3: -icu
dev-libs/libxml2-2.9.8: -icu
dev-qt/qtcore-5.11.3-r2: -icu
media-libs/harfbuzz-2.0.2-r1: +icu


Code:
emerge net-libs/webkit-gtk
net-libs/webkit-gtk-2.22.5:4/37::gentoo  USE="X egl gstreamer jit opengl spell webgl (-aqua) -coverage -doc -geolocation -gles2 -gnome-keyring -introspection -libnotify -nsplugin -test -wayland"


I don't know what went wrong and how to debug this.
Can you guys help me fix this. Thanks in advanced.

Here is the /etc/portage/make.conf of the system with the broken surf.

If anything is missing please let me know.


Addition ...

I found the errors in systemd too ...
Code:
Feb 16 15:11:06 mypc systemd-coredump[1718]: Process 1597 (WebKitWebProces) of user 1000 dumped core.
Feb 16 15:11:25 mypc systemd-coredump[1941]: Process 1903 (WebKitWebProces) of user 1000 dumped core.
Feb 16 15:11:44 mypc systemd-coredump[2155]: Process 2117 (WebKitWebProces) of user 1000 dumped core.


Coredump seems to be a socket ...
Code:
systemctl list-units | grep coredump
system-systemd\x2dcoredump.slice                                                                                        loaded active active    system-systemd\x2dcoredump.slice

systemd-coredump.socket                                                                                                 loaded active listening Process Core Dump Socket


Does that mean my CPU or GPU has some to do with it ?
I have a binary blob (firmware for Ryzen7 CPU) compiled into the kernel.


How can I interact with systemd-coredump.socket ?
Back to top
View user's profile Send private message
taskman
n00b
n00b


Joined: 29 Nov 2018
Posts: 37

PostPosted: Sun Feb 17, 2019 12:42 am    Post subject: Reply with quote

After a long day I found a quite simple solution to my problem.

Code:
[~] sudo eselect opengl list
Available OpenGL implementations:
  [1]   nvidia
  [2]   xorg-x11 *
[~] sudo eselect opengl set 1
[~] sudo eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Now every thing is working. :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum