compiz crashed with SIGSEGV in gnome_bg_load_from_preferences()

Bug #873761 reported by aj00200
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Invalid
High
Gord Allott
gnome-desktop
Fix Released
Medium
gnome-desktop3 (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

This error happened on my first start into 11.10

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: unity 4.22.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Oct 13 17:01:41 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/compiz
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcCmdline: compiz
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f84cec4e733 <gnome_bg_load_from_preferences+211>: cmpb $0x0,(%rax)
 PC (0x7f84cec4e733) ok
 source "$0x0" ok
 destination "(%rax)" (0x00000000) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: unity
StacktraceTop:
 gnome_bg_load_from_preferences () from /usr/lib/libgnome-desktop-3.so.2
 unity::BGHash::BGHash() () from /usr/lib/compiz/libunityshell.so
 UnityScreen::UnityScreen(CompScreen*) () from /usr/lib/compiz/libunityshell.so
 PluginClassHandler<UnityScreen, CompScreen, 0>::get(CompScreen*) () from /usr/lib/compiz/libunityshell.so
 CompPlugin::VTableForScreenAndWindow<UnityScreen, UnityWindow>::initScreen(CompScreen*) () from /usr/lib/compiz/libunityshell.so
Title: compiz crashed with SIGSEGV in gnome_bg_load_from_preferences()
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (0 days ago)
UserGroups: adm admin cdrom dialout lpadmin netdev plugdev sambashare www-data

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

StacktraceTop:
 gnome_bg_load_from_preferences (bg=0x17cfa00, settings=0x1f9d680) at gnome-bg.c:308
 unity::BGHash::BGHash (this=0x1f8b570) at /build/buildd/unity-4.22.0/plugins/unityshell/src/BGHash.cpp:69
 UnityScreen::UnityScreen (this=0x1f8b190, screen=0x1756650) at /build/buildd/unity-4.22.0/plugins/unityshell/src/unityshell.cpp:118
 getInstance (base=0x1756650) at /usr/include/compiz/core/pluginclasshandler.h:159
 PluginClassHandler<UnityScreen, CompScreen, 0>::get (base=0x1756650) at /usr/include/compiz/core/pluginclasshandler.h:196

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
Changed in unity (Ubuntu):
importance: Medium → Critical
Omer Akram (om26er)
visibility: private → public
Changed in unity:
importance: Undecided → High
assignee: nobody → Mirco Müller (macslow)
Mirco Müller (macslow)
Changed in unity:
milestone: none → 5.2.0
Changed in unity:
milestone: 5.2.0 → 5.0.0
Changed in unity:
milestone: 5.0.0 → 5.2.0
Omer Akram (om26er)
Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
importance: Critical → High
assignee: nobody → Mirco Müller (macslow)
Changed in unity:
milestone: 5.2.0 → 5.4.0
Revision history for this message
Sven Baars (sbte) wrote :

Relevant commit in gnome-desktop:

http://git.gnome.org/browse/gnome-desktop/commit/libgnome-desktop/gnome-bg.c?id=7f3e3d5200618d66ebba0654517affc012cef875

Apparently

tmp = g_settings_get_string (settings, BG_KEY_PICTURE_URI);

is NULL.

Gord Allott (gordallott)
Changed in unity:
assignee: Mirco Müller (macslow) → Gord Allott (gordallott)
Changed in unity (Ubuntu):
assignee: Mirco Müller (macslow) → Gord Allott (gordallott)
Revision history for this message
Gord Allott (gordallott) wrote :

Patch sent upstream

Changed in unity:
status: Triaged → Invalid
Changed in unity (Ubuntu):
status: Triaged → Invalid
Changed in gnome-desktop:
importance: Unknown → Medium
status: Unknown → New
Changed in gnome-desktop:
status: New → Fix Released
Martin Pitt (pitti)
affects: unity (Ubuntu) → gnome-desktop3 (Ubuntu)
Changed in gnome-desktop3 (Ubuntu):
assignee: Gord Allott (gordallott) → Martin Pitt (pitti)
status: Invalid → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-desktop3 - 3.3.90-0ubuntu1

---------------
gnome-desktop3 (3.3.90-0ubuntu1) precise; urgency=low

  * New upstream release:
    - Fix crash in gnome_bg_load_from_preferences. (LP: #873761)
  * Add 01_fix_rt_linking.patch: Add missing linking with -lrt for
    clock_gettime().
 -- Martin Pitt <email address hidden> Wed, 22 Feb 2012 08:29:17 +0100

Changed in gnome-desktop3 (Ubuntu):
status: Fix Committed → Fix Released
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.