compiz crashed with SIGSEGV in std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::_M_insert_aux() from GridWindow::GridWindow()

Bug #756901 reported by Sean Fitzpatrick
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz Core
Expired
Undecided
Unassigned
compiz (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: compiz

Crash happened while playing with settings in the CCSM. I had several crashes in both Unity and Classic.
Note: deciding to see what would happen if the desktop cube is enabled in a Unity session is a *very bad* idea!

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: compiz-core 1:0.9.4+bzr20110407-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CompizPlugins: [core,composite,opengl,vpswitch,cube,expo,rotate]
CompositorRunning: compiz
Date: Sun Apr 10 14:27:22 2011
DistUpgraded: Log time: 2011-04-10 12:15:26.669277
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 virtualbox-ose, 4.0.4, 2.6.35-28-generic, x86_64: installed
 virtualbox-ose, 4.0.4, 2.6.38-8-generic, x86_64: installed
 fglrx, 8.840, 2.6.35-28-generic, x86_64: installed
 fglrx, 8.840, 2.6.38-8-generic, x86_64: installed
ExecutablePath: /usr/bin/compiz
GraphicsCard:
 ATI Technologies Inc RV770 [FireStream 9250] [1002:9452] (prog-if 00 [VGA controller])
   Subsystem: ATI Technologies Inc Device [1002:0502]
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InstallationMedia_: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
JockeyStatus: xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
MachineType: System manufacturer System Product Name
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=2b895bdd-e151-4c24-8533-f348371b6e9c ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Renderer: Unknown
SegvAnalysis:
 Segfault happened at: 0x7f311eec12a7 <_ZNSt6vectorIN15WrapableHandlerI17GLWindowInterfaceLj5EE9InterfaceESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_+55>: mov -0x10(%rdi),%rax
 PC (0x7f311eec12a7) ok
 source "-0x10(%rdi)" (0x00e0001d) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: compiz
StacktraceTop:
 std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::_M_insert_aux(__gnu_cxx::__normal_iterator<WrapableHandler<GLWindowInterface, 5u>::Interface*, std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> > >, WrapableHandler<GLWindowInterface, 5u>::Interface const&) () from /usr/lib/compiz/libgrid.so
 std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::insert(__gnu_cxx::__normal_iterator<WrapableHandler<GLWindowInterface, 5u>::Interface*, std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> > >, WrapableHandler<GLWindowInterface, 5u>::Interface const&) () from /usr/lib/compiz/libgrid.so
 WrapableHandler<GLWindowInterface, 5u>::registerWrap(GLWindowInterface*, bool) () from /usr/lib/compiz/libgrid.so
 GridWindow::GridWindow(CompWindow*) () from /usr/lib/compiz/libgrid.so
 CompPlugin::VTableForScreenAndWindow<GridScreen, GridWindow>::initWindow(CompWindow*) () from /usr/lib/compiz/libgrid.so
Title: compiz crashed with SIGSEGV in std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::_M_insert_aux()
UpgradeStatus: Upgraded to natty on 2011-04-10 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 05/19/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0512
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5KPL-CM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0512:bd05/19/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5KPL-CM:rvrx.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.4+bzr20110407-0ubuntu2
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs 20090808ubuntu11
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 construct (this=0x30562e8, __position=..., __x=...) at /usr/include/c++/4.5/ext/new_allocator.h:105
 std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::_M_insert_aux (this=0x30562e8, __position=..., __x=...) at /usr/include/c++/4.5/bits/vector.tcc:301
 std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::insert (this=0x30562e8, __position=<value optimized out>, __x=<value optimized out>) at /usr/include/c++/4.5/bits/vector.tcc:126
 WrapableHandler<GLWindowInterface, 5u>::registerWrap (this=0x30562d0, obj=<value optimized out>, enabled=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110407/include/core/wrapsystem.h:156
 setHandler (this=0x43b9240, window=<value optimized out>) at /build/buildd/compiz-0.9.4+bzr20110407/include/core/wrapsystem.h:98

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 compiz (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote : Re: compiz crashed with SIGSEGV in std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface, std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface> >::_M_insert_aux()

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

This may be very difficult to reproduce, particularly since you very well may not know exactly what you were doing when compiz crashed: Remember, this bug report will deal with one issue, not a broad range of issues. Please try to reproduce the problem that specifically caused this crash on a later version of Ubuntu, such as 11.10 or the current development version (12.04).

Thank you for your help and patience.

visibility: private → public
Changed in compiz-core:
status: New → Incomplete
Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :

As I recall, this was a compiz crash while changing settings in ccsm, during beta testing of 11.04 - so the crash report was generated automatically by the system. Right now I'm running 11.10, so apport does not show any crashes when they occur.
However, compiz is overall more stable. It's still possible to cause compiz to restart while playing with the settings, but I have to try a lot harder than before.

Just to see if I could, I enabled the desktop cube. I managed to do this, although it requires temporarily disabling the Unity plugin, which causes a compiz restart. The cube is buggy - windows flicker in and out while changing workspaces - but obviously Unity was never meant to work with the cube. (This test led to the following observation while trying to return to my original settings: it is necessary to disable the 'rotate cube' plugin before disabling the 'desktop cube' plugin. Trying to disable the desktop cube first causes ccsm to segfault.)

So to sum up, there's a segfault with ccsm that probably shouldn't happen, but that's a different bug. I can still make compiz restart by playing with settings, but the system recovers. My guess is that the original bug that generated this report was addressed.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you, Sean, for your quick reply.

Your reasoning is very sound; I feel that the best course of action would be to close this bug - The development is so fast that even the different bug you speak of may have already been addressed.

If you feel that you can accurately reproduce the issue that you reported here, please do re-open it. Otherwise it would probably be best if you open a new bug report. Your help is greatly appreciated :).

Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :

The segfault in ccsm occurs with the current version in 11.10, but I would not be surprised if it's already fixed in 12.04. I don't have the time at the moment for alpha testing but once 12.04 hits beta I'll upgrade my home computer and see if I can reproduce the bug. (I do some work at home so the first beta is usually the threshold for stability where I'm willing to go live with it.)
If I get some free time I might try installing the current build in a VM, but my desktop at home is several years old and VirtualBox performance is less than ideal.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Don't feel pressured into installing anything. Remember, you can always test in a livecd environment!

Revision history for this message
Sean Fitzpatrick (sean-fitzpatrick) wrote :

Yeah, livecd and VirtualBox are both options, but I find that going that route is fine for testing but doesn't work so well as far as getting my usual work done. So I upgrade once it hits beta, stick to business as usual, and report any bugs that come up as I try to carry out my usual tasks.

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

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

Changed in compiz (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Compiz Core because there has been no activity for 60 days.]

Changed in compiz-core:
status: Incomplete → Expired
summary: compiz crashed with SIGSEGV in
std::vector<WrapableHandler<GLWindowInterface, 5u>::Interface,
std::allocator<WrapableHandler<GLWindowInterface, 5u>::Interface>
- >::_M_insert_aux()
+ >::_M_insert_aux() from GridWindow::GridWindow()
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.