<?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>193570</bug_id>
          
          <creation_ts>2019-01-18 07:15:33 -0800</creation_ts>
          <short_desc>[Flatpak] Missing KeyboardInterrupt exception handler</short_desc>
          <delta_ts>2019-01-18 07:41:29 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>lforschler</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1495826</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-18 07:15:33 -0800</bug_when>
    <thetext>Using org.webkit.WPE prefix in /home/phil/WebKit/WebKitBuild/WPE/FlatpakTreeRelease
Starting MiniBrowser.
^CTraceback (most recent call last):
  File &quot;/home/phil/WebKit/Tools/Scripts/webkit-flatpak&quot;, line 28, in &lt;module&gt;
    sys.exit(WebkitFlatpak.load_from_args().run())
  File &quot;/home/phil/WebKit/Tools/flatpak/flatpakutils.py&quot;, line 792, in run
    return self.setup_dev_env()
  File &quot;/home/phil/WebKit/Tools/flatpak/flatpakutils.py&quot;, line 865, in setup_dev_env
    return self.run_in_sandbox(*self.user_command)
  File &quot;/home/phil/WebKit/Tools/flatpak/flatpakutils.py&quot;, line 766, in run_in_sandbox
    subprocess.check_call(flatpak_command, stdout=stdout)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 185, in check_call
    retcode = call(*popenargs, **kwargs)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 172, in call
    return Popen(*popenargs, **kwargs).wait()
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 1099, in wait
    pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 125, in _eintr_retry_call
    return func(*args)
KeyboardInterrupt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1495832</commentid>
    <comment_count>1</comment_count>
      <attachid>359483</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-18 07:23:41 -0800</bug_when>
    <thetext>Created attachment 359483
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1495833</commentid>
    <comment_count>2</comment_count>
      <attachid>359483</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-18 07:25:58 -0800</bug_when>
    <thetext>Comment on attachment 359483
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=359483&amp;action=review

&gt; Tools/flatpak/flatpakutils.py:771
&gt; +            except KeyboardInterrupt:
&gt; +                return 0

I wish python would just do something sane by default....

This would probably be desirable in the run_gdb() function as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1495839</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-18 07:37:50 -0800</bug_when>
    <thetext>run_gdb already chains to run_in_sandbox()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1495840</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-01-18 07:40:54 -0800</bug_when>
    <thetext>Committed r240147: &lt;https://trac.webkit.org/changeset/240147&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1495841</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-01-18 07:41:29 -0800</bug_when>
    <thetext>&lt;rdar://problem/47384486&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>359483</attachid>
            <date>2019-01-18 07:23:41 -0800</date>
            <delta_ts>2019-01-18 07:25:58 -0800</delta_ts>
            <desc>patch</desc>
            <filename>0001-patch.patch</filename>
            <type>text/plain</type>
            <size>1375</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">RnJvbSA2MjkyZjgyOThkNDdiNjFlNWNmNGQ3M2IzZDBjNzViZTQ1ZmE5NThjIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwZSBOb3JtYW5kIDxwbm9ybWFuZEBpZ2FsaWEuY29t
PgpEYXRlOiBGcmksIDE4IEphbiAyMDE5IDE1OjIxOjEwICswMDAwClN1YmplY3Q6IFtQQVRDSF0g
cGF0Y2gKCi0tLQogVG9vbHMvQ2hhbmdlTG9nICAgICAgICAgICAgICAgfCAxMCArKysrKysrKysr
CiBUb29scy9mbGF0cGFrL2ZsYXRwYWt1dGlscy5weSB8ICAyICsrCiAyIGZpbGVzIGNoYW5nZWQs
IDEyIGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cgYi9Ub29scy9D
aGFuZ2VMb2cKaW5kZXggNTE0MjFjZTk4ODAuLjllZDk3YjY1M2M3IDEwMDY0NAotLS0gYS9Ub29s
cy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAK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ICAgICAg
ICByZXR1cm4gZS5yZXR1cm5jb2RlCisgICAgICAgICAgICBleGNlcHQgS2V5Ym9hcmRJbnRlcnJ1
cHQ6CisgICAgICAgICAgICAgICAgcmV0dXJuIDAKIAogICAgICAgICByZXR1cm4gMAogCi0tIAoy
LjIwLjEKCg==
</data>
<flag name="review"
          id="376237"
          type_id="1"
          status="+"
          setter="mcatanzaro"
    />
          </attachment>
      

    </bug>

</bugzilla>