libunity9 should depend on unity-common

Bug #1055019 reported by Dmitry Shachnev on 2012-09-23
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
libunity (Ubuntu)
Nominated for Raring by Dmitry Shachnev

Bug Description

unity-mail has this line:

favorites = Unity.LauncherFavorites.get_default().enumerate_ids()

Calling get_default() makes it crash when unity-common (which provides com.canonical.Unity.gschema.xml) is not installed.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: unity-mail 1.2
ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
Uname: Linux 3.5.0-15-generic i686
ApportVersion: 2.5.2-0ubuntu4
Architecture: i386
Date: Sun Sep 23 17:33:00 2012
ExecutablePath: /usr/share/unity-mail/unity-mail
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
InterpreterPath: /usr/bin/python3.2mu
PackageArchitecture: all
ProcCmdline: /usr/bin/python3.2 /usr/bin/unity-mail
Signal: 5
SourcePackage: unity-mail
 ?? () from /usr/lib/i386-linux-gnu/
 ?? () from /usr/lib/i386-linux-gnu/
 g_object_newv () from /usr/lib/i386-linux-gnu/
 g_object_new_valist () from /usr/lib/i386-linux-gnu/
 g_object_new () from /usr/lib/i386-linux-gnu/
Title: unity-mail crashed with signal 5 in g_object_newv()
UpgradeStatus: Upgraded to quantal on 2012-09-23 (0 days ago)
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev nopasswdlogin plugdev sambashare tape video

Related branches

Dmitry Shachnev (mitya57) wrote :
visibility: private → public

 g_settings_set_property (object=0x9ea6cc8, prop_id=2, value=0xbfb3ffec, pspec=0x9bd82a8) at /build/buildd/glib2.0-2.33.14/./gio/gsettings.c:492
 object_set_property (nqueue=0x9eeb3e0, value=0x9ef2804, pspec=0x9bd82a8, object=0x9ea6cc8) at /build/buildd/glib2.0-2.33.14/./gobject/gobject.c:1357
 g_object_constructor (type=166652400, n_construct_properties=<optimized out>, construct_params=0x9e15708) at /build/buildd/glib2.0-2.33.14/./gobject/gobject.c:1868
 g_object_newv (object_type=object_type@entry=166652400, n_parameters=n_parameters@entry=1, parameters=parameters@entry=0x9ef2800) at /build/buildd/glib2.0-2.33.14/./gobject/gobject.c:1718
 g_object_new_valist (object_type=object_type@entry=166652400, first_property_name=first_property_name@entry=0xb6e01913 "schema-id", var_args=0xbfb401a0 "\353\024\f\265", var_args@entry=0xbfb40198 "\353\024\f\265") at /build/buildd/glib2.0-2.33.14/./gobject/gobject.c:1835

Changed in unity-mail (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
summary: - unity-mail crashed with signal 5 in g_object_newv()
+ libunity9 should depend on unity-common
affects: unity-mail (Ubuntu) → libunity (Ubuntu)
description: updated
Changed in libunity (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libunity - 6.8.0-0ubuntu1

libunity (6.8.0-0ubuntu1) quantal-proposed; urgency=low

  [ Didier Roche ]
  * Install the new schema file
  * add intltool as a build-dep

  [ Dmitry Shachnev ]
  * Make libunity9 depend on unity-common >= 6.0.0-0ubuntu3 (LP: #1055019).

  [ Timo Jyrinki ]
  * New upstream release.
    - Converts white space to underscores when trying to export the mpris
      bus (LP: #1031933)
    - Added size hint to AnnotatedIcon (LP: #1052513)
    - Add remote search disabling option support to libunity for lenses to
      consume it (LP: #1054746)
    - Make sender wrap the title property and set the subtitle in the
      constructor. (LP: #1058198)
    - Allow null preview argument in preview_ready signal by declaring it
      with "?" (LP: #1060281)
  * debian/libunity9.symbols:
    - update symbols to include the new APIs
 -- Timo Jyrinki <email address hidden> Wed, 03 Oct 2012 09:22:42 +0300

Changed in libunity (Ubuntu):
status: Fix Committed → Fix Released

this "fix" pulls in Compiz, libwnck and unity-common for users on EVERY DE who have

- brasero
- empathy
- deja-dup
- gnome-sushi
- nautilus
- shotwell
- sound-juicer
(- surely other GNOME packages, too!) installed;

for example, this affects users of the upcoming GNOME Shell Remix who do NOT need/want/use compiz or unity.

Dmitry Shachnev (mitya57) wrote :

Oops, I didn't notice that unity-common pulls in compiz :-(

You are right of course, this change should be reverted for quantal. For quantal+1, the gsettings schema should be moved to a more "neutral" package (like libunity9 itself).

seb128: can you revert my change please?

Changed in libunity (Ubuntu):
status: Fix Released → Triaged
Sebastien Bacher (seb128) wrote :

the revert is being worked on bug #1062099 (they also made the code handle the missing schemas)

Changed in libunity (Ubuntu):
status: Triaged → Fix Released
Adolfo Jayme (fitojb) on 2014-05-04
no longer affects: libunity (Ubuntu Quantal)
Changed in libunity:
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers