Not a lot of success with this. There appear to be no debug symbols for
libgudev-1.0.0, or more to the point devicekit-power-daemon itself.

The daemon crashes after it tries to read the battery state with:

 - No updates on supply
/org/freedesktop/DeviceKit/Power/devices/battery_BAT0 for 30 seconds;
forcing update
TI:01:20:48    TH:0x8069bf8    FI:dkp-history.c
FN:dkp_history_schedule_save,587
 - deferring as others queued
TI:01:20:48    TH:0x8069bf8    FI:dkp-history.c
FN:dkp_history_schedule_save,587
 - deferring as others queued
TI:01:20:48    TH:0x8069bf8    FI:dkp-device.c
FN:dkp_device_perhaps_changed_cb,863
 - emitting changed on
/sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
TI:01:20:48    TH:0x8069bf8    FI:dkp-device.c
FN:dkp_device_perhaps_changed_cb,865
 - emitting device-changed on
/sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
TI:01:20:49    TH:0x8069bf8    FI:dkp-device-supply.c
FN:dkp_device_supply_refresh_battery,521
 - fixing up unknown 99.196429

Program exited with code 01.
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.


On Fri, Oct 2, 2009 at 2:35 AM, Martin Pitt <[email protected]> wrote:

> Thanks for your report. I really doubt that it's due to the negative
> value, since (1) a SIGPIPE is very unlikey in this case, and (2) it
> crashes deep in D-BUS code which usually doesn't care about particular
> message values.
>
> Unfortunately the stack trace isn't very clear. You seem to be able to
> reproduce this reliably, any chance you could install some debugging
> symbols and use gdb again? https://wiki.ubuntu.com/DebuggingProgramCrash
> describes how to set up the debug symbol repository. You'll need these
> packages:
>
>  sudo apt-get install devicekit-power-dbgsym libdbus-1-3-dbgsym
> libdbus-glib-1-2-dbgsym libdevkit-power-gobject1-dbgsym
> libgudev-1.0-0-dbgsym libglib2.0-0-dbgsym
>
> Thanks!
>
> Or even easier, the dk-power backend crash should be caught by Apport,
> and you should get offered to file  a bug about it. This will
> automatically get post-processed to get a fully symbolic stack trace.
>
> ** Changed in: devicekit-power (Ubuntu)
>       Status: New => Incomplete
>
> --
> Karmic Alpha 6: devicekit-power-daemon crash with SIGPIPE
> https://bugs.launchpad.net/bugs/434771
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “devicekit-power” package in Ubuntu: Incomplete
>
> 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-power-daemon, and
> gnome-power-manager is just reflecting that lack of status.
>
> $ devkit-power -d
> Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0
>  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/freedesktop/DeviceKit/Power/devices/line_power_AC0
>  native-path:
>  /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0
>  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
> ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
> SourcePackage: gnome-power-manager
> Uname: Linux 2.6.31-10-generic i686
>


** Attachment added: "gdb-devicekit-power-daemon.txt"
   http://launchpadlibrarian.net/33138468/gdb-devicekit-power-daemon.txt

-- 
Karmic Alpha 6: devicekit-power-daemon crash with SIGPIPE
https://bugs.launchpad.net/bugs/434771
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to