Hello Lothar, On Sat, 21 May 2022 22:33:51 +0200 Lothar Scholz <scholz.lot...@gmail.com> wrote: > I finally got this version installed on Ubuntu 22.04 using GTK4 and it > crashes with this stack trace immediately when it is fist shown on > Wayland. > When using X11 it does not crash but all the WebKitWebView area just > stays white. > > Usage: frame view STACK-ADDRESS > frame view STACK-ADDRESS PC-ADDRESS > (gdb) backtrace > #0 0x00007ffff39d4a18 in WebKit::WaylandCompositor::Surface::commit() > [clone .cold] () at /usr/local/lib/libwebkit2gtk-5.0.so.0 > #1 0x00007ffff2799e2e in () at /lib/x86_64-linux-gnu/libffi.so.8 > #2 0x00007ffff2796493 in () at /lib/x86_64-linux-gnu/libffi.so.8 > #3 0x00007fffefaf42c0 in () at /lib/x86_64-linux-gnu/libwayland-server.so.0 > #4 0x00007fffefaf84c4 in () at /lib/x86_64-linux-gnu/libwayland-server.so.0 > #5 0x00007fffefaf6f4a in wl_event_loop_dispatch () at > /lib/x86_64-linux-gnu/libwayland-server.so.0 > #6 0x00007ffff4040353 in > WebKit::waylandLoopSourceFunctions::{lambda(_GSource*, int (*)(void*), > _GSource*)#2}::_FUN(_GSource, int (void*), _GSource*) () at > /usr/local/lib/libwebkit2gtk-5.0.so.0 > #7 0x00007ffff74a3d1b in g_main_context_dispatch () at > /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #8 0x00007ffff74f86f8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #9 0x00007ffff74a13c3 in g_main_context_iteration () at > /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #10 0x00007ffff76c8c85 in g_application_run () at > /lib/x86_64-linux-gnu/libgio-2.0.so.0 > #11 0x00005555555556e3 in main(int, char**) (argc=1, > argv=0x7fffffffdd88) at /home/llothar/work/example/example.cpp:49 > (gdb)
I have released version 2.36.3 just a few moments ago [1], which includes a fix for usage of types in OpenGL headers that I think is what fixes the issue you were experiencing [1]. I have tested a GTK4-based build of the new 2.36.3 release and the MiniBrowser (which you can get built passing the “-DENABLE_MINIBROWSER=ON” flag to CMake when configuring the build) is working well for me on Wayland, both with Weston and GNOME Shell as compositors. Hopefully your issue is solved by the new release :-) Cheers, —Adrián --- [1] https://webkitgtk.org/2022/05/28/webkitgtk2.36.3-released.html [2] Believe it or not, using the wrong GL headers can result in odd failures at runtime due to some complexities in WebKit; such kind of thing has happened to us in the past.
signature.asc
Description: PGP signature
_______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk