<?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>210635</bug_id>
          
          <creation_ts>2020-04-16 21:18:00 -0700</creation_ts>
          <short_desc>[GTK] Some API tests are flaky failing with X11 errors</short_desc>
          <delta_ts>2023-08-24 09:02:51 -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>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=198830</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="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>vitaly</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1642567</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-16 21:18:00 -0700</bug_when>
    <thetext>As of r260230 (GTK Release X11 build 13366), some API tests are flaky failing due to the WebProcess crashing in an unexpected way.

Tests:

* /webkit/WebKitWebView/install-missing-plugins-permission-request - Failure already tracked in bug147822
* /webkit/WebKitWebView/is-playing-audio

Could not get a stack trace yet.

stderr:

ERROR:../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp:74:static gboolean WebViewTest::webProcessTerminated(WebKitWebView*, WebKitWebProcessTerminationReason, WebViewTest*): code should not be reached
failed to create drawable

(WebKitWebProcess:129808): Gdk-ERROR **: 12:00:44.269: The program &apos;WebKitWebProcess&apos; received an X Window System error.
This probably reflects a bug in the program.
The error was &apos;BadMatch (invalid parameter attributes)&apos;.
  (Details: serial 224 error_code 8 request_code 148 (GLX) minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


Given both tests try to load a &lt;video&gt; tag, maybe related to bug198830?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1642571</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-16 21:36:27 -0700</bug_when>
    <thetext>Gardened them in r260236</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973219</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-08-24 01:48:24 -0700</bug_when>
    <thetext>Seems to be fixed. See https://commits.webkit.org/267191@main</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>