[Webkit-unassigned] [Bug 246159] New: Epiphany 43.0 crashes on launch failing to establish a dbus connection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 08:56:54 PDT 2022


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

            Bug ID: 246159
           Summary: Epiphany 43.0 crashes on launch failing to establish a
                    dbus connection
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alice at ayaya.dev
                CC: bugs-noreply at webkitgtk.org

Created attachment 462838

  --> https://bugs.webkit.org/attachment.cgi?id=462838&action=review

strace of epiphany crashes

(Following through from https://github.com/WebKit/WebKit/pull/5011#issuecomment-1270291105)  

starting epiphany 43.0 with webkit2gtk 2.38.0 (gtk3+libsoup3 4.1 variant) and the above merge request yields the following crash loop trying to load any website (e.g. youtube.com):  

```
** (process:2): WARNING **: 17:48:07.176: Failed to connect to bus: Could not connect: No such file or directory

(WebKitWebProcess:2): Gdk-WARNING **: 17:48:07.176: Settings portal not found: Error receiving data: Connection reset by peer

** (process:2): WARNING **: 17:48:07.176: Failed to connect to bus: Could not connect: No such file or directory

** (process:2): WARNING **: 17:48:07.298: Failed to connect to bus: Could not connect: No such file or directory

(WebKitWebProcess:2): GLib-GIO-CRITICAL **: 17:48:07.298: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(epiphany:11328): epiphany-WARNING **: 17:48:07.310: Web process crashed

```

an strace of some of this is attached. from the strace, interestingly:  

12129 connect(8, {sa_family=AF_UNIX, sun_path="/tmp/dbus-DiTHLPEh5Q"}, 110) = -1 ENOENT (No such file or directory)

the DBUS_SESSION_BUS_ADDRESS is:

unix:path=/tmp/dbus-DiTHLPEh5Q,guid=0060023e9861265e5efb9ddc633ef48e  

this is with dbus 1.15.2 . the latest dbus releases now only support non-abstract sockets- prior to the change, the abstract sockets launched okay with the changes in the above merge request, and didn't work without it (crashed with either abstract or non abstract dbus)  

epiphany prior to 43 worked fine, because it didn't contain https://gitlab.gnome.org/GNOME/epiphany/-/commit/88cb0505cf55069f3aa36e50595cc2e32fc3bd38 which now does some extra things via libportal.  

the version of libportal is 0.6.0 and the version of xdg-dbus-proxy is 0.1.4

-- 
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/20221006/07bae995/attachment.htm>


More information about the webkit-unassigned mailing list