<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>257905</bug_id>
          
          <creation_ts>2023-06-09 13:11:20 -0700</creation_ts>
          <short_desc>[GLib] Process launching hangs if xdg-dbus-proxy is not installed</short_desc>
          <delta_ts>2023-08-18 06:23:35 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1960811</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-06-09 13:11:20 -0700</bug_when>
    <thetext>In https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/685 we discovered that process launching hangs if xdg-dbus-proxy is not installed. This is because we do a synchronous read() at the bottom of XDGDBusProxy::launch, and it never completes if spawning bwrap failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960823</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-06-09 13:50:53 -0700</bug_when>
    <thetext>Current behavior is we print the following and then hang forever:

bwrap: execvp /usr/bin/foo: No such file or directory

Proposed behavior is to print then crash (because this is not recoverable):

bwrap: execvp /usr/bin/foo: No such file or directory

** (epiphany:203869): ERROR **: 15:49:53.627: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap (core dumped)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960833</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-06-09 14:12:40 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/14825</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1972038</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-18 06:23:32 -0700</bug_when>
    <thetext>Committed 267038@main (971943d9b665): &lt;https://commits.webkit.org/267038@main&gt;

Reviewed commits have been landed. Closing PR #14825 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>