compiz crashed with SIGSEGV in ScaleScreen::getSelectedWindow()

Bug #1284898 reported by Bibek
72
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Unity
Won't Fix
Medium
Unassigned
unity (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

crashed when pressing super + w and trying to select a window

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: unity 7.1.2+14.04.20140220-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 25 18:17:20 2014
ExecutablePath: /usr/bin/compiz
InstallationDate: Installed on 2014-02-25 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140223)
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f1d2b6410c0 <_ZNK11ScaleScreen17getSelectedWindowEv>: mov 0x48(%rdi),%rax
 PC (0x7f1d2b6410c0) ok
 source "0x48(%rdi)" (0x00000048) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 ScaleScreen::getSelectedWindow() const () from /usr/lib/compiz/libscale.so
 unity::UnityScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libunityshell.so
 CompScreen::handleEvent(_XEvent*) () from /usr/lib/libcompiz_core.so.ABI-20140123
 PrivateScaleScreen::handleEvent(_XEvent*) () from /usr/lib/compiz/libscale.so
 CompScreen::handleEvent(_XEvent*) () from /usr/lib/libcompiz_core.so.ABI-20140123
Title: compiz crashed with SIGSEGV in ScaleScreen::getSelectedWindow()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Bibek (justwagle) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ScaleScreen::getSelectedWindow (this=0x0) at /build/buildd/compiz-0.9.11+14.04.20140218/plugins/scale/src/scale.cpp:1383
 unity::UnityScreen::handleEvent(_XEvent*) () from /tmp/apport_sandbox_le26c8/usr/lib/compiz/libunityshell.so
 CompScreen::handleEvent (this=0xff8a40, event=<optimized out>) at /build/buildd/compiz-0.9.11+14.04.20140218/src/event.cpp:1256
 PrivateScaleScreen::handleEvent (this=0x2b953b0, event=0x7fff541209e0) at /build/buildd/compiz-0.9.11+14.04.20140218/plugins/scale/src/scale.cpp:1739
 CompScreen::handleEvent (this=0xff8a40, event=<optimized out>) at /build/buildd/compiz-0.9.11+14.04.20140218/src/event.cpp:1256

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.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
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandre Roux (Phoenamandre) (alexandre-roux-m) wrote :

This happens only with my nvidia 630m

Revision history for this message
Philippe (raptor200357) wrote :

I'm affected too, window spread desactivated with Unity tweak tool and no more crash.

Revision history for this message
Philippe (raptor200357) wrote :

No news on this ?

That shortcut is kinda handy.

Revision history for this message
Michele (mikelito) wrote :

This started to happen after I manually messed up with the order of plugin loading uding dconf-editor, in order to try to fix the fact that some options were not saved upon restart.

I could fix it by changing back the list in /org/compiz/profiles/unity/plugins/core to have 'unityshell' as its last argument.

Changed in unity:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Lem (lem-jjr) wrote :

This bug is reproducible on the open source Radeon driver with integrated Radeon HD3200. Stock Ubuntu 14.04 fully updated. The only manual change was changing the order of plugins to load expo after unity (so hotcorners would work reliably).

Steps to reproduce:

1. Open several instances of a single application (e.g. terminal)
2. Click on the icon for that application in the unity launcher
3. Compiz segfaults and X crashes.

Here are the segfault entries in dmesg from the few times I did it:

[ 6271.667171] compiz[2431]: segfault at 48 ip 00007f076dfdc840 sp 00007ffcbc8e4228 error 4 in libscale.so[7f076dfcb000+27000]
[ 6423.258754] compiz[4949]: segfault at 48 ip 00007f46c4b5f840 sp 00007ffdec1c53e8 error 4 in libscale.so[7f46c4b4e000+27000]
[ 6440.079751] compiz[5955]: segfault at 48 ip 00007f209a42a840 sp 00007ffe7582a3c8 error 4 in libscale.so[7f209a419000+27000]

uname -a

Linux zinnia 3.16.0-45-generic #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

And the output from glxinfo | grep OpenGL:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RS880
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30

Let me know if any more information is required.

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: Confirmed → Won't Fix
Changed in unity (Ubuntu):
status: Confirmed → Won't Fix
tags: added: desktop-bugscrub-autoclosed
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.