← Back to team overview

dx-packages team mailing list archive

[Bug 1245571] Re: Compiz crashes when iconifying window with applied input mask

 

** Also affects: compiz (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: compiz (Ubuntu)
       Status: New => Triaged

** Changed in: unity (Ubuntu)
       Status: New => Triaged

** Changed in: compiz (Ubuntu)
   Importance: Undecided => Medium

** Information type changed from Private to Public

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1245571

Title:
  Compiz crashes when iconifying window with applied input mask

Status in “compiz” package in Ubuntu:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  This crash happens for me always when I apply input mask to a window
  and trying to iconify this window (even with alt+space menu)

  
  I've attached a simplified test case which reproduces the issue
  To run:
   gcc main.c `pkg-config --cflags --libs gtk+-2.0` -o main && ./main

  It uses gdk_window_input_shape_combine_region() to apply input mask,
  but if you rewrite an app to use gtk_widget_input_shape_combine_mask()
  or  XShapeCombineMask() (with ShapeInput parameter) compiz will crash
  as well.

  
  Ubuntu 13.04
  Compiz 0.9.9.0
  What you expected to happen:
      Successful iconification of a window
  What happened instead:
      compiz crashed

  I am able to reproduce this issue on Ubuntu 13.04, 13.10.  It works
  fine for me on Ubuntu 12.04, I did not try 12.10.

  ProblemType: Crash
  DistroRelease: Ubuntu 13.04
  Package: unity 7.0.0daily13.06.19~13.04-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-32.47-generic 3.8.13.10
  Uname: Linux 3.8.0-32-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.5
  Architecture: amd64
  CrashCounter: 1
  Date: Mon Oct 28 20:11:36 2013
  ExecutablePath: /usr/bin/compiz
  InstallationDate: Installed on 2013-10-08 (20 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  ProcCmdline: compiz --replace
  SegvAnalysis:
   Segfault happened at: 0x7f900a1a2c2d:	cmp    0x18(%rax),%r12
   PC (0x7f900a1a2c2d) ok
   source "0x18(%rax)" (0x0000004a) not located in a known VMA region (needed readable region)!
   destination "%r12" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: unity
  StacktraceTop:
   ?? () from /lib/x86_64-linux-gnu/libc.so.6
   ?? () from /lib/x86_64-linux-gnu/libc.so.6
   XFree () from /usr/lib/x86_64-linux-gnu/libX11.so.6
   ?? () from /usr/lib/compiz/libunityshell.so
   unity::UnityWindow::UnityWindow(CompWindow*) () from /usr/lib/compiz/libunityshell.so
  Title: compiz crashed with SIGSEGV in XFree()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1245571/+subscriptions