[Webkit-unassigned] [Bug 265460] [GTK] Crash with WEBKIT_DISABLE_COMPOSITING_MODE=1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 02:14:46 PDT 2024


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

--- Comment #2 from Jim Mason <jmason at ibinx.com> ---
I can consistently reproduce this crash on gnome gitlab:

1. disable ccompositing.  Confirm in webkit://gpu
2. run with no GBM (? maybe)
3. run with X11 (? maybe)
4. Navigate to: https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1489/diffs

Backtrace is similar to before; commonality is that it is trying to enter accelerated compositing mode.

One other thing:  compositing has been permanently disabled for me from some weeks now, from about the time that GLX was removed or so.  So I get this crash quite often in the wild, unfortunately.

Backtrace and webkit://gpu output follow below.


Thread 12 received signal SIGABRT, Aborted.
[Switching to Thread 1 (LWP 1)]
0x00007ff3f9d911aa in __lwp_sigqueue () from /lib/64/libc.so.1
(gdb) bt
#0  0x00007ff3f9d911aa in __lwp_sigqueue () at /lib/64/libc.so.1
#1  0x00007ff3f9d857c1 in thr_kill () at /lib/64/libc.so.1
#2  0x00007ff3f9d33d09 in raise () at /lib/64/libc.so.1
#3  0x00007ff3f9d08df2 in abort () at /lib/64/libc.so.1
#4  0x00007ff3f9663457 in  () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#5  0x00007ff3f60a7a41 in WebKit::LayerTreeHost::LayerTreeHost(WebKit::WebPage&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#6  0x00007ff3f60a844d in WebKit::DrawingAreaCoordinatedGraphics::enterAcceleratedCompositingMode(WebCore::GraphicsLayer*) ()
    at /usr/lib/64/libwebkit2gtk-4.0.so.37
#7  0x00007ff3f60a85d3 in WebKit::DrawingAreaCoordinatedGraphics::graphicsLayerFactory() () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#8  0x00007ff3f5ff156d in WebKit::WebChromeClient::graphicsLayerFactory() const
    () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#9  0x00007ff3f86dcecc in WebCore::RenderLayerCompositor::ensureRootLayer() ()
    at /usr/lib/64/libwebkit2gtk-4.0.so.37
#10 0x00007ff3f86e1d3a in WebCore::RenderLayerCompositor::updateBacking(WebCore::RenderLayer&, WebCore::RenderLayerCompositor::RequiresCompositingData&, WebCore::RenderLayerCompositor::BackingSharingState*, WebCore::RenderLayerCompositor::BackingRequired) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#11 0x00007ff3f86e4953 in WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&, WebCore::LayerOverlapMap&, WebCore::RenderLayerCompositor::CompositingState&, WebCore::RenderLayerCompositor::BackingSharingState&, bool&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#12 0x00007ff3f86e47bd in WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&, WebCore::LayerOverlapMap&, WebCore::RenderLayerCompositor::CompositingState&, WebCore::RenderLayerCompositor::BackingSharingState&, bool&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#13 0x00007ff3f86e47bd in WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&, WebCore::LayerOverlapMap&, WebCore::RenderLayerCompositor::CompositingState&, WebCore::RenderLayerCompositor::BackingSharingState&, bool&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#14 0x00007ff3f86e68a2 in WebCore::RenderLayerCompositor::updateCompositingLayers(WebCore::CompositingUpdateType, WebCore::RenderLayer*) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#15 0x00007ff3f81bccbb in WebCore::ThreadTimers::sharedTimerFiredInternal() [clone .part.0] () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#16 0x00007ff3f1b8c4ef in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*) () at /usr/lib/64/libjavascriptcoregtk-4.0.so.18
#17 0x00007ff3f1b8cf89 in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /usr/lib/64/libjavascriptcoregtk-4.0.so.18
#18 0x00007ff3ed1815c0 in g_main_context_dispatch () at /usr/lib/64/libglib-2.0.so.0
#19 0x00007ff3ed181948 in g_main_context_iterate.constprop () at /usr/lib/64/libglib-2.0.so.0
#20 0x00007ff3ed181c33 in g_main_loop_run () at /usr/lib/64/libglib-2.0.so.0
#21 0x00007ff3f1b8d0c0 in WTF::RunLoop::run() () at /usr/lib/64/libjavascriptcoregtk-4.0.so.18
#22 0x00007ff3f60ac422 in WebKit::WebProcessMain(int, char**) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#23 0x0000000000400dac in _start ()

{
    "Version Information": {
        "WebKit version": "WebKitGTK 2.45.2 (r278970)",
        "Operating system": "SunOS 5.11 11.3 i86pc",
        "Desktop": "GNOME",
        "GStreamer version": "1.20.4 (build) GStreamer 1.20.4 (runtime)",
        "GTK version": "3.24.38 (build) 3.24.38 (runtime)"
    },
    "Display Information": {
        "Identifier": "1",
        "Type": "X11",
        "Screen geometry": "0,0 1920x1080",
        "Screen work area": "0,28 1920x1024",
        "Depth": "24",
        "Bits per color component": "8",
        "Font Scaling DPI": "96",
        "Screen DPI": "93.60940451422194",
        "VBlank type": "Timer",
        "VBlank refresh rate": "60Hz"
    },
    "Hardware Acceleration Information": {
        "Policy": "never",
        "WebGL enabled": "Yes"
    }
}

-- 
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/20240520/99df9588/attachment.htm>


More information about the webkit-unassigned mailing list