Bug 210635 - [GTK] Some API tests are flaky failing with X11 errors
Summary: [GTK] Some API tests are flaky failing with X11 errors
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-16 21:18 PDT by Lauro Moura
Modified: 2023-08-24 09:02 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2020-04-16 21:18:00 PDT
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 'WebKitWebProcess' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (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 <video> tag, maybe related to bug198830?
Comment 1 Lauro Moura 2020-04-16 21:36:27 PDT
Gardened them in r260236
Comment 2 Vitaly Dyackhov 2023-08-24 01:48:24 PDT
Seems to be fixed. See https://commits.webkit.org/267191@main