Comment 8 for bug 1293252

Revision history for this message
Andrew Skalski (askalski) wrote :

Is there anything I can do to help troubleshoot this? I purchased Kerbal Space Program "early access" on Steam this morning, and gnome-panel crashes with this error whenever I try to run the game. This does not happen with the KSP demo, only the full version. A web search suggests this may affect any game that uses the Unity engine, not just KSP.

While KSP is running, any attempt to start up gnome-panel results in an immediate crash with this error output:

(gnome-panel:7495): Gdk-ERROR **: The program 'gnome-panel' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 2047 error_code 8 request_code 62 (core protocol) 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 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.)
Trace/breakpoint trap

I use "gnome-session-flashback" as my desktop environment on Ubuntu 14.10. The default desktop environment does not seem to be affected by this (I tried in a Guest session), but even in the Guest session you can still reproduce the error by attempting to execute "gnome-panel" in a terminal window while KSP is running.

If I install libcairo2-dbg and run gnome-panel with the GDK_SYNCHRONIZE environment variable, the crash occurs on line 905 of cairo-1.13.0~20140204/src/cairo-xlib-surface-shm.c when _cairo_xlib_surface_update_shm calls XCopyArea(). According to the XCopyArea docs at www.x.org, "The drawables must have the same root and depth, or a BadMatch error results." Unfortunately I am not versed in X programming, so I don't know what to try next.