<?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>225503</bug_id>
          
          <creation_ts>2021-05-06 21:27:32 -0700</creation_ts>
          <short_desc>[WPE] TestWebExtensions web-process-crashed is flaky failing after latest WPE libs update</short_desc>
          <delta_ts>2021-05-07 03:02:36 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=225358</see_also>
    
    <see_also>https://github.com/Igalia/WPEBackend-fdo/pull/158</see_also>
          <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="Lauro Moura">lmoura</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1757784</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-05-06 21:27:32 -0700</bug_when>
    <thetext>/WPE/TestWebExtensions
    /webkit/WebKitWebView/web-process-crashed

First failure: 237336@main (r277020) in build: https://build.webkit.org/#/builders/40/builds/1542

libWPE and WPE-backend FDO updated respectively to 1.10 and 1.9.91 in 237333 (r277017), and picked up first by the build above.

Could not reproduce the issue with SDK version r276635 locally but SDK version r277017 indeed it&apos;s flaky.

Log:

TEST: WebKitBuild/WPE/Release/bin/TestWebKitAPI/WPE/TestWebExtensions...
  /webkit/WebKitWebView/web-process-crashed:                          FAIL
WPE-FDO-FATAL-WARNING: Instance::dispatchFrameCallbacks(): Cannot find surface with bridgeId 1 in view backend map. Probably the associated surface is gone due to a premature exit in the client side

(WebKitBuild/WPE/Release/bin/TestWebKitAPI/WPE/TestWebExtensions:14): WPE-FDO-WARNING **: 21:25:38.534: Instance::dispatchFrameCallbacks(): Cannot find surface with bridgeId 1 in view backend map. Probably the associated surface is gone due to a premature exit in the client side

Unexpected failures (1)
    WebKitBuild/WPE/Release/bin/TestWebKitAPI/WPE/TestWebExtensions
        /webkit/WebKitWebView/web-process-crashed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757785</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2021-05-06 21:41:27 -0700</bug_when>
    <thetext>Gardened in r277157</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757800</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-07 00:09:43 -0700</bug_when>
    <thetext>The crash here I suspect is caused by the test being run with
“G_DEBUG=fatal-warnings” but I don&apos;t remember if the test harness
does that. At any rate, we are working on plugging a regression
in https://github.com/Igalia/WPEBackend-fdo/pull/158 and once
that is solved we should remove this warning from WPEBackend-fdo.
Pablo Saavedra and myself are actively working on this but progress
has been slow so I cannot give you a certain ETA… maybe we should
consider downgrading WPEBackend-fdo back in the meantime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757806</commentid>
    <comment_count>3</comment_count>
      <attachid>427978</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-05-07 00:59:59 -0700</bug_when>
    <thetext>Created attachment 427978
[fast-cq] Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757812</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-05-07 01:47:33 -0700</bug_when>
    <thetext>Committed r277165 (237451@main): &lt;https://commits.webkit.org/237451@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 427978.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757820</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-05-07 02:42:18 -0700</bug_when>
    <thetext>(In reply to Lauro Moura from comment #1)
&gt; Gardened in r277157

SDK r277166 is deployed but I haven&apos;t updated test expectations yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1757824</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-05-07 03:02:36 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #5)
&gt; (In reply to Lauro Moura from comment #1)
&gt; &gt; Gardened in r277157
&gt; 
&gt; SDK r277166 is deployed but I haven&apos;t updated test expectations yet.

Unflagged in r277167.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>427978</attachid>
            <date>2021-05-07 00:59:59 -0700</date>
            <delta_ts>2021-05-07 01:47:35 -0700</delta_ts>
            <desc>[fast-cq] Patch</desc>
            <filename>bug-225503-20210507005957.patch</filename>
            <type>text/plain</type>
            <size>1576</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc3MTYyCmRpZmYgLS1naXQgYS9Ub29scy9idWlsZHN0cmVh
bS9DaGFuZ2VMb2cgYi9Ub29scy9idWlsZHN0cmVhbS9DaGFuZ2VMb2cKaW5kZXggYzlmZTY3ZWUx
MjY2NTU5ODNiMzk4ZTAxZDBhY2MxNmM5NDNmOTk0NC4uM2I0NmJlZTM4YzRmOTQ3MDc4ZTA5MTNh
ZDY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