Bug 462479

Summary: gnome-power-manager exits
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: gnome-power-managerAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: mclasen, rhughes, richard
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-15 15:53:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
verbose output none

Description David Woodhouse 2008-09-16 15:55:25 UTC
Created attachment 316859 [details]
verbose output

[dwmw2@macbook ~]$ gnome-power-manager --no-daemon 
** (gnome-power-manager:3576): CRITICAL **: gpm_cell_array_get_cell: assertion `GPM_IS_CELL_ARRAY (cell_array)' failed
** (gnome-power-manager:3576): CRITICAL **: gpm_cell_get_unit: assertion `cell != NULL' failed
[dwmw2@macbook ~]$



When I run it with --verbose, I don't get the above messages but it still exits. Log file attached.

This seems to be happening when I remove power, suspend, resume, add power. I'm not sure exactly what the trigger is. Hardware is MacBook Pro 4,1, booted with BIOS rather than EFI.

Comment 1 David Woodhouse 2008-09-17 01:29:21 UTC
TI:18:21:38	FI:gpm-cell.c	FN:hal_device_property_modified_cb,273
 - udi=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, key=battery.remaining_time, added=0, removed=0, finally=0
TI:18:21:38	FI:gpm-cell.c	FN:hal_device_property_modified_cb,273
 - udi=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, key=battery.charge_level.percentage, added=0, removed=0, finally=0
TI:18:21:38	FI:gpm-cell.c	FN:hal_device_property_modified_cb,325
 - ** EMIT: percent-changed: 35382080

** (gnome-power-manager:17062): CRITICAL **: gpm_cell_array_get_cell: assertion `GPM_IS_CELL_ARRAY (cell_array)' failed

** (gnome-power-manager:17062): CRITICAL **: gpm_cell_get_unit: assertion `cell != NULL' failed

Comment 2 David Woodhouse 2008-09-17 01:47:31 UTC
Oh, this is gnome-power-manager-2.23.6-1.fc10.x86_64 on F-9. It must have got updated when I updated BlueZ to the rawhide version.

Comment 3 Richard Hughes 2008-09-17 10:09:24 UTC
Should be fixed with the version now in rawhide, please can you confirm? Thanks dude.