[Webkit-unassigned] [Bug 283681] New: [GTK] Web inspector web process crashes immediately in WebCore::PlatformDisplayDefault::create

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 25 09:43:51 PST 2024


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

            Bug ID: 283681
           Summary: [GTK] Web inspector web process crashes immediately in
                    WebCore::PlatformDisplayDefault::create
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at redhat.com
                CC: bugs-noreply at webkitgtk.org

Using Epiphany Tech Preview with WebKitGTK 2.47.1, my web inspector is completely broken. It just crashes immediately every time I open it:

(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo at entry=6, no_tid=no_tid at entry=0) at pthread_kill.c:44
#1  0x00007f858c89ae03 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2  0x00007f858c84208e in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f858c829882 in __GI_abort () at abort.c:79
#4  0x00007f858f658b38 in WebCore::PlatformDisplayDefault::create ()
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/platform/graphics/egl/PlatformDisplayDefault.cpp:41
#5  0x00007f858dac931b in WebKit::WebProcess::initializePlatformDisplayIfNeeded (this=0x7f857a0340c0)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp:162
#6  0x00007f858dab76c5 in WebKit::DrawingAreaCoordinatedGraphics::updatePreferences (this=0x7f857a0b0f00, store=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:218
#7  0x00007f858da6b99f in WebKit::WebPage::updateAfterDrawingAreaCreation (this=0x7f857a001200, parameters=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/WebPage/WebPage.cpp:1136
#8  WebKit::WebPage::WebPage (this=0x7f857a001200, pageID=..., parameters=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/WebPage/WebPage.cpp:851
#9  0x00007f858da6a086 in WebKit::WebPage::create (pageID=..., parameters=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/WebPage/WebPage.cpp:501
#10 0x00007f858d886bbd in WebKit::WebProcess::createWebPage (this=0x7f857a0340c0, pageID=..., parameters=...)
    at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebKit/WebProcess/WebProcess.cpp:904

Crash is:

std::unique_ptr<PlatformDisplayDefault> PlatformDisplayDefault::create()
{
    auto glDisplay = GLDisplay::create(eglGetDisplay(EGL_DEFAULT_DISPLAY));
    if (!glDisplay) {
        WTFLogAlways("Could not create default EGL display: %s. Aborting...", GLContext::lastErrorString());
        CRASH();
    }

It works perfectly fine if I open a private instance. Only my main profile is broken. It's not running in a terminal and it's not printing to my journal, so no way to know what the lastErrorString() is....

-- 
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/20241125/9f6cadf7/attachment-0001.htm>


More information about the webkit-unassigned mailing list