Summary: | [GTK] Windowless plugins sometimes crash with a BadMatch error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Martin Robinson <mrobinson> | ||||||
Component: | WebKitGTK | Assignee: | Martin Robinson <mrobinson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | webkit.review.bot | ||||||
Priority: | P3 | Keywords: | Gtk | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Martin Robinson
2011-06-20 15:35:34 PDT
Here's the GDK BadMatch output: This probably reflects a bug in the program. The error was 'BadValue (integer parameter out of range for operation)'. (Details: serial 3852 error_code 2 request_code 53 minor_code 0) (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 --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) (In reply to comment #1) > Here's the GDK BadMatch output: > > This probably reflects a bug in the program. > The error was 'BadValue (integer parameter out of range for operation)'. > (Details: serial 3852 error_code 2 request_code 53 minor_code 0) > (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 --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() function.) The issue here seems to be that the height argument of the XCreatePixmap call is zero. Created attachment 97877 [details]
Patch
Created attachment 97879 [details]
Patch
Comment on attachment 97879 [details]
Patch
r=me
Comment on attachment 97879 [details] Patch Clearing flags on attachment: 97879 Committed r89319: <http://trac.webkit.org/changeset/89319> All reviewed patches have been landed. Closing bug. |