← Back to team overview

desktop-packages team mailing list archive

[Bug 822181] Re: power statistics applet crashes after resume

 

This problem still occurs under Oneric 11.10. When selecting the battery panel in g-p-s without the battery installed it will immediately crash. It will also crash when the battery is removed while the battery panel is being displayed.
Terminal output from running gnome-power-statistics directly with sudo:

(gnome-power-statistics:17367): PowerManager-DEBUG: got filename: ac-adapter;
(gnome-power-statistics:17367): PowerManager-DEBUG: got filename: gpm-battery-missing;gpm-battery-000;battery-missing;

(gnome-power-statistics:17367): PowerManager-WARNING **: failed to select
(gnome-power-statistics:17367): PowerManager-DEBUG: selected row is: /org/freedesktop/UPower/devices/battery_BAT0
**
PowerManager:ERROR:gpm-statistics.c:416:gpm_device_state_to_localised_string: code should not be reached

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/822181

Title:
  power statistics applet crashes after resume

Status in “gnome-power-manager” package in Ubuntu:
  Confirmed

Bug description:
  After resume gnome-power-statistics has detected 2 batteries in the
  notebook (while it has only one -- it was correct before suspend).
  When selecting the non-existent battery in g-p-s window, it crashes.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gnome-power-manager 2.32.0-2ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
  Uname: Linux 2.6.38-10-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sun Aug  7 09:32:33 2011
  GnomeSessionIdleInhibited: No
  GnomeSessionInhibitors: None
  GnomeSessionSuspendInhibited: No
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  MachineType: Hewlett-Packard HP EliteBook 8540w
  PccardctlIdent:
   Socket 0:
     product info: "RICOH", "Bay8Controller", "", ""
     manfid: 0x0000, 0x0000
     function: 254 (unknown)
  PccardctlStatus:
   Socket 0:
     3.3V 16-bit PC Card
     Subdevice 0 (function 0) bound to driver "pata_pcmcia"
  ProcEnviron:
   LANGUAGE=pl_PL:en
   PATH=(custom, user)
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-10-generic root=UUID=e1ae4207-8aba-4238-b680-459cfadf7b6d ro quiet splash vt.handoff=7
  SourcePackage: gnome-power-manager
  UpgradeStatus: Upgraded to natty on 2011-05-14 (84 days ago)
  dmi.bios.date: 11/25/2010
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68CVD Ver. F.0E
  dmi.board.name: 1521
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 32.33
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68CVDVer.F.0E:bd11/25/2010:svnHewlett-Packard:pnHPEliteBook8540w:pvr:rvnHewlett-Packard:rn1521:rvrKBCVersion32.33:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook 8540w
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/822181/+subscriptions