compiz (unity) crashes with SIGSEGV when a window is minimized.
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Unity |
Fix Released
|
Critical
|
Daniel van Vugt | ||
| unity (Ubuntu) |
Fix Released
|
Critical
|
Daniel van Vugt | ||
Bug Description
TESTCASE:
Repeat:
1. Start any app that has a window.
2. Minimize the window.
3. Right click on the app in the Launcher and select Quit while it's minimized.
Unity/compiz will crash on the second iteration. Maybe the third if you're lucky.
ORIGINAL DESCRIPTION:
1. start chromium maximize it
2. start gnome terminal
3. minimize terminal and then chromium
4. now close both apps by right clicking their icons in the launcher
5. start chromium (considering it opens maximized)
6. minimize chromium
7. either system will just hang or unity will crash
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: compiz-core 1:0.9.6+
ProcVersionSign
Uname: Linux 3.0.0-15-generic i686
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86 Kernel Module 285.05.09 Fri Sep 23 18:53:08 PDT 2011
GCC version: gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
.tmp.unity.
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,
CompositorRunning: compiz
Date: Wed Jan 18 23:12:19 2012
Disassembly: => 0x147df59: Cannot access memory at address 0x147df59
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus:
nvidia-
nvidia-
ExecutablePath: /usr/bin/compiz
GraphicsCard:
nVidia Corporation G92 [GeForce 9800 GTX] [10de:0612] (rev a2) (prog-if 00 [VGA controller])
Subsystem: BFG Tech Device [19f1:0a76]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
JockeyStatus:
xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
xorg:nvidia_
xorg:nvidia_
xorg:nvidia_
ProcCmdline: compiz
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SegvAnalysis:
Segfault happened at: 0x147df59: Cannot access memory at address 0x147df59
PC (0x0147df59) ok
SP (0xbff5b5b0) ok
Reason could not be automatically determined.
Signal: 11
SourcePackage: compiz
Stacktrace:
#0 0x0147df59 in ?? ()
No symbol table info available.
Cannot access memory at address 0xbff5b5b0
StacktraceTop: ?? ()
Title: compiz crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf:
Section "Device"
Identifier "My Graphics"
Option "GLXVBlank" "on"
Option "NoLogo" "True"
EndSection
dmi.bios.date: 11/06/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RQG4110H.
dmi.board.
dmi.board.name: DG41RQ
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE54511-201
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCor
version.compiz: compiz 1:0.9.6+
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
- Sam Spilsbury (community): Approve
- Unity Team: Pending requested
-
Diff: 250 lines (+42/-55) 3 files modifiedapiplugins/unityshell/src/compizminimizedwindowhandler.h (+23/-31)
plugins/unityshell/src/unityshell.cpp (+15/-23)
plugins/unityshell/src/unityshell.h (+4/-1)
- .proc.driver.nvidia.params.txt Edit (455 bytes, text/plain; charset="utf-8")
- BootDmesg.txt Edit (45.0 KiB, text/plain; charset="utf-8")
- BootLog.gz Edit (518 bytes, application/x-gzip)
- CurrentDmesg.txt Edit (40.2 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (2.5 KiB, text/plain; charset="utf-8")
- DpkgLog.txt Edit (49.6 KiB, text/plain; charset="utf-8")
- GconfCompiz.txt Edit (37.1 KiB, text/plain; charset="utf-8")
- Lspci.txt Edit (10.5 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (384 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (1.5 KiB, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (1.6 KiB, text/plain; charset="utf-8")
- ProcMaps.txt Edit (43.8 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- ProcStatus.txt Edit (781 bytes, text/plain; charset="utf-8")
- Registers.txt Edit (455 bytes, text/plain; charset="utf-8")
- ThreadStacktrace.txt Edit (536 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (87.8 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (194.2 KiB, text/plain; charset="utf-8")
- UnitySupportTest.txt Edit (602 bytes, text/plain; charset="utf-8")
- XorgLog.txt Edit (19.5 KiB, text/plain; charset="utf-8")
- XorgLogOld.txt Edit (19.5 KiB, text/plain; charset="utf-8")
- Xrandr.txt Edit (16.0 KiB, text/plain; charset="utf-8")
- XsessionErrors.txt Edit (4.5 KiB, text/plain; charset="utf-8")
- locale.txt Edit (327 bytes, text/plain; charset="utf-8")
- nvidia-settings.txt Edit (217.0 KiB, text/plain; charset="utf-8")
- peripherals.txt Edit (1.3 KiB, text/plain; charset="utf-8")
- setxkbmap.txt Edit (233 bytes, text/plain; charset="utf-8")
- xdpyinfo.txt Edit (22.0 KiB, text/plain; charset="utf-8")
- xinput.txt Edit (605 bytes, text/plain; charset="utf-8")
Stacktrace:
#0 0x0147df59 in ?? ()
No symbol table info available.
Cannot access memory at address 0xbff5b5b0
StacktraceTop: ?? ()
Thank you for your report!
However, processing it in order to get sufficient information for the
developers failed (it does not generate a useful symbolic stack trace). This
might be caused by some outdated packages which were installed on your system
at the time of the report:
outdated debug symbol package for libavahi-common3: package version 0.6.30-4ubuntu1 dbgsym version 0.6.30-0ubuntu2
outdated debug symbol package for libtiff4: package version 3.9.5-1ubuntu1 dbgsym version 3.9.4-5ubuntu6
outdated debug symbol package for libgpg-error0: package version 1.10-0.3ubuntu1 dbgsym version 1.10-0.2ubuntu1
outdated debug symbol package for libavahi-client3: package version 0.6.30-4ubuntu1 dbgsym version 0.6.30-0ubuntu2
outdated debug symbol package for passwd: package version 1:4.1.4.
outdated debug symbol package for libdatrie1: package version 0.2.4-3 dbgsym version 0.2.4-1
libcups2 version 1.5.0-8ubuntu6 required, but 1.5.0-8ubuntu7 is available
outdated debug symbol package for libstartup-
outdated debug symbol package for libthai0: package version 0.1.15-2 dbgsym version 0.1.14-2ubuntu1
outdated debug symbol package for libltdl7: package version 2.4-2ubuntu1 dbgsym version 2.2.6b-2ubuntu3
Please upgrade your system to the latest package versions. If you still
encounter the crash, please file a new report.
Thank you for your understanding, and sorry for the inconvenience!
Confirmed. Compiz crashed when I followed Omer's test case.
- valgrind-bug-918329.txt Edit (20.6 KiB, text/plain)
Here's (part of) a valgrind log. It shows lots of bad things going on in unity/compiz before the crash.
This looks like bug 864758. But that one is closed already. Maybe it is the same bug and just wasn't fixed adequately... ?
+ compiz crashed with SIGSEGV in PluginClassHandler<UnityWindow,
+ CompWindow, 0>::get(CompWindow*) (pluginclasshandler.h:153) from
+ compiz::CompizMinimizedWindowHandler<UnityScreen,
+ UnityWindow>::minimize() (compizminimizedwindowhandler.h:184)
- CompWindow, 0>::get(CompWindow*) (pluginclasshandler.h:153) from
- compiz::CompizMinimizedWindowHandler<UnityScreen,
- UnityWindow>::minimize() (compizminimizedwindowhandler.h:184)
+ CompWindow, 0>::get(CompWindow*) (pluginclasshandler.h:153)
marking it as duplicate of bug 918360 which i reported after this one. it has the logs and all
Already have this one in progress. Reversed duplicate pointers.
- CompWindow, 0>::get(CompWindow*) (pluginclasshandler.h:153)
+ compiz crashes with SIGSEGV when a window is minimized.
+ compiz (unity) crashes with SIGSEGV when a window is minimized.
removed the oneiric task since the new upload to oneiric does not have this bug.
This bug was fixed in the package unity - 5.2.0-0ubuntu1
---------------
unity (5.2.0-0ubuntu1) precise; urgency=low
* New upstream release.
- Unity needs a way to switch (tab) between windows on current workspace
(LP: #863399)
- compiz crashed with SIGSEGV in BamfLauncherIco
(LP: #865840)
- Gradual degradation in desktop performance. (LP: #888039)
- compiz (unity) crashes with SIGSEGV when a window is minimized.
(LP: #918329)
- FavoriteStore external change support (LP: #681503)
- Launcher - Make Launcher left of screen reveal more responsive and less
prone to false positives (LP: #765819)
- Window auto-maximise functionality should be disabled on monitors with a
resolution above 1024 x 600 (LP: #797808)
- Dash: very high latency responding to input (LP: #828582)
- Dash - Behaviour of the 'All' button in the Dash filters broken in
several ways (LP: #841864)
- alt-tab - The app title in the top left of the top bar should change as
the alt-tab focus changes (LP: #855516)
- Keyboard shortcut - Add keyboard shortcut hint overlay that is displayed
when a user presses and holds the Super key (LP: #855532)
- Unity crashes when started in an environment without utouch support
(LP: #860707)
- Dash - Remove Dash Home shortcut icons (LP: #885738)
- Dash - Most Frequently Used apps change to Recently Used, without
Launcher favorites (LP: #893214)
- Should have a launcher on every monitor (LP: #915944)
- Launcher autohide behaviour on multi-monitor (LP: #915946)
- the unity wrapper should kill compiz before restarting it (LP: #919132)
- Launcher - Implement workspace/launcher cross interactions (LP: #690143)
- Application icons should only display windows from the current workspace
in the window spread (LP: #689733)
- Notification area ("system tray") missing when using dual monitors of
different sizes, with their bottoms aligned (LP: #778256)
- Clicking Nautilus launcher icon fails to open a Nautilus file explorer
window when copying a file and all other Nautilus windows are closed /
bamf should skip the taskbar (LP: #784804)
- Dash - the search box is not aligned correctly relative to the Launcher
BFB button (LP: #838904)
- Dash - A expand/collapse arrow is missing from all the filter category
headers (LP: #841870)
- Dash - the filter buttons should not have a mouse over state
(LP: #838901)
- Dash - the "Filter results" text is the wrong size, wrong font weight,
and aligned incorrectly in both the vertical and horizontal axis
(LP: #863240)
- Add SUPER+TAB switching mode that enables the user to switch
applications via the Launcher (LP: #891620)
- Software Centre - automatically add app icon to launcher (LP: #761851)
- Compiz add transparency to titlebar along with the panel (LP: #912682)
- The search box is too opaque and dark (LP: #913717)
- Dash - Make statefulness of Dash Home and Dash Lenses consistent
(LP: #914759)
- Unity 5.0: "All" button for filters render as "..." (LP: #91...