Ubuntu

compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask() [compizminimizedwindowhandler.h] from unity::UnityWindow::glPaint()

Reported by apgnu on 2011-09-16
408
This bug affects 56 people
Affects Status Importance Assigned to Milestone
Unity
High
Andrea Azzarone
4.0
High
Unassigned
5.0
High
Andrea Azzarone
unity (Ubuntu)
High
Andrea Azzarone
Precise
High
Andrea Azzarone

Bug Description

[Test Case]
No obvious test case, just making sure the crash does not happen.

[Regression Potential]
No regression potential.

Original description:

compiz crashed with SIGSEGV in CompWindow::id() 2011:09:16

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: unity 4.16.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Fri Sep 16 16:23:44 2011
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110905)
ProcCmdline: compiz
SegvAnalysis:
 Segfault happened at: 0x80810c7 <_ZN10CompWindow2idEv+7>: mov 0xc(%eax),%eax
 PC (0x080810c7) ok
 source "0xc(%eax)" (0x0000000c) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 CompWindow::id() ()
 UnityWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libunityshell.so
 GLWindow::glPaint(GLWindowPaintAttrib const&, GLMatrix const&, CompRegion const&, unsigned int) () from /usr/lib/compiz/libopengl.so
 PrivateGLScreen::paintOutputRegion(GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
 GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
Title: compiz crashed with SIGSEGV in CompWindow::id()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

lp:~andyrock/unity/fix-851982
Merged into lp:unity at revision 2460
Marco Trevisan (Treviño): Approve on 2012-06-30
jenkins (community): Approve (continuous-integration) on 2012-06-27
apgnu (brahimax19) wrote :

StacktraceTop:
 CompWindow::id (this=0xa8fe4e0) at /build/buildd/compiz-0.9.5.94+bzr2803/src/window.cpp:4632
 getPaintMask (this=<optimized out>) at /build/buildd/unity-4.16.0/plugins/unityshell/src/compizminimizedwindowhandler.h:212
 UnityWindow::glPaint (this=0xa938f40, attrib=..., matrix=..., region=..., mask=2) at /build/buildd/unity-4.16.0/plugins/unityshell/src/unityshell.cpp:1447
 GLWindow::glPaint (this=0xa924f90, attrib=..., transform=..., region=..., mask=2) at /build/buildd/compiz-0.9.5.94+bzr2803/plugins/opengl/src/paint.cpp:1216
 PrivateGLScreen::paintOutputRegion (this=0x9b4d618, transform=..., region=..., output=0x9b0a660, mask=3) at /build/buildd/compiz-0.9.5.94+bzr2803/plugins/opengl/src/paint.cpp:275

Changed in unity (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace

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

Changed in unity (Ubuntu):
status: New → Confirmed
Didier Roche (didrocks) on 2011-09-30
Changed in unity:
status: New → Confirmed
Didier Roche (didrocks) on 2011-09-30
Changed in unity (Ubuntu):
importance: Medium → Critical
Omer Akram (om26er) wrote :

It has not happened in 12.04 it seems. All the duplicates are from 11.10

visibility: private → public
Changed in unity (Ubuntu):
importance: Critical → High
Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: High → Medium
Changed in unity:
importance: High → Medium
Daniel van Vugt (vanvugt) wrote :

Omer, I just linked lots of duplicates from 12.04 :)

Changed in unity:
milestone: none → 5.10.0
summary: - compiz crashed with SIGSEGV in CompWindow::id()
+ compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask()
+ [compizminimizedwindowhandler.h] from unity::UnityWindow::glPaint()
Jakob Unterwurzacher (jakobunt) wrote :

Just happened on 12.04 Beta 2 playing a youtube video (hmtl5 mode) in full screen

Didier Roche (didrocks) on 2012-04-12
Changed in unity:
milestone: 5.10.0 → 5.12.0

Just happened on 12.04 Beta 2 after inserting usb-flash:)

Changed in unity:
importance: Medium → High
Changed in unity (Ubuntu):
importance: Medium → High
Didier Roche (didrocks) on 2012-04-27
Changed in unity:
milestone: 5.12.0 → 5.14.0
tags: added: precise
Pascal de Bruijn (pmjdebruijn) wrote :

I'm having to deal with this multiple times a day. So this bug is still very present on a fully updated 12.04 LTS.

Sebastien Bacher (seb128) wrote :

That's the most reported issue on errors.ubuntu.com for unity this month with close from 5000 reports, that should be addressed in a SRU if possible for the lts point release

