[Webkit-unassigned] [Bug 239767] New: [GTK] [2.36.1] Crashes on shutdown if the display is not set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 06:19:52 PDT 2022


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

            Bug ID: 239767
           Summary: [GTK] [2.36.1] Crashes on shutdown if the display is
                    not set
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: berto at igalia.com
                CC: bugs-noreply at webkitgtk.org

Running one of the devhelp tests crashes since WebKitGTK 2.36.1 if there's no display:

error: XDG_RUNTIME_DIR not set in the environment.

(test:5926): GLib-GObject-WARNING **: 14:00:44.774: invalid (NULL) pointer instance

(test:5926): GLib-GObject-CRITICAL **: 14:00:44.774: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(test:5926): Gdk-CRITICAL **: 14:00:44.774: gdk_wayland_display_get_wl_display: assertion 'GDK_IS_WAYLAND_DISPLAY (display)' failed
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Thread 1 "test" received signal SIGSEGV, Segmentation fault.
0x00007ffff2c94ae7 in wl_display_disconnect () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
(gdb) bt
#0  0x00007ffff2c94ae7 in wl_display_disconnect () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#1  0x00007ffff5930735 in WebCore::PlatformDisplayWayland::~PlatformDisplayWayland() () at ./Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp:105
#2  0x00007ffff5930749 in WebCore::PlatformDisplayWayland::~PlatformDisplayWayland() () at ./Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.cpp:107
#3  0x00007ffff7df4f77 in __run_exit_handlers (status=0, listp=0x7ffff7f88738 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true, run_dtors=run_dtors at entry=true)
    at exit.c:108
#4  0x00007ffff7df511a in __GI_exit (status=<optimized out>) at exit.c:139
#5  0x00007ffff7ddd804 in __libc_start_main (main=
    0x555555555149 <main>, argc=1, argv=0x7fffffffec28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffec18)
    at ../csu/libc-start.c:366
#6  0x000055555555508a in _start ()

-- 
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/20220426/755cf735/attachment.htm>


More information about the webkit-unassigned mailing list