| Summary: | gpm segfaults if started with no power plugged in | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lennart Poettering <lpoetter> |
| Component: | gnome-power-manager | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | rhughes |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-26 09:47:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Lennart Poettering
2011-02-08 18:00:37 UTC
up_device_get_object_path (device) must be returning NULL, which means the composite device doesn't have a object path. In this instance, I'm not sure what to return as the object path, but I suspect "/org/gnome/PowerManager" is the sane thing to do as we can't return a "nothing" value in DBus yet.
For the moment, I've committed this in git master. Any chance you could give it a whirl in jhbuild before I build this for Fedora? Thanks dude.
commit fe3a80eca02f7b8ffcc77420c9f841c16c69ba06
Author: Richard Hughes <richard>
Date: Wed Feb 9 09:12:38 2011 +0000
Never return NULL for the object path in GetPrimaryDevice for the composite battery device. Fixes rh#676055
I tested this for you on IRC a while back, and it seems to have worked. I'd be really happy if you could upload a fixed version to F15. I want my battery status back! |