Changed in unity (Ubuntu Precise):
importance: Undecided → High
milestone: none → ubuntu-12.04.1
status: New → Triaged
Changed in unity:
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu):
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu Precise):
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
Changed in unity (Ubuntu Precise):
status: Triaged → In Progress
Daniel van Vugt (vanvugt) wrote :

Why is it the latest duplicates of this bug are all Unity 5.10? Is it possible it's fixed in 5.12, or did automatic duplicate detection just start working properly around the time 5.12 was released? :)

Andrea Azzarone (andyrock) wrote :

@Daniel, not sure but I can reproduce this bug.

Open ccsm using the terminal.
Enable slow animations using ccsm
Minimize the ccsm.
Close the ccsm using CTRL+C while it is minimizing
Disable slow animation
Use unity for a while

Sebastien Bacher (seb128) wrote :

@Daniel: likely because Ubuntu turns off apport by default in stable series, which means we basically stop receiving report to launchpad from stable versions (that's one of the issues errors.ubuntu.com aims at solving)

Daniel van Vugt (vanvugt) wrote :

How ironic. The "stable" compiz release doesn't report crashes to Launchpad, because it's the "stable" compiz release. :)

Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu):
status: In Progress → Fix Committed
Pascal de Bruijn (pmjdebruijn) wrote :

As I've mentioned this is an exceptionally annoying issue, so I've cherrypicked the fix into the current release version of Unity, and did a PPA for it:

https://launchpad.net/~pmjdebruijn/+archive/unity-testing

Previously Unity would crash about 50% of the time whenever I closed Darktable (a photography application), with the fixed Unity version from the above PPA, I opened and closed Darktable about ten times without any crashes yet.

So I guess this is confirmed fixed.

Changed in unity (Ubuntu Precise):
status: In Progress → Fix Committed
Changed in unity:
milestone: 5.14.0 → 6.0
Changed in unity (Ubuntu Precise):
status: Fix Committed → In Progress
Didier Roche (didrocks) on 2012-07-10
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity (Ubuntu Precise):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (5.8 KiB)

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

---------------
unity (6.0.0-0ubuntu1) quantal-proposed; urgency=low

  [ Didier Roche ]
  * debian/rules, debian/control, debian/unity-autopilot.install:
    - install new unity-autopilot package, containing autopilot bindings and
      test for Unity
    - add some python build-dep for executing setup.py
    - use dh_python2 and add some python:Depends dep for automatic python
      version detection
  * debian/control:
    - remove gnome-desktop dependency: not needed upstream anymore
    - unity Breaks older lenses due to path change
    - remove libgdu in build-dep
  * debian/libunity-core-6.0-5.install, debian/libunity-core-6.0-dev.install,
    debian/control:
    - version bump in libunity-core, change soname

  [ Matthieu Baerts (matttbe) ]
  * Update apport hook for python3 ; thanks to Edward Donovan (LP: #1013171)

  [ Łukasz 'sil2100' Zemczak ]
  * New upstream release.
    - compiz crashed with SIGSEGV in get_current_slide() from
      unity::BGHash::OnSlideshowTransition() (LP: #889625)
    - Unity is visible on top of fullscreen apps (LP: #734908)
    - App icon on the Unity Launcher lost track of running instance
      (LP: #772063)
    - unity crashed with NameError in reset_unity_compiz_profile(): global
      name 'GError' is not defined (LP: #778470)
    - compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask()
      [compizminimizedwindowhandler.h] from unity::UnityWindow::glPaint()
      (LP: #851982)
    - HUD - Formatting of text in the auto-complete is wrong (LP: #939436)
    - [regression] Launcher is silent to screen reader users (LP: #949448)
    - still some accent issues with unity/nux (LP: #950740)
    - [regression] [precise] 3D apps run much slower under Unity (LP: #987304)
    - No launcher icon or Alt+Tab entry for Gimp windows (LP: #995916)
    - Locked smuxi launcher icon does not indicate smuxi running status
      (LP: #999820)
    - When number of workspaces is set to 1, the Spread no longer works
      (LP: #996604)
    - Much slower OpenGL frame rates with unityshell loaded, than plain compiz
      (LP: #988079)
    - Port to libudisks2 (LP: #1012000)
    - Desktop, Launcher and menu bar still visible when screen locked
      (LP: #886605)
    - Searching in the HUD freezes unity (LP: #1016239)
    - Dragged icons rendered under dash (LP: #1021541)
    - Regression in Launcher keyboard navigation (with Alt+F1) (LP: #1021549)
    - Unity dash is is much slower/laggy after revision 2469. (LP: #1021665)
    - Dash and Launcher - As soon as a user starts dragging a file from the
      Dash, there is a 'flicker' before the Launcher icons that are valid drop
      receptacles re-saturate (LP: #863230)
    - Dash - when a file is dragged from the Dash (Dash home, file lens, or
      music lens) and dropped on a Launcher icon, the Dash should
      automatically close (LP: #865168)
    - Refreshing active blur makes the dash painfully slow (LP: #874230)
    - Open dash, press Alt+f1 - dash remains open (LP: #919209)
    - application reopens itself when last instance is closed from
      windows/application switcher (LP: #926406)
    - HUD D...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Stéphane Graber (stgraber) wrote :

Please use "In progress" instead of "Fix commited" as the status for bugs that have not yet landed in -proposed.
The SRU script will automatically changed it to "Fix commited" when it lands in -proposed and then "Fix released" when it lands in -updates.

Thanks

Changed in unity (Ubuntu Precise):
status: Fix Committed → In Progress
description: updated

Hello apgnu, or anyone else affected,

Accepted unity into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/unity/5.14.0-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed
Alan Pope ㋛ (popey) on 2012-07-24
tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :
Download full text (3.5 KiB)

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

---------------
unity (5.14.0-0ubuntu1) precise-proposed; urgency=low

  * New upstream release.
    - Unity launcher shows internal partitions after they have been unmounted
      (LP: #994163)
    - can't click to dismiss hud in the area where dynamic hud results are
      meant to appear (LP: #962651)
    - Spread/Scale should exit if Dash is invoked (LP: #944033)
    - Searching in the HUD freezes unity (LP: #1016239)
    - Dash - The search bar gets the focus when pressing invalid keys
      (LP: #931393)
    - unity crashed with NameError in reset_unity_compiz_profile(): global name
      'GError' is not defined (LP: #778470)
    - When number of workspaces is set to 1, the Spread no longer works
      (LP: #996604)
    - compiz crashed with SIGSEGV in CompWindow::id() from getPaintMask()
      from unity::UnityWindow::glPaint() (LP: #851982)
    - "Keyboard Shortcuts" overlay can cause annoyance (LP: #934062)
    - padding between last quicklist item and bottom edge is non-deterministic
      (changes randomly) (LP: #955158)
    - HUD Draws improperly while searching for results (LP: #932531)
    - compiz crashed with SIGSEGV in
      unity::ui::KeyboardUtil::GetKeycodeAboveKeySymbol() (LP: #920258)
    - Launcher - when a user starts dragging a item, any folded launcher icons
      that are valid drop receptacles should unfold (LP: #839717)
    - Dragging image from firefox/chrome to dock causes lagg/freeze
      (LP: #772445)
    - dash should open when pressing "super" in scale mode (LP: #1023811)
    - Multimonitor, Launcher - When the Launcher is set to autohide and
      'Sticky edges' are turned off, 'Launcher Edge Stop Overcome Pressure'
      seems to be broken when revealing the Launcher (LP: #987955)
    - Software Center add to launcher icon animation is delayed when the
      launcher is in auto-hide mode (LP: #1012896)
    - Purchased items are not being added to the Unity launcher (LP: #925014)
    - Unity Launcher Fails To Auto-Hide When Enabled & Installing Commercial
      Software (LP: #1002440)
    - Regression: shift+click on a launcher icon to open a new application
      instance gone (LP: #754565)
    - Regression: Installing apps causes a terrible visual glitch-- have to
      restart X.org. (LP: #981168)
    - Duplicated applications icons on quick application restart (LP: #1003574)
    - HUD - Formatting of text in the auto-complete is wrong (LP: #939436)
    - alt-backtick flickers between windows (LP: #987156)
    - [Hud] The result grid is not drawn in proximity of the search entry
      (LP: #1008603)
    - Dash and Launcher - As soon as a user starts dragging a file from the
      Dash, there is a 'flicker' before the Launcher icons that are valid drop
      receptacles re-saturate (LP: #863230)
    - [hud] The last button is not rounded (LP: #1008656)
    - Hud flickers when show up (LP: #1011507)
    - Dash maximise button changed location (LP: #987674)
    - launcher reordering "line" doesn't go to the bottom slot (LP: #971421)
    - Dash/HUD should close on "Spread" (LP: #870284)
    - Nothing should be written into the dash/hud searchbar whe...

Read more...

Changed in unity (Ubuntu Precise):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Daniel van Vugt (vanvugt) wrote :

Ubuntu 11.10 users with Unity 4.x:
Please note that Ubuntu 11.10 will reach end of life soon (April 2013). As such you should probably upgrade.

To post a comment you must log in.