gtk-window-decorator crashes randomly

Bug #1266572 reported by Scott Hinton
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After upgrading my three computers(home, work, laptop) to 13.10 from 13.04, gtk-window-decorator keeps crashing when running wine apps. The crash happens mostly when opening a secondary window like a file dialogue, or alert box. The crash can also happen by itself. If wine programs are running, gtk-window-decorator cannot be restarted until the wine programs are closed.

Error msg in terminal:
The program 'gtk-window-decorator' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 5934 error_code 11 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.)

syslog error msg:
Jan 2 12:40:07 #####-work kernel: [ 9950.029313] gtk-window-deco[3776]: segfault at 0 ip 000000000041b1d5 sp 00007fff651b3b70 error 6 in gtk-window-decorator[400000+26000]

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libgtk-3-0 3.8.6-0ubuntu3.1
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Mon Jan 6 11:41:05 2014
InstallationDate: Installed on 2012-01-17 (719 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: gtk+3.0
UpgradeStatus: Upgraded to saucy on 2013-12-30 (7 days ago)

Revision history for this message
Scott Hinton (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1x-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553j) wrote :
affects: gtk+3.0 (Ubuntu) → ubuntu
affects: ubuntu → compiz (Ubuntu)
Revision history for this message
Scott Hinton (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1x-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553j) wrote :

Here is the error message returned if I try to re-run sudo gtk-window-decorator before quitting all wine programs:

(gtk-window-decorator:7342): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(gtk-window-decorator:7342): Gdk-CRITICAL **: IA__gdk_drawable_set_colormap: assertion 'GDK_IS_DRAWABLE (drawable)' failed

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Jerome St-Louis (jerstlouis) wrote :

Here is a callstack through Valgrind.

The crash happens right away on a gtk-window-decorator restart once I get it if I leave the app causing the problem on.

Sounds like a type mismatch on a drawable?
Plus a missing null pointer check?

Revision history for this message
Scott Hinton (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1x-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553j) wrote :

My work computer has now become unstable due to this bug. If I do not immediately close all wine programs after gtk-window-decorator crashes, I run the risk of an auto reboot(kernel panic?). Very frustrating as this is the machine I use ~80% of my work time. This does not happen on my home computer though. I can finish what I'm working on and save my files before closing all wine apps and restarting gtk-window-decorator.

I'm also getting several crash reports for gtk-window-decorator on login, although it keeps running until it fails while running wine apps.

Revision history for this message
Scott Hinton (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1x-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553j) wrote :

My laptop also seems to remain stable after the gtk-window-decorator crash. Only my work desktop kernel panics if I do not close all wine programs immediately. All three computers are set up practically the same software-wise as I use each for work depending on where I am. The only major difference between them is the hardware. Work computer is a Core i7, home is a Core 2 Quad and laptop is a Core 2 Duo.

I can send logs from each if requested.

Revision history for this message
Scott Hinton (78luphr0rnk2nuqimstywepozxn9kl19tqh0tx66b5dki1x-launchpad-a811i2i3ytqlsztthjth0svbccw8inm65tmkqp9sarr553j) wrote :

Upgrading from Wine 1.4 to 1.6 seems to have fixed the problem. No crashes after a full day of work.

Revision history for this message
JD R (eightbitlink) wrote :

gtk-window-decorator can be reliably crashed by opening 'Cities: Skylines' from Steam. It gives the following output when run from a terminal and crashed:
(gtk-window-decorator:13457): Gdk-ERROR **: The program 'gtk-window-decorator' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 8158 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 (core dumped)

The system runs fine without the decorator running, and I am using Compiz as my window manager in Xubuntu 14.10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.