Bug 162489

Summary: [GTK] BadDamage X error in /webkit2/WebKitWebView/preferred-size
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

Description Carlos Garcia Campos 2016-09-23 06:08:38 PDT
(bin/TestWebKitAPI/WebKit2Gtk/TestWebKitWebView:8449): Gdk-ERROR **: The program 'bin/TestWebKitAPI/WebKit2Gtk/TestWebKitWebView' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDamage (invalid Damage parameter)'.
  (Details: serial 514 error_code 151 request_code 143 (DAMAGE) minor_code 2)
  (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.)
FAIL
GTester: last random seed: R02Sc6e7d38f5cfb45f491ba566f93d81152
(pid=9065)
FAIL: bin/TestWebKitAPI/WebKit2Gtk/TestWebKitWebView

I think I've seen this with layout tests too.
Comment 1 Carlos Garcia Campos 2016-09-23 06:11:26 PDT
Created attachment 289678 [details]
Patch
Comment 2 Michael Catanzaro 2016-09-23 07:15:41 PDT
Comment on attachment 289678 [details]
Patch

Oh good. I was seeing this sometimes when closing Epiphany, but I could never reproduce when I tried to get a backtrace.
Comment 3 Carlos Garcia Campos 2016-09-23 08:52:21 PDT
Committed r206305: <http://trac.webkit.org/changeset/206305>