Karmic Alpha 6: devicekit-power-daemon crash with SIGPIPE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devicekit-power (Fedora) |
Fix Released
|
High
|
|||
devicekit-power (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: devkit-power
Karmic Alpha 6
acpi, sys and proc filesystems all detect battery status, but devkit and g-p-m do not.
It appears as if the issue stems from devkit-
$ devkit-power -d
Device: /org/freedeskto
native-path: (null)
power supply: no
updated: Thu Jan 1 07:30:00 1970 (1253640103 seconds ago)
has history: no
has statistics: no
unknown
Device: /org/freedeskto
native-path: /sys/devices/
power supply: yes
updated: Wed Sep 23 01:21:42 2009 (1 seconds ago)
has history: no
has statistics: no
line-power
online: yes
Daemon:
daemon-version: 011
can-suspend: yes
can-hibernate yes
on-battery: no
on-low-battery: no
lid-is-closed: no
lid-is-present: yes
ProblemType: Bug
Architecture: i386
Date: Wed Sep 23 01:13:13 2009
DistroRelease: Ubuntu 9.10
Package: gnome-power-manager 2.28.0-0ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-power-manager
Uname: Linux 2.6.31-10-generic i686
description: | updated |
summary: |
- Karmic Alpha 6: battery not detected by devkit-power + Karmic Alpha 6: devicekit-power-daemon crash with SIGPIPE |
Changed in devicekit-power (Fedora): | |
status: | Unknown → Confirmed |
Changed in devicekit-power (Fedora): | |
status: | Confirmed → In Progress |
Changed in devicekit-power (Fedora): | |
importance: | Unknown → High |
status: | In Progress → Fix Released |
I tried running devkit-power-daemon from a console, producing the attached log.
sudo /usr/lib/ devicekit- power/devkit- power-daemon 2>&1 | tee /tmp/dkp.log
The daemon appears to quit from this session by itself (crashes?) just after line 468 of dkp-device-supply.c , reading the battery status from /sys, and resetting the 'unknown' status counter. This happens the second time it passes the dkp-device_ supply_ refresh_ battery function.
Booting the machine from the Jaunty LiveCD image produces working battery status via Hal, however.