If the wallpaper file is deleted, Unity/Compiz crash on Oneiric

Bug #827579 reported by Julian Alarcon on 2011-08-16
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Gord Allott
unity (Ubuntu)
High
Canonical Desktop Experience Team
Oneiric
High
Canonical Desktop Experience Team

Bug Description

Ubuntu Oneiric 11.10 with last updates

TEST CASE
1. Use Unity desktop on Oneiric
2. Set a wallpaper
3. Delete the wallpaper file
4. Close session and open it again

Unity will crash, and only show the desktop (without wallpaper/background, but if you have files inside te desktop, you can open them, this is how I could report this bug)

Finally I found this bug!

Unity in my Ubuntu account was crashing, but reading other Forums (in italian) I found that If you create another account, Unity works fine, and he was right, the new account works perfect.
So I made test changing different configurations of Unity/GNOME (change size of icons, activate zoom, activate opacity on Unity panel and Dash, change fontsize, set a wallpaper, etc). But I finally found the bug.

If you delete the wallpaper file used on your session, when you try again to login, Unity/Compiz crashed. I can reproduce this bug everytime.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.8.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-8.11-generic-pae 3.0.1
Uname: Linux 3.0.0-8-generic-pae i686
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,resize,imgpng,unitymtgrabhandles,vpswitch,move,gnomecompat,compiztoolbox,snap,regex,grid,zoom,mousepoll,place,session,animation,wall,fade,expo,ezoom,workarounds,scale,unityshell]
CompositorRunning: compiz
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Tue Aug 16 13:58:03 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
DkmsStatus: vboxhost, 4.1.2, 3.0.0-8-generic-pae, i686: installed
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04c5]
 ATI Technologies Inc NI Whistler [AMD Radeon HD 6600M Series] [1002:6741] (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04c5]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110730)
MachineType: Dell Inc. Dell System Vostro 3450
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic-pae root=UUID=a163d130-cfa4-4122-8f7c-27100ed73b3a ro quiet splash pcie_aspm=force vt.handoff=7
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/25/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0K8WHD
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd03/25/2011:svnDellInc.:pnDellSystemVostro3450:pvr:rvnDellInc.:rn0K8WHD:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System Vostro 3450
dmi.sys.vendor: Dell Inc.
peripherals:
 /desktop/gnome/peripherals/mouse:
   cursor_theme = DMZ-White
version.compiz: compiz 1:0.9.5.0-0ubuntu5
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Related branches

Julian Alarcon (julian-alarcon) wrote :
Julian Alarcon (julian-alarcon) wrote :

There is a file (.xsession-errors) that have the error when I try to restart unity or compiz.

------------------------------------------------------------------------------------------------------------
Initializing ezoom options...done
Initializing workarounds options...done
Initializing scale options...done

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_new: assertion `width > 0' failed

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(compiz:3413): GdkPixbuf-CRITICAL **: gdk_pixbuf_fill: assertion `GDK_IS_PIXBUF (pixbuf)' failed

(compiz:3413): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** (nm-applet:3427): DEBUG: old state indicates that this was not a disconnect 0

Screen geometry changed:
  Monitor 0(primary)
   0x0x1366x768

(bluetooth-applet:3414): Gtk-WARNING **: GtkImage 0x8c20bf0 is mapped but visible=1 child_visible=1 parent GtkTrayIcon 0x8c43010 mapped=0

(nm-applet:3427): Gtk-WARNING **: GtkImage 0x9274738 is mapped but visible=1 child_visible=1 parent GtkTrayIcon 0x9443018 mapped=0
unity-panel-service(2428): Operación no permitida
unity-panel-service: proceso no encontrado
Initializing unityshell options...done
terminate called after throwing an instance of 'std::logic_error'
  what(): basic_string::_S_construct null not valid
Starting gtk-window-decorator
gnome-session[3330]: WARNING: Application 'compiz.desktop' killed by signal
gnome-session[3330]: WARNING: App 'compiz.desktop' respawning too quickly
gnome-session[3330]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
Initializing bailer options...done
Initializing detection options...done

------------------------------------------------------------------------------------------------------------

description: updated
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

This is reproducible with the steps in the decsription. I'll attach a trace.

Changed in unity (Ubuntu):
assignee: nobody → Canonical Desktop Experience Team (canonical-dx-team)
importance: Undecided → High
status: New → Triaged
Jean-Baptiste Lallement (jibel) wrote :
Changed in unity (Ubuntu Oneiric):
milestone: none → ubuntu-11.10-beta-1
description: updated
Gord Allott (gordallott) on 2011-08-17
Changed in unity:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Gord Allott (gordallott)
milestone: none → 4.8.0
Gord Allott (gordallott) on 2011-08-18
Changed in unity:
status: Confirmed → In Progress
Gord Allott (gordallott) on 2011-08-18
Changed in unity:
status: In Progress → Fix Committed
Changed in unity (Ubuntu Oneiric):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

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

---------------
unity (4.8.2-0ubuntu1) oneiric; urgency=low

  * New upstream release.
    - Dash shows random solid color on first launch of 'active blur'
      enabled Unity (lp: #824886)
    - Unity crashes if you select a gradient as wallpaper (lp: #825091)
    - If the wallpaper file is deleted, Unity/Compiz crash on Oneiric
      (lp: #827579)
    - Unity 4.8 Dash is no longer keyboard accessible (lp: #824966)
  * debian/control.in: updated nux requirement
  * Backported a leak fix and a fix for small screens from trunk

  [ Didier Roche ]
  * debian/control:
    - add libdee-dev to the unitycore dev package as fixed in trunk
      (put in the .pc file)
 -- Sebastien Bacher <email address hidden> Thu, 18 Aug 2011 18:43:12 +0200

Changed in unity (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Omer Akram (om26er) on 2011-08-19
Changed in unity:
status: Fix Committed → Fix Released
tags: added: testcase
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers