compiz crashed with SIGSEGV in CompWindow::serverBorderRect()

Bug #834585 reported by Christopher Meng
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz Main Plugins
Fix Released
High
Daniel van Vugt
Unity
Fix Released
High
Marnanel Thurman
compiz (Ubuntu)
Invalid
High
Unassigned
Oneiric
Invalid
High
Unassigned
compiz-plugins-main (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
High
Marnanel Thurman
Oneiric
Invalid
Critical
Unassigned

Bug Description

I want to install ubuntu tweak after upgrading to 11.10.

but today the software center told me that the list of PPA has been incorrect.so the center ask me if i'd like to fix the problem.Then i click yes,and it crash for 1min.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: unity 4.8.2-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-9.14-generic 3.0.3
Uname: Linux 3.0.0-9-generic i686
Architecture: i386
Date: Fri Aug 26 18:04:56 2011
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=zh_CN:zh
 PATH=(custom, no user)
 LANG=zh_CN.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x8099b83 <_ZNK10CompWindow16serverBorderRectEv+19>: mov 0x2c(%eax),%eax
 PC (0x08099b83) ok
 source "0x2c(%eax)" (0x0000002c) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 CompWindow::serverBorderRect() const ()
 GridScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libgrid.so
 CompScreen::handleEvent(_XEvent*) ()
 WallScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libwall.so
 CompScreen::handleEvent(_XEvent*) ()
Title: compiz crashed with SIGSEGV in CompWindow::serverBorderRect()
UpgradeStatus: Upgraded to oneiric on 2011-08-25 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

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

StacktraceTop:
 CompWindow::serverBorderRect (this=0x0) at /build/buildd/compiz-0.9.5.92+bzr2791/src/windowgeometry.cpp:185
 GridScreen::handleEvent (this=0x8666d08, event=0xbffa58fc) at /build/buildd/compiz-plugins-main-0.9.5.92.bzr17/grid/src/grid.cpp:586
 CompScreen::handleEvent (this=0x842e4d0, event=0xbffa58fc) at /build/buildd/compiz-0.9.5.92+bzr2791/src/event.cpp:986
 WallScreen::handleEvent (this=0x86a8ad0, event=0xbffa58fc) at /build/buildd/compiz-plugins-main-0.9.5.92.bzr17/wall/src/wall.cpp:534
 CompScreen::handleEvent (this=0x842e4d0, event=0xbffa58fc) at /build/buildd/compiz-0.9.5.92+bzr2791/src/event.cpp:986

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-i386-retrace
Revision history for this message
Mirco Müller (macslow) wrote :

From the provided stacktrace this look more like a bug in compiz than in unity itself. I've added compiz to the affected packages.

Changed in compiz (Ubuntu):
importance: Undecided → High
milestone: none → ubuntu-11.10
Revision history for this message
Marnanel Thurman (marnanel) wrote :

Definitely a compiz issue: it's a crash in CompWindow::serverBorderRect() probably caused by "priv" being null (hence the offset within the record).

Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
importance: Medium → Critical
Revision history for this message
David Barth (dbarth) wrote :

@thomas: go ahead if you want to provide a fix

Changed in unity:
assignee: nobody → Thomas Thurman (marnanel)
milestone: none → 4.22.0
importance: Undecided → High
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
Changed in unity:
milestone: 4.22.0 → 4.24.0
Changed in compiz-grid-plugin:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Sam Spilsbury (smspillaz)
milestone: none → 0.9.6
Changed in compiz-grid-plugin:
status: Confirmed → Fix Committed
Changed in unity:
status: Triaged → Fix Released
Changed in compiz (Ubuntu):
status: Confirmed → Fix Committed
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
Changed in unity:
status: Fix Released → Fix Committed
Changed in compiz-plugins-main (Ubuntu):
status: New → In Progress
Changed in unity (Ubuntu):
status: Fix Committed → Invalid
Changed in compiz (Ubuntu):
status: Fix Committed → Invalid
Changed in compiz-plugins-main (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Christopher, or anyone else affected,

Accepted compiz-plugins-main into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Ngassam Nkwenga (cyrildz) wrote :

How to reproducte this ? I think the reporter only could provide feedback to this

I'm on the proposed Repository

Revision history for this message
David Baucum (maxolasersquad) wrote :

I got this bug, but I can't just reproduce it. It happened pseudo-randomly, and I don't know of any specific steps I could take to make the crash happen again.

Revision history for this message
Regression (gitsfans) wrote :

I've got this bug once but so far It looks like it is ok. At least there is no regression.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Changed in compiz-grid-plugin:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz-plugins-main - 1:0.9.6-0ubuntu4

---------------
compiz-plugins-main (1:0.9.6-0ubuntu4) oneiric-proposed; urgency=low

  * debian/patches/fix-872161.patch:
    - When grabbing a window to demaximize it after dragging it up,
      sometimes the position will not be where you expect it to be
      (LP: #872161)

compiz-plugins-main (1:0.9.6-0ubuntu3) oneiric-proposed; urgency=low

  * Cherry-pick upstream fixes:
    - unmaximizable windows still show orange glow but fail to maximize
      (LP: #827560)
    - compiz crashed with SIGSEGV in CompWindow::serverBorderRect()
      (LP: #834585)
    - Workspace switcher makes windows lose decorations (LP: #853951)
    - Windows get corrupted sometimes when semi-maximizing them (LP: #865177)
    - Windows like gnome-terminal have awkward space around them after being
      semi-maximized (LP: #865179)
    - Grid plugin behaviour random (LP: #862260)
    - Don't apply snapping to maximized windows (LP: #862261)
    - snap movements can cause infinite loops in window movements (LP: #860646)
    - it is possible to see a window in it's pre-animation state during unmap
      animations (LP: #864476)
    - Rendering glitches when resuming from expo mode (LP: #868121)
 -- Didier Roche <email address hidden> Wed, 12 Oct 2011 10:49:59 +0200

Changed in compiz-plugins-main (Ubuntu):
status: Fix Committed → Fix Released
Changed in compiz-plugins-main (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix missing upstream (see bug 910698).

Changed in compiz-grid-plugin:
status: Fix Released → Triaged
Changed in compiz-grid-plugin:
assignee: Sam Spilsbury (smspillaz) → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Changed in compiz-grid-plugin:
status: In Progress → Fix Committed
affects: compiz-grid-plugin → compiz-plugins-main
Changed in compiz-plugins-main:
milestone: 0.9.6 → none
Changed in compiz-plugins-main:
milestone: none → 0.9.7.0
Changed in compiz-plugins-main:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: Invalid → Fix Released
assignee: nobody → Thomas Thurman (marnanel)
importance: Critical → High
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.