[Webkit-unassigned] [Bug 280605] New: REGRESSION(284171 at main): [GTK] build link error, startup crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 30 03:12:38 PDT 2024


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

            Bug ID: 280605
           Summary: REGRESSION(284171 at main): [GTK] build link error,
                    startup crash
           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: jmason at ibinx.com
                CC: bugs-noreply at webkitgtk.org

GTK3
X11
USE_SKIA=OFF

There are two issues.  I am combining, as both relate to commit 284171 at main.

First, the commit maintains declaration of the destructor ScrollbarThemeGtk::~ScrollbarThemeGtk but removes its implementation.  As a result, the build fails with an unresolved symbol link error.

Restoring the (trivial) dtor implementation that was removed by the commit clears the issue and the build finishes.

That this is not picked up by continuous integration or by other devs suggests I am using code paths that are not commonly traversed.  This leads us to the second issue:

After the build has completed successfully, upon startup, webkit throws a SIGSEGV.  Below are backtraces from Minibrowser and Epiphany.

Minibrowser:
Thread 2 received signal SIGSEGV, Segmentation fault.
  #0  0x00007ff6b34292d8 in WTF::Detail::CallableWrapper<webkitWebViewBaseCreateWebPage(_WebKitWebViewBase*, WTF::Ref<API::PageConfiguration, WTF::RawPtrTraits<API::PageConfiguration>, WTF::DefaultRefDerefTraits<API::PageConfiguration> >&&)::$_0, void, WebCore::SystemSettingsState const&>::call(WebCore::SystemSettingsState const&) ()
    at /build/rtutils/components/desktop/webkitgtk4-dev/build/prototype/i386/usr/lib/amd64/libwebkit2gtk-4.0.so.37
#1  0x00007ff6b53ba636 in WebCore::SystemSettings::updateSettings(WebCore::SystemSettingsState&&) ()
    at /build/rtutils/components/desktop/webkitgtk4-dev/build/prototype/i386/usr/lib/amd64/libwebkit2gtk-4.0.so.37
#2  0x00007ff6b34c0d2d in WebKit::SystemSettingsManager::settingsDidChange() ()
    at /build/rtutils/components/desktop/webkitgtk4-dev/build/prototype/i386/usr/lib/amd64/libwebkit2gtk-4.0.so.37
#3  0x00007ff6b34c077d in WebKit::SystemSettingsManager::initialize() ()
    at /build/rtutils/components/desktop/webkitgtk4-dev/build/prototype/i386/usr/lib/amd64/libwebkit2gtk-4.0.so.37
#4  0x00007ff6b34c6beb in WebKit::Display::Display() ()
    at /build/rtutils/components/desktop/webkitgtk4-dev/build/prototype/i386/usr/lib/amd64/libwebkit2gtk-4.0.so.37


Epiphany:
Thread 2 received signal SIGSEGV, Segmentation fault.
#0  0x00007ffbfa2dca24 in WebKit::WebPageProxy::pageZoomFactor() const ()
    at /usr/lib/64/libwebkit2gtk-4.0.so.37
#1  0x00007ffbfa42930b in WTF::Detail::CallableWrapper<webkitWebViewBaseCreateWebPage(_WebKitWebViewBase*, WTF::Ref<API::PageConfiguration, WTF::RawPtrTraits<API::PageConfiguration>, WTF::DefaultRefDerefTraits<API::PageConfiguration> >&&)::$_0, void, WebCore::SystemSettingsState const&>::call(WebCore::SystemSettingsState const&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#2  0x00007ffbfc3ba636 in WebCore::SystemSettings::updateSettings(WebCore::SystemSettingsState&&) () at /usr/lib/64/libwebkit2gtk-4.0.so.37
#3  0x00007ffbfa4c0d2d in WebKit::SystemSettingsManager::settingsDidChange() ()
    at /usr/lib/64/libwebkit2gtk-4.0.so.37
#4  0x00007ffbfa4c077d in WebKit::SystemSettingsManager::initialize() ()
    at /usr/lib/64/libwebkit2gtk-4.0.so.37

-- 
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/20240930/dd153ea5/attachment.htm>


More information about the webkit-unassigned mailing list