[Webkit-unassigned] [Bug 270566] [GTK][GLES] Couldn't open libGL.so.1 or libOpenGL.so.0 (2.42.4)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 7 02:57:44 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=270566

--- Comment #5 from Thomas Devoogdt <thomas.devoogdt at gmail.com> ---
Hi,


My backtrace dump:


Thread 1 "browser" received signal SIGABRT, Aborted.
0x0000007fabf6fa5c in ?? () from target:/lib64/libc.so.6
(gdb) bt
#0  0x0000007fabf6fa5c in ?? () from target:/lib64/libc.so.6
#1  0x0000007fabf373a0 in raise () from target:/lib64/libc.so.6
#2  0x0000007fabf27228 in abort () from target:/lib64/libc.so.6
#3  0x0000007fa828e504 in ?? () from target:/usr/lib64/libepoxy.so.0
#4  0x0000007fa828e638 in ?? () from target:/usr/lib64/libepoxy.so.0
#5  0x0000007fa8229094 in ?? () from target:/usr/lib64/libepoxy.so.0
#6  0x0000007fa823a918 in ?? () from target:/usr/lib64/libepoxy.so.0
#7  0x0000007fa828de84 in ?? () from target:/usr/lib64/libepoxy.so.0
#8  0x0000007fac386e48 in gdk_gl_context_make_current () from target:/usr/lib64/libgdk-3.so.0
#9  0x0000007faac1ea78 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#10 0x0000007faac1ead4 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#11 0x0000007faabd6f70 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#12 0x0000007fa9be4644 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#13 0x0000007fabf727e4 in ?? () from target:/lib64/libc.so.6
#14 0x0000007fa9be4b18 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#15 0x0000007fa9be4b68 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#16 0x0000007fa9be4144 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#17 0x0000007fa9be8f74 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#18 0x0000007fa9be8fe0 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#19 0x0000007fa9bf2630 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#20 0x0000007fa9af1820 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#21 0x0000007fa9af1864 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#22 0x0000007fa9ada420 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#23 0x0000007fa9ada644 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#24 0x0000007fa9b0469c in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#25 0x0000007fa9b04d4c in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#26 0x0000007fa9b6e33c in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#27 0x0000007face68944 in ?? () from target:/usr/lib64/libgobject-2.0.so.0
#28 0x0000007face697ec in g_object_new_with_properties () from target:/usr/lib64/libgobject-2.0.so.0
#29 0x0000007face69eb8 in g_object_new () from target:/usr/lib64/libgobject-2.0.so.0
#30 0x0000007fa9b6a778 in ?? () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#31 0x0000007facda0dd0 in g_once_impl () from target:/usr/lib64/libglib-2.0.so.0
#32 0x0000007fa9b6a818 in webkit_web_context_get_default () from target:/usr/lib64/libwebkit2gtk-4.1.so.0
#33 0x000000557361a09c in ?? ()
#34 0x0000007fabf274a0 in ?? () from target:/lib64/libc.so.6
#35 0x0000007fabf27598 in __libc_start_main () from target:/lib64/libc.so.6
#36 0x000000557361a270 in ?? ()


At some point, WebKitGTK calls gdk_gl_context_make_current, which is probably
this line of code:
https://github.com/WebKit/WebKit/blob/wpewebkit-2.42.4/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp#L113

Since gdk_gl_context_make_current is GTK, I also have to mention which version I use: (3.24.38),
see code line:
https://gitlab.gnome.org/GNOME/gtk/-/blob/3.24.38/gdk/gdkglcontext.c?ref_type=tags#L859

>From there on, I'm a bit stuck, but I have the feeling that some commits wrt defaulting to GLES
are not yet in that GTK version.


Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240307/a2cc6993/attachment.htm>


More information about the webkit-unassigned mailing list