← Back to team overview

papercuts-ninja team mailing list archive

[Bug 1195481] Re: [power]: gnome-control-center crashes if indicator-power is not installed in Unity

 

** Description changed:

+ [ Description ]
+ 
+ gnome-control-center's power panel crashes when indicator-power isn't
+ installed.
+ 
+ [ Test case ]
+ 
  1. Uninstall indicator-power
  2. Open System Settings and click Power
  3. System Settings crashes
+ 
+ At 3 it shouldn't crash. If you have indicator-power installed, you
+ should see the option to configure whether it shows.
+ 
+ [ Regression potential ]
+ 
+ This adds some new code to check if the GSettings schema is installed, since
+ that's a reliable way to check for indicator-power's presence, and is what the
+ code modifies. It also makes the option appear in DEs other than Unity.
+ 
+ There's a chance that the GSettings schema-detection work could be wrong. It
+ also wouldn't hurt to check non-Unity environments such as a gnome-panel
+ session.
+ 
+ [ Original report ]
  
  I see that unity recommends indicator-power; let's make it a depends
  instead.
  
  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center 1:3.6.3-0ubuntu29
  ProcVersionSignature: Ubuntu 3.9.0-7.15-generic 3.9.7
  Uname: Linux 3.9.0-7-generic x86_64
  NonfreeKernelModules: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs reiserfs ext2 overlayfs nls_utf8 isofs pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv parport_pc ppdev rfcomm bnep dm_crypt intel_powerclamp coretemp kvm_intel kvm joydev crc32_pclmul ghash_clmulni_intel arc4 cryptd ath9k dm_multipath scsi_dh ath9k_common ath9k_hw uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core ath snd_hda_codec_hdmi snd_hda_codec_conexant mac80211 snd_hda_intel videodev ath3k btusb snd_hda_codec bluetooth cfg80211 snd_hwdep snd_pcm psmouse microcode toshiba_acpi toshiba_bluetooth serio_raw sparse_keymap snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd mei soundcore lpc_ich mac_hid lp parport btrfs xor zlib_deflate raid6_pq libcrc32c dm_mirror dm_region_hash dm_log ums_realtek usb_storage i915 i2c_algo_bit drm_kms_helper drm atl1c ahci libahci wmi video
  ApportVersion: 2.10.2-0ubuntu3
  Architecture: amd64
  Date: Thu Jun 27 17:42:04 2013
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2013-06-14 (13 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
  MarkForUpload: True
  ProcCmdline: gnome-control-center
  Signal: 5
  SourcePackage: gnome-control-center
  StacktraceTop:
-  ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
-  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
-  g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
-  g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
-  ?? () from /usr/lib/control-center-1/panels/libpower.so
+  ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
+  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  ?? () from /usr/lib/control-center-1/panels/libpower.so
  Title: [power]: gnome-control-center crashed with signal 5 in g_object_new_valist()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sbuild sudo
  usr_lib_gnome-control-center:
-  activity-log-manager-control-center 0.9.5-0ubuntu1
-  deja-dup                            27.3.1-0ubuntu1
-  gnome-control-center-signon         0.1.7~+13.10.20130625-0ubuntu1
-  gnome-control-center-unity          1.3daily13.06.14.1-0ubuntu1
-  indicator-datetime                  12.10.3daily13.06.19-0ubuntu1
+  activity-log-manager-control-center 0.9.5-0ubuntu1
+  deja-dup                            27.3.1-0ubuntu1
+  gnome-control-center-signon         0.1.7~+13.10.20130625-0ubuntu1
+  gnome-control-center-unity          1.3daily13.06.14.1-0ubuntu1
+  indicator-datetime                  12.10.3daily13.06.19-0ubuntu1

-- 
You received this bug notification because you are a member of Paper
Cuts Ninja, which is a bug assignee.
https://bugs.launchpad.net/bugs/1195481

Title:
  [power]: gnome-control-center crashes if indicator-power is not
  installed in Unity

Status in One Hundred Paper Cuts:
  Confirmed
Status in “gnome-control-center” package in Ubuntu:
  In Progress
Status in “unity” package in Ubuntu:
  Invalid

Bug description:
  [ Description ]

  gnome-control-center's power panel crashes when indicator-power isn't
  installed.

  [ Test case ]

  1. Uninstall indicator-power
  2. Open System Settings and click Power
  3. System Settings crashes

  At 3 it shouldn't crash. If you have indicator-power installed, you
  should see the option to configure whether it shows.

  [ Regression potential ]

  This adds some new code to check if the GSettings schema is installed, since
  that's a reliable way to check for indicator-power's presence, and is what the
  code modifies. It also makes the option appear in DEs other than Unity.

  There's a chance that the GSettings schema-detection work could be wrong. It
  also wouldn't hurt to check non-Unity environments such as a gnome-panel
  session.

  [ Original report ]

  I see that unity recommends indicator-power; let's make it a depends
  instead.

  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: gnome-control-center 1:3.6.3-0ubuntu29
  ProcVersionSignature: Ubuntu 3.9.0-7.15-generic 3.9.7
  Uname: Linux 3.9.0-7-generic x86_64
  NonfreeKernelModules: ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs reiserfs ext2 overlayfs nls_utf8 isofs pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv parport_pc ppdev rfcomm bnep dm_crypt intel_powerclamp coretemp kvm_intel kvm joydev crc32_pclmul ghash_clmulni_intel arc4 cryptd ath9k dm_multipath scsi_dh ath9k_common ath9k_hw uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core ath snd_hda_codec_hdmi snd_hda_codec_conexant mac80211 snd_hda_intel videodev ath3k btusb snd_hda_codec bluetooth cfg80211 snd_hwdep snd_pcm psmouse microcode toshiba_acpi toshiba_bluetooth serio_raw sparse_keymap snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd mei soundcore lpc_ich mac_hid lp parport btrfs xor zlib_deflate raid6_pq libcrc32c dm_mirror dm_region_hash dm_log ums_realtek usb_storage i915 i2c_algo_bit drm_kms_helper drm atl1c ahci libahci wmi video
  ApportVersion: 2.10.2-0ubuntu3
  Architecture: amd64
  Date: Thu Jun 27 17:42:04 2013
  ExecutablePath: /usr/bin/gnome-control-center
  InstallationDate: Installed on 2013-06-14 (13 days ago)
  InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130613)
  MarkForUpload: True
  ProcCmdline: gnome-control-center
  Signal: 5
  SourcePackage: gnome-control-center
  StacktraceTop:
   ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   ?? () from /usr/lib/control-center-1/panels/libpower.so
  Title: [power]: gnome-control-center crashed with signal 5 in g_object_new_valist()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sbuild sudo
  usr_lib_gnome-control-center:
   activity-log-manager-control-center 0.9.5-0ubuntu1
   deja-dup                            27.3.1-0ubuntu1
   gnome-control-center-signon         0.1.7~+13.10.20130625-0ubuntu1
   gnome-control-center-unity          1.3daily13.06.14.1-0ubuntu1
   indicator-datetime                  12.10.3daily13.06.19-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1195481/+subscriptions