compiz crashed with SIGSEGV in WallScreen::drawCairoTextureOnScreen()

Bug #740854 reported by Ries
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity
Won't Fix
Medium
Sam Spilsbury
compiz (Ubuntu)
Incomplete
Medium
Sam Spilsbury
unity (Ubuntu)
Won't Fix
Medium
Sam Spilsbury

Bug Description

Binary package hint: unity

starting compiz

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: unity 3.6.6-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Mar 23 10:55:11 2011
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=en_DK:en
 LANG=en_DK.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f42e01c3e59 <_ZN10WallScreen24drawCairoTextureOnScreenEv+377>: mov (%rax),%rdi
 PC (0x7f42e01c3e59) ok
 source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 WallScreen::drawCairoTextureOnScreen() () from /usr/lib/compiz/libwall.so
 WallScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libwall.so
 GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
 UnityScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libunityshell.so
 GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
Title: compiz crashed with SIGSEGV in WallScreen::drawCairoTextureOnScreen()
UpgradeStatus: Upgraded to natty on 2011-03-23 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Ries (riesvdam) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 WallScreen::drawCairoTextureOnScreen (this=0x28c0c90) at /build/buildd/compiz-plugins-main-0.9.4git20110322/wall/src/wall.cpp:927
 WallScreen::glPaintOutput (this=0x28c0c90, attrib=..., matrix=..., region=..., output=0x264ef90, mask=15) at /build/buildd/compiz-plugins-main-0.9.4git20110322/wall/src/wall.cpp:1153
 __destroy<GLFragment::BodyOp*> (this=0x7f42e31d9192, __in_chrg=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:98
 _Destroy<GLFragment::BodyOp*> (this=0x7f42e31d9192, __in_chrg=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:122
 _Destroy<GLFragment::BodyOp*, GLFragment::BodyOp> (this=0x7f42e31d9192, __in_chrg=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:148

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
visibility: private → public
Alex Launi (alexlauni)
Changed in compiz (Ubuntu):
importance: Undecided → Medium
Changed in unity:
importance: Undecided → Medium
Changed in compiz (Ubuntu):
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
Changed in unity:
status: New → Confirmed
Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Neil J. Patel (njpatel) wrote :

After, some investigation with Jason, it seems that the wall plugin pointer is invalid as it crashes on when the function accesses the first member variable. Hope that helps sam!

David Barth (dbarth)
Changed in unity:
milestone: none → 3.8.4
assignee: nobody → Sam "SmSpillaz" Spilsbury (smspillaz)
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Need some more info on how to reproduce this and / or a valgrind trace

Changed in unity:
status: Confirmed → Incomplete
Changed in unity:
milestone: 3.8.4 → 3.8.6
Changed in unity:
status: Incomplete → Confirmed
Changed in unity:
milestone: 3.8.6 → 3.8.8
Changed in unity:
milestone: 3.8.8 → 3.8.10
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

The stack is trashed on this one, so marking incomplete until we can get a better stacktrace or instructions to reproduce.

Changed in unity:
status: Confirmed → Incomplete
Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
David Barth (dbarth)
Changed in unity:
milestone: 3.8.10 → 3.8.12
Revision history for this message
David Barth (dbarth) wrote :

@Sam: can you confirm that a static inspection of the code, as indicated on comment #5, doesn't give more hint at the cause of the issue. Otherwise, in the absence of a reproducible test case, and no duplicates, we could consider this bug invalid.

Changed in unity:
milestone: 3.8.12 → 3.8.14
Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 740854] Re: compiz crashed with SIGSEGV in WallScreen::drawCairoTextureOnScreen()

It's not possible that WallScreen::get () will give you an invalid
pointer, the only screen variable available is global, it is not
touched by plugins and WallScreen::get () would crash on its own if it
was passed an invalid pointer rather than giving an invalid pointer
itself to a WallScreen *.

On Fri, Apr 22, 2011 at 8:04 PM, David Barth <email address hidden> wrote:
> @Sam: can you confirm that a static inspection of the code, as indicated
> on comment #5, doesn't give more hint at the cause of the issue.
> Otherwise, in the absence of a reproducible test case, and no
> duplicates, we could consider this bug invalid.
>
> ** Changed in: unity
>    Milestone: 3.8.12 => 3.8.14
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/740854
>
> Title:
>  compiz crashed with SIGSEGV in WallScreen::drawCairoTextureOnScreen()
>
> Status in Unity:
>  Incomplete
> Status in “compiz” package in Ubuntu:
>  Incomplete
> Status in “unity” package in Ubuntu:
>  Incomplete
>
> Bug description:
>  Binary package hint: unity
>
>  starting compiz
>
>  ProblemType: Crash
>  DistroRelease: Ubuntu 11.04
>  Package: unity 3.6.6-0ubuntu2
>  ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
>  Uname: Linux 2.6.38-7-generic x86_64
>  NonfreeKernelModules: nvidia
>  Architecture: amd64
>  Date: Wed Mar 23 10:55:11 2011
>  ExecutablePath: /usr/bin/compiz
>  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
>  ProcCmdline: compiz
>  ProcEnviron:
>   LANGUAGE=en_DK:en
>   LANG=en_DK.UTF-8
>   SHELL=/bin/bash
>  SegvAnalysis:
>   Segfault happened at: 0x7f42e01c3e59 <_ZN10WallScreen24drawCairoTextureOnScreenEv+377>:      mov    (%rax),%rdi
>   PC (0x7f42e01c3e59) ok
>   source "(%rax)" (0x00000000) not located in a known VMA region (needed readable region)!
>   destination "%rdi" ok
>  SegvReason: reading NULL VMA
>  Signal: 11
>  SourcePackage: unity
>  StacktraceTop:
>   WallScreen::drawCairoTextureOnScreen() () from /usr/lib/compiz/libwall.so
>   WallScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libwall.so
>   GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
>   UnityScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libunityshell.so
>   GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/libopengl.so
>  Title: compiz crashed with SIGSEGV in WallScreen::drawCairoTextureOnScreen()
>  UpgradeStatus: Upgraded to natty on 2011-03-23 (0 days ago)
>  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
>

--
Sam Spilsbury

Changed in unity:
milestone: 3.8.14 → backlog
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Please try to obtain a backtrace following the instructions at https://wiki.ubuntu.com/DebuggingCompiz#Advanced%20Debugging and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

It would also help greatly if you could tell us how to reproduce this crash. Attempts to reproduce it using the information given are not working.

Thank you for helping improve Ubuntu.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
Omer Akram (om26er)
Changed in unity:
status: Incomplete → Invalid
Changed in compiz (Ubuntu):
status: Incomplete → Invalid
Changed in unity:
status: Invalid → Incomplete
Changed in compiz (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

After updating to the lastest in the channel, this problem seems to have resolved itself for me.

Tim Penhey (thumper)
Changed in unity:
milestone: backlog → none
Tim Penhey (thumper)
tags: added: exbacklog
Changed in unity (Ubuntu):
status: Expired → Incomplete
assignee: nobody → Sam Spilsbury (smspillaz)
Revision history for this message
Will Cooke (willcooke) wrote :

As part of the big bug clear up for 16.04 LTS I am marking this bug as Wont Fix.
These types of crasher are better handled by errors.ubutnu.com which can collate similar crash reports to help us identify persitent bugs rather than one-off crashes.
Sorry we are not able to help with this specific issue. If you are still experiencing this crash, please re-open the bug and add the tag "desktop-bugscrub-reopened". See https://wiki.ubuntu.com/BigDesktopBugScrub for more information.

Changed in unity:
status: Incomplete → Won't Fix
Changed in unity (Ubuntu):
status: Incomplete → Won't Fix
tags: added: desktop-bugscrub-autoclosed
a59ff5 (a59ff5a59ff5)
Changed in compiz (Ubuntu):
status: Incomplete → Fix Released
Colin Watson (cjwatson)
Changed in compiz (Ubuntu):
status: Fix Released → Incomplete
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.