Bug 225187 - Crash on startup after recent yum update
Crash on startup after recent yum update
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-power-manager (Show other bugs)
rawhide
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: David Zeuthen
:
Depends On:
Blocks: FC7Blocker
  Show dependency treegraph
 
Reported: 2007-01-29 12:50 EST by Pete Zaitcev
Modified: 2013-03-05 22:49 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-25 15:52:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bug-buddy log (8.26 KB, text/plain)
2007-01-29 12:52 EST, Pete Zaitcev
no flags Details
bug-buddy log (5.83 KB, text/plain)
2007-01-29 15:41 EST, Pete Zaitcev
no flags Details
bug-buddy with all debuginfos (7.37 KB, text/plain)
2007-01-30 12:23 EST, Pete Zaitcev
no flags Details

  None (edit)
Description Pete Zaitcev 2007-01-29 12:50:56 EST
Description of problem:

On every startup, bug-buddy dialog appears because gnome-power-manager
crashes. This started to happen after an update.

Version-Release number of selected component (if applicable):

gnome-power-manager-2.17.90-1.fc7

How reproducible:

Happens every time on login, but not known how to reproduce on demand

Steps to Reproduce:
1. Log out and log in
  
Actual results:

Crash

Expected results:

No crash

Additional info:

Last known good version is 2.17.4-1.fc7
Comment 1 Pete Zaitcev 2007-01-29 12:52:17 EST
Created attachment 146842 [details]
bug-buddy log

Unfortunately, there's no debuginfo. Is there an easy way to install it?
Comment 2 Richard Hughes 2007-01-29 14:47:56 EST
yum install gnome-power-manager-debuginfo when you've enabled the debuginfo repo
in /etc/yum.repos.d? THe answer to your last question is no, and it should be
really easy.

Could you try SVN? This sounds like http://bugzilla.gnome.org/show_bug.cgi?id=400654
Comment 3 Pete Zaitcev 2007-01-29 15:40:28 EST
Ah yes, thanks. It turned out that our mirrorlist does not support debuginfo,
but entering the baseurl by hand works, so I have a better backtrace now.

But it seems not to have anything to with icons, and dbus is involved.
Comment 4 Pete Zaitcev 2007-01-29 15:41:37 EST
Created attachment 146864 [details]
bug-buddy log
Comment 5 Richard Hughes 2007-01-29 15:49:53 EST
Looks like dbus went pop. Could you install the dbus and dbus-glib debug info,
and also try to run "gnome-power-manager --verbose --no-daemon". Many thanks.
Comment 6 Pete Zaitcev 2007-01-30 12:23:44 EST
Created attachment 146932 [details]
bug-buddy with all debuginfos
Comment 7 Pete Zaitcev 2007-01-30 12:25:49 EST
The program does not crash when run from command line.

[zaitcev@simbelmyne ~]$ gnome-power-manager --verbose --no-daemon
[gpm_debug_init] gpm-debug.c:217 (09:23:02):     Verbose debugging enabled
[gpm_proxy_connect] gpm-proxy.c:99 (09:23:02):   emitting proxy-status TRUE:
org.freedesktop.Hal
[gpm_proxy_connect] gpm-proxy.c:99 (09:23:02):   emitting proxy-status TRUE:
org.freedesktop.Hal
*** WARNING ***
[gpm_ac_adapter_init] gpm-ac-adapter.c:204 (09:23:02):   No devices of
capability ac_adapter
[gpm_control_init] gpm-control.c:833 (09:23:02):         Using a supressed
policy timeout of 5 seconds
[gpm_refcount_add] gpm-refcount.c:101 (09:23:02):        refcount now: 1
[gpm_refcount_add] gpm-refcount.c:102 (09:23:02):        non zero, so sending
REFCOUNT_ADDED
[gpm_power_refcount_added] gpm-power.c:138 (09:23:02):   Data is now not trusted
[gpm_hash_new_kind_cache] gpm-power.c:1712 (09:23:02):   creating cache
[gpm_hash_new_device_cache] gpm-power.c:1746 (09:23:02):         creating cache
[gpm_warning_init] gpm-warning.c:260 (09:23:02):         Using per-time
notification policy
[gpm_proxy_connect] gpm-proxy.c:99 (09:23:02):   emitting proxy-status TRUE:
org.gnome.ScreenSaver
[gpm_idle_set_check_cpu] gpm-idle.c:306 (09:23:02):      Setting the CPU load
check to 0
[gpm_manager_init] gpm-manager.c:1549 (09:23:02):        creating new inhibit
instance
[gpm_manager_init] gpm-manager.c:1560 (09:23:02):        creating new control
instance
[gpm_manager_init] gpm-manager.c:1570 (09:23:02):        creating new tray icon
[gpm_manager_init] gpm-manager.c:1579 (09:23:02):        initialising info
infrastructure
[gpm_hal_is_laptop] gpm-hal.c:1194 (09:23:02):   This machine is not identified
as a laptop.system.formfactor is desktop.
[gpm_hal_is_laptop] gpm-hal.c:1194 (09:23:02):   This machine is not identified
as a laptop.system.formfactor is desktop.
[gpm_hal_enable_power_save] gpm-hal.c:1474 (09:23:02):   We are not a laptop, so
not even trying
[gpm_idle_set_system_timeout] gpm-idle.c:357 (09:23:02):         Setting system
idle timeout: 0
[get_stock_id] gpm-tray-icon.c:680 (09:23:02):   Trying CRITICAL icon: primary,
ups, mouse, keyboard
[get_stock_id] gpm-tray-icon.c:704 (09:23:02):   Trying CHARGING icon: primary, ups
[get_stock_id] gpm-tray-icon.c:721 (09:23:02):   Trying PRESENT icon: primary, ups
[get_stock_id] gpm-tray-icon.c:736 (09:23:02):   Using fallback
[gpm_tray_icon_sync] gpm-tray-icon.c:763 (09:23:02):     Going to use stock id:
gpm-ac-adapter
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:155 (09:23:02):    
emitting icon-changed
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:161 (09:23:02):     Setting
icon to gpm-ac-adapter
[gpm_tray_icon_sync] gpm-tray-icon.c:774 (09:23:02):     emitting
description-changed
[gpm_refcount_auto_decrement] gpm-refcount.c:75 (09:23:03):      zero, so
sending REFCOUNT_ZERO
[gpm_power_refcount_zero] gpm-power.c:123 (09:23:03):    Data is now trusted
[get_stock_id] gpm-tray-icon.c:680 (09:23:03):   Trying CRITICAL icon: primary,
ups, mouse, keyboard
[get_stock_id] gpm-tray-icon.c:704 (09:23:03):   Trying CHARGING icon: primary, ups
[get_stock_id] gpm-tray-icon.c:721 (09:23:03):   Trying PRESENT icon: primary, ups
[get_stock_id] gpm-tray-icon.c:736 (09:23:03):   Using fallback
[gpm_tray_icon_sync] gpm-tray-icon.c:763 (09:23:03):     Going to use stock id:
gpm-ac-adapter
[gpm_tray_icon_set_image_from_stock] gpm-tray-icon.c:155 (09:23:03):    
emitting icon-changed
[gpm_tray_icon_sync] gpm-tray-icon.c:774 (09:23:03):     emitting
description-changed
[gpm_power_get_status_summary] gpm-power.c:1436 (09:23:03):      tooltip:
Computer is running on AC power
[battery_status_changed_primary] gpm-manager.c:954 (09:23:03):   Laptop battery
is not discharging

Comment 8 Pete Zaitcev 2007-01-30 12:30:58 EST
Actually, I tried it a few times, and it looks like some kind of a race.
If I run gnome-power-manager --verbose --no-daemon as requested, sometimes
it works, sometimes it exits with return code 1. It's random. If I run it
without arguments, sometimes it works, sometimes crashes with the same
traceback.
Comment 9 Richard Hughes 2007-02-01 15:24:29 EST
Could you try SVN trunk from a few minutes ago please?
Comment 10 Pete Zaitcev 2007-02-05 03:04:39 EST
Unfortunately, building from the source is not easily done here, so I'll have
to wait until it turns around through David.
Comment 11 Will Woods 2007-03-24 15:37:19 EDT
There's been a few weeks' worth of updates - does this work in current rawhide?
Comment 12 Pete Zaitcev 2007-03-25 15:52:56 EDT
Seems working now.
gnome-power-manager-2.18.0-1.fc7

Note You need to log in before you can comment on or make changes to this bug.