compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow, CompWindow, 0>::get()

Bug #835259 reported by zzeroo
192
This bug affects 26 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Critical
Sam Spilsbury
unity (Ubuntu)
Fix Released
Critical
Sam Spilsbury
Oneiric
Fix Released
Critical
Sam Spilsbury

Bug Description

This happens while I switch some windows via ALT + TAB keys

TEST CASE:
1. Open 3 terminal
2. Press ALT+TAB and select the terminal group
3. Press ALT+` to open the group and select a terminal
4. Press ALT+F4

Result:
This crash

Reproduced with
$ apt-cache policy compiz unity
compiz:
  Installed: 1:0.9.6-0ubuntu1
  Candidate: 1:0.9.6-0ubuntu1
  Version table:
 *** 1:0.9.6-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status
unity:
  Installed: 4.18.0-0ubuntu1
  Candidate: 4.18.0-0ubuntu1
  Version table:
 *** 4.18.0-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: unity 4.10.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
CrashCounter: 1
Date: Sat Aug 27 08:41:43 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110423)
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=de:en_GB:en
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 LC_MESSAGES=de_DE.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f3f151fcdca <_ZN18PluginClassHandlerI11UnityWindow10CompWindowLi0EE3getEPS1_+378>: mov 0x30(%r12),%rax
 PC (0x7f3f151fcdca) ok
 source "0x30(%r12)" (0x00000030) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 PluginClassHandler<UnityWindow, CompWindow, 0>::get(CompWindow*) () from /usr/lib/compiz/libunityshell.so
 UnityScreen::paintDisplay(CompRegion const&, GLMatrix const&, unsigned int) () from /usr/lib/compiz/libunityshell.so
 UnityWindow::glDraw(GLMatrix const&, GLFragment::Attrib&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libunityshell.so
 GLWindow::glDraw(GLMatrix const&, GLFragment::Attrib&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libopengl.so
 GLWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libopengl.so
Title: compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow, CompWindow, 0>::get()
UpgradeStatus: Upgraded to oneiric on 2011-07-27 (30 days ago)
UserGroups: adm admin cdrom dialout disk lpadmin plugdev sambashare vboxusers

Related branches

Revision history for this message
zzeroo (zzeroo) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 PluginClassHandler<UnityWindow, CompWindow, 0>::get (base=0x0) at /usr/include/compiz/core/pluginclasshandler.h:205
 end (this=0x7fff5b253e30) at /build/buildd/unity-4.10.2/plugins/unityshell/src/unityshell.cpp:2142
 end<std::vector<boost::shared_ptr<unity::ui::LayoutWindow> > > (__cont=...) at /usr/include/c++/4.6/bits/range_access.h:69
 UnityScreen::paintDisplay (this=0x2350380, region=<optimized out>, transform=<optimized out>, mask=<optimized out>) at /build/buildd/unity-4.10.2/plugins/unityshell/src/unityshell.cpp:460
 UnityWindow::glDraw (this=0x42e9820, matrix=..., attrib=..., region=..., mask=65536) at /build/buildd/unity-4.10.2/plugins/unityshell/src/unityshell.cpp:1362

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in unity (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in unity (Ubuntu):
status: New → Confirmed
tags: added: bugpattern-needed
Revision history for this message
Anders Feder (afeder) wrote :

Steps to reproduce:
1. Open any window.
2. Press and hold down Alt long enough for the task switcher to render a preview of the active window.
3. While still holding Alt, press F4 so the active window is closed.
4. Compiz crashes.

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

The crash happened every time I use ALT+F4 to close a window!

Revision history for this message
Bernd Schlapsi (bernd-sch) wrote :

Are there any news on this bug? Will there be a patch available soon?
Tommorow should be released the beta realease of Ubuntu Onieric and this version have a few really bad bugs. My system crashes every time after the login and every time I press ALT+F4 to close a window.

Would be nice to see a new version which fixes this bug!

Changed in unity (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
importance: Medium → High
status: Confirmed → Triaged
tags: removed: bugpattern-needed
tags: added: rls-mgr-o-tracking
Revision history for this message
David Barth (dbarth) wrote :

It's now an old version of unity. Unfortunately, unless there is a clear way to reproduce it, it's improbable that this can be fixed in time for the final release.

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu Oneiric):
status: Triaged → Incomplete
Revision history for this message
Anders Feder (afeder) wrote :

Most likely it already has been fixed; I can no longer generate it.

Revision history for this message
David Barth (dbarth) wrote :

Thanks for testing the new version. I will mark the bug invalid now, but as usual, re-open if it comes back.

Changed in unity:
status: Incomplete → Invalid
Changed in unity (Ubuntu Oneiric):
status: Incomplete → Invalid
Revision history for this message
suxenexus (suxenexus06) wrote :

I had the problem just now. Too many windows would make compiz crash

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 835259] Re: compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow, CompWindow, 0>::get()

On Mon 26 Sep 2011 12:24:42 NZDT, suxenexus wrote:
> I had the problem just now. Too many windows would make compiz crash

How many is too many?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

reopening, it is still an issue with ALT+TAB and closing a windows while the switcher is active. I'll add a test case in the description.

Changed in unity (Ubuntu Oneiric):
milestone: none → ubuntu-11.10
status: Invalid → Triaged
description: updated
Omer Akram (om26er)
Changed in unity:
status: Invalid → Confirmed
importance: Undecided → High
milestone: none → 4.20.0
importance: High → Critical
Changed in unity (Ubuntu Oneiric):
importance: High → Critical
Omer Akram (om26er)
Changed in unity:
assignee: nobody → Jason Smith (jassmith)
Changed in unity (Ubuntu Oneiric):
assignee: Canonical Desktop Experience Team (canonical-dx-team) → Jason Smith (jassmith)
tags: added: testcase
Omer Akram (om26er)
Changed in unity:
assignee: Jason Smith (jassmith) → Sam Spilsbury (smspillaz)
Changed in unity (Ubuntu Oneiric):
assignee: Jason Smith (jassmith) → Sam Spilsbury (smspillaz)
status: Triaged → In Progress
Changed in unity:
status: Confirmed → In Progress
Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu Oneiric):
status: In Progress → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.7 KiB)

This bug was fixed in the package unity - 4.20.0-0ubuntu1

---------------
unity (4.20.0-0ubuntu1) oneiric; urgency=low

  * New upstream release + cherry-pick:
    - compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow,
      CompWindow, 0>::get() (LP: #835259)
    - dash does not scroll down during keyboard navigation (LP: #852506)
    - compiz crashed with SIGSEGV in _XFreeEventCookies() (LP: #851472)
    - compiz crashed with SIGSEGV in g_object_unref() (LP: #847512)
    - compiz crashed with SIGSEGV in nux::WindowCompositor::MouseEventCycle()
      (LP: #831678)
    - compiz and X can disagree on the stacking order (LP: #845719)
    - compiz crashed with SIGSEGV in unity::dash::LensView::OnResultAdded()
      (LP: #855252)
    - CCSM crashes Unity (LP: #861643)
    - compiz crashed with SIGSEGV in PrivateWindow::addWindowStackChanges()
      (LP: #862115)
    - Touch - When dragging a window with a 3 touch, dragging to the top
      should show the maximize gesture preview. (LP: #750316)
    - compiz crashed with SIGABRT in raise() (LP: #750386)
    - Launcher - Spread should not affect the state of window (LP: #764673)
    - [UIFe] Add system setting icon to Launcher (LP: #764744)
    - compiz crashed with SIGABRT in raise() [Merely unchecking the Unity
      plugin is enough to crash Compiz...] (LP: #823386)
    - Launcher - does not hide if revealed from top 24px of the left edge of
      the screen (LP: #835989)
    - Clickable areas of previously active window remains on 'Show Desktop'
      (LP: #836325)
    - Cannot search for some apps in Dash (LP: #837075)
    - Dash - Search box cursor not responding correctly to focus (LP: #839704)
    - Multi-display: Application menu only showing on primary screen
      (LP: #845212)
    - Ellipsized values in size filter (LP: #851359)
    - (oneiric) dash result expansions don't display icons (LP: #854615)
    - run the wrong command if enter is hit before the view is refreshed
      (LP: #856205)
    - Java application windows cut-off/truncated/not displayed properly
      (LP: #857201)
    - compiz crashed with SIGSEGV in sigc::signal_base::impl() (LP: #831769)
    - Minimizing a window should switch focus to the windows underneath it
      (breaks restore) (LP: #859885)
    - Ratings filter allows ratings > 1.0 (LP: #861255)
    - Serious Unity problem stuck in spread when dragging icons back to the
      dash (LP: #862045)
    - Must use hardware keyboard to perform search for applications in Unity
      (LP: #739812)
    - Files lens should also search Downloads (LP: #748915)
    - The dash crosses the monitor boundary when resolution is 1152x864 or
      lesser width (LP: #765338)
    - Dash - dragging a file outside of the Desktop Dash should close the Dash
      (LP: #764641)
    - Text in Dash search text box overflows and doesn't crop with longer
      strings; RtL input starts in wrong place (LP: #834765)
    - Where the average background colour is either very light or dark, adjust
      this value to darken/lighten in order to preserve readability
      (LP: #837993)
    - Dash does not resize when I connect to an external display and mirror
      displays (LP: #83813...

Read more...

Changed in unity (Ubuntu Oneiric):
status: Fix Committed → Fix Released
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.