[Webkit-unassigned] [Bug 221525] New: [GTK] Arbitrary xdg-desktop-portal warning breaks CI & unit tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 6 23:17:54 PST 2021


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

            Bug ID: 221525
           Summary: [GTK] Arbitrary xdg-desktop-portal warning breaks CI &
                    unit tests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mike at vee.net
                CC: bugs-noreply at webkitgtk.org

Since enabling the sandbox, the following warning is printed when calling `webkit_web_view_load_html`:

> ** (test-client:392336): WARNING **: 18:07:13.338: GApplication is required for xdg-desktop-portal access in the WebKit sandbox. Actions that require xdg-desktop-portal will be broken.

Since this (and other tests) are simply loading text into a web view, I'm not sure how this is relevant?

Similar to bug 220620, but not urgent since I'll be disabling the sandbox again due to bug 202363.

Example stack trace:

** (test-client:392336): WARNING **: 18:07:13.338: GApplication is required for xdg-desktop-portal access in the WebKit sandbox. Actions that require xdg-desktop-portal will be broken.

Thread 1 "test-client" received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=<optimised out>, 
    args=<optimised out>) at ../../../glib/gmessages.c:1377
1377    ../../../glib/gmessages.c: No such file or directory.
(gdb) 
(gdb) 
(gdb) bt
#0  g_logv
    (log_domain=0x0, log_level=G_LOG_LEVEL_WARNING, format=<optimised out>, args=<optimised out>) at ../../../glib/gmessages.c:1377
#1  0x00007ffff749de13 in g_log
    (log_domain=<optimised out>, log_level=<optimised out>, format=<optimised out>)
    at ../../../glib/gmessages.c:1415
#2  0x00007ffff24e942b in createFlatpakInfo ()
    at ../Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:703
#3  WebKit::bubblewrapSpawn(_GSubprocessLauncher*, WebKit::ProcessLauncher::LaunchOptions const&, char**, _GError**) ()
    at ../Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:793
#4  0x00007ffff24eb0bf in WebKit::ProcessLauncher::launchProcess() ()
    at ../Source/WebKit/UIProcess/Launcher/glib/ProcessLauncherGLib.cpp:203
#5  0x00007ffff2365403 in WebKit::ProcessLauncher::create(WebKit::ProcessLauncher::Client*, WebKit::ProcessLauncher::LaunchOptions&&) ()
    at ../Source/WebKit/UIProcess/Launcher/ProcessLauncher.h:103
#6  WebKit::AuxiliaryProcessProxy::connect() ()
    at ../Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp:101
#7  0x00007ffff23d1598 in WebKit::WebProcessProxy::create(WebKit::WebProcessPool&, WebKit::WebsiteDataStore*, WebKit::WebProcessProxy::IsPrewarmed, WebKit::WebProcessProxy::ShouldLaunchProcess) () at ../Source/WebKit/UIProcess/WebProcessProxy.cpp:143
#8  0x00007ffff23f0a8e in WebKit::WebProcessPool::createNewWebProcess(WebKit::WebsiteDataStore*, WebKit::WebProcessProxy::IsPrewarmed) ()
    at ../Source/WebKit/UIProcess/WebProcessPool.cpp:905
#9  0x00007ffff23f15da in WebKit::WebPageProxy::launchProcess(WebCore::RegistrableDomain const&, WebKit::WebPageProxy::ProcessLaunchReason) ()
    at ../Source/WebKit/UIProcess/WebPageProxy.cpp:819
#10 0x00007ffff23f4ff9 in WebKit::WebPageProxy::loadData(IPC::DataReference const&, WTF::String const&, WTF::String const&, WTF::String const&, API::Object*, WebCore::ShouldOpenExternalURLsPolicy) () at ../Source/WebKit/UIProcess/WebPageProxy.cpp:1402
#11 0x00007ffff2490473 in webkit_web_view_load_html() ()
    at ../Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:3030
#12 0x00007ffff798019a in components_web_view_load_html
    (self=0x555555ada980 [ComposerWebView], body=0x55555716a040 "<html><body class=\"\">\n<div id=\"geary-body\" dir=\"auto\"><p>para</p><div><br /></div><div><span id=\"cursormarker\"></span><br /></div></div>\n<div id=\"geary-signature\" class=\"geary-no-display\" dir=\"auto\"><"..., base_uri=0x0) at ../src/client/components/components-web-view.vala:387
#13 0x00007ffff79a72dd in composer_web_view_load_html
    (self=0x555555ada980 [ComposerWebView], body=0x55555716a2d0 "<p>para</p>", quote=0x55555593d3fa "", top_posting=0, body_complete=0)
    at ../src/client/composer/composer-web-view.vala:198
#14 0x00005555555c5fd5 in composer_web_view_test_real_load_body_fixture

-- 
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/20210207/79603dca/attachment-0001.htm>


More information about the webkit-unassigned mailing list