power statistics applet crashes after resume

Bug #822181 reported by Pawel Kot
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Pawel Kot (gnokii) wrote :
Revision history for this message
JDP (k-m34) wrote :

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
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.