gtk-window-decorator crashed when windows controls are on the left and GDK_SCALE=2

Bug #1705060 reported by Martin Wimpress on 2017-07-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)

Bug Description

On Ubuntu MATE 17.10 daily I am experimenting with GDK scaling. I have exported the following in to the XSession via /etc/X11/Xsession.d


MATE Tweak can be used to switch between window managers and also select if windows controls are displayed on the left or the right.

  * When GDK scaling is 1 Compiz works correctly regardless of window control position.
  * When GDK scaling is active and window controls are on the right switching to Compiz works correctly.
  * When GDK scaling is active and window controls are on the left switching to Compiz causes it to segfault with the following error:

(gtk-window-decorator:2990): libmetacity-ERROR **: Could not find a button to strip. n_left = 1 n_right = -1

When MATE Tweak switches the window control positions this is what it uses:

  * Left: "close,minimize,maximize:menu"
  * Right: "menu:minimize,maximize,close"

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: compiz-gnome 1:
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic x86_64
ApportVersion: 2.20.5-0ubuntu5
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Jul 18 14:22:39 2017
ExecutablePath: /usr/bin/gtk-window-decorator
InstallationDate: Installed on 2017-06-10 (37 days ago)
InstallationMedia: Ubuntu-MATE 17.10 "Artful Aardvark" - Alpha amd64 (20170606)
ProcCmdline: /usr/bin/gtk-window-decorator
 PATH=(custom, no user)
Signal: 5
SourcePackage: compiz
 () at /lib/x86_64-linux-gnu/
 g_log_writer_default () at /lib/x86_64-linux-gnu/
 g_log_structured_array () at /lib/x86_64-linux-gnu/
 g_log_structured () at /lib/x86_64-linux-gnu/
 () at /usr/lib/x86_64-linux-gnu/
Title: gtk-window-decorator crashed with signal 5
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo

Martin Wimpress (flexiondotorg) wrote :
information type: Private → Public
tags: added: compiz-0.9

 _g_log_abort () from /tmp/apport_sandbox_e_CrVT/lib/x86_64-linux-gnu/
 g_log_writer_default () from /tmp/apport_sandbox_e_CrVT/lib/x86_64-linux-gnu/
 g_log_structured_array () from /tmp/apport_sandbox_e_CrVT/lib/x86_64-linux-gnu/
 g_log_structured () from /tmp/apport_sandbox_e_CrVT/lib/x86_64-linux-gnu/
 meta_theme_metacity_calc_geometry () from /tmp/apport_sandbox_e_CrVT/usr/lib/x86_64-linux-gnu/

Changed in compiz (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
description: updated

Might be related to crash, if so than this bug might be fixed with libmetacity 3.26.0...

Martin Wimpress (flexiondotorg) wrote :

Confirmed fixed on Ubuntu MATE 18.04 (daily). Thank you!

Changed in compiz (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers