gnome-power-manager crashes all 5-10 minutes again

Bug #526041 reported by Majestyx
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Application Indicators
Fix Released
Undecided
Unassigned
gnome-power
Invalid
Undecided
Unassigned
indicator-application (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-power-manager

var/log/syslog an daemon.log also shows by gnome-power-manager (icon) crash

Feb 22 22:46:25 tuxtop AptDaemon: INFO: Quiting due to inactivity
Feb 22 22:46:25 tuxtop AptDaemon: INFO: Shutdown was requested

ProblemType: Bug
Architecture: i386
Date: Mon Feb 22 22:43:17 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: gnome-power-manager 2.29.2-0ubuntu7
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: gnome-power-manager
Uname: Linux 2.6.32-14-generic i686

Related branches

Revision history for this message
Majestyx (majestyx) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

If you are using Ubuntu with the Gnome desktop environment - launch nautilus and navigate to your /var/crash directory and double click on the crash report you wish to submit.
If you are using Kubuntu or Xubuntu you can file the crash using /usr/share/apport/apport-qt --crash-file=/var/crash/_my_crash_report.crash in a terminal - where _my_crash_report.crash is the crash you would like to report.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in gnome-power-manager (Ubuntu):
status: New → Invalid
Majestyx (majestyx)
Changed in gnome-power-manager (Ubuntu):
status: Invalid → In Progress
Changed in gnome-power-manager (Ubuntu):
status: In Progress → Invalid
Revision history for this message
Majestyx (majestyx) wrote :

hello cris and all readers,

>If you are running the Ubuntu Stable Release
i running lucyd lynx IMHO still alpha2 because, apport is enable (set to "1") like here: https://wiki.kubuntu.org/Apport

>navigate to your /var/crash directory and double click on the crash
ok, done. but in /var/crash (directory) i found a file gnome-panel-applet (file is attached)

i re open this bug because the gnome power applet crashes along. at the time i have no gnome power applet an also no visual feedback for my battery (e.g. charging level ) if the battery applet comes back the nm-applet and the battery applet slight away. ( i attach a second screen shot) after many crashes and slights the battery applet depress the other icons in the panel.

Revision history for this message
Majestyx (majestyx) wrote :

the screen shot from the panel

Changed in gnome-power-manager (Ubuntu):
status: Invalid → New
Revision history for this message
Majestyx (majestyx) wrote :

pls, wait untill my work is ready - thanks!

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

I have similar behaviour of "migrating" applet in the notification area. As I had also the "menu not shown" bug, I did wait for the 2.29.2-0ubuntu9 release to see if the problem was just one. The menu of the applet is now back, but I have still the "on and off" behaviour of the applet.
gnome-power-manager keeps running, but the battery icon in the notification area appear and disappear. Every time it pops up again, it moves the notification area boundary on the top panel some pixels to the left (vanilla gnome desktop). Yesterday evening, after some hours of work, the notification area eventually "ate" up the whole top panel space Seems each time it receives a signal from the battery, the indicator does not remember where it was placed and places itself some pixels on the left.

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

image after 15 minutes.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Please don't attach crash files to bug reports as they are difficult to work with (as explained in my last comment). They also might contain private information. Please follow my instructions in comment 2 to submit the crash report correctly

Changed in gnome-power-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

No crash here on ubuntu lucid amd64. Application is NOT crashing on my system, it is just the battery icon "migrating" to the left and appearing and disappearing. No logs in either logfile in /var/log or .xsession-errors. I am left to what my eyes can report. Even no output if I run gnome-power-manager from terminal.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Graziano - then your issue is not related at all. This bug is specifically about a crashing application, so you have a different issue

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

More on this: I have checked refresh time for battery check, and it is 30 seconds. Actually the PM applet appears for 30 seconds, than disappears for the next 30 seconds. When it appears again, it is misplaced on the left, moving the notification area boundary. As my screen is big (1680x1050) it takes time to "migrate" to the left, but I can report that after say 12 hours the notification area boundary starts eating icons on the right side of the panel. I would change the report name from "crash" to "strange behaviour" just to clean up problems related to the presence of crash reports.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

No, the original reporter is clearly experiencing a crash so I'm not going to change the title. You have a completely separate problem, please stop mixing different issues on the same bug report.

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Well, the crashing application of Majestyx was not gnome power manager, but the panel screenshot he attached seems very close to the behaviour I see. I am left to if open a new bug to have developers receive the relevant information or assume that they are reading this thread even if has a misleading name and not relevant crash information.

Revision history for this message
Majestyx (majestyx) wrote :

hello all,
dear chris,

i think also as Graziano - i have NO MORE or other crashfiles. sorry. look here pls. #3 Graziano describes exactly my problem.
if you like, i change the title.

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Possibly same issue: bug #527494

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

After six hours...

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could you please get some debug output from gpm when this happens then? To do this, please run "killall gnome-power-manager && gnome-power-manager --verbose 2>&1 | tee ~/gpm.log", and attach the log file here after recreating the problem

Changed in gnome-power-manager (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: Invalid → Incomplete
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Oh right, the gap gets bigger each time the status icon disappears and reappears. Is your problem just with this gap? (I think I know what causes that anyway). You're not using the indicator-applet there are you?

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Sure. Here You are. It has undergone some loops on/off in the sent period.

Notice: After killing gnome-power-manager, the notification area reverted to the correct size, and started expanding again after the gnome-power-manager restart, that's why I guessed it's GPM fault.

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Sorry, didn't know You already traced the issue, and the images were just to let You calculate the "speed" it happens. (one pixel each time or more) and let You understand that on smaller screens this can affect also system functionality (not mine, as I am testing an unstable system and I am aware of this), but for normal users of the LTS final 10.04 which will report this as "everything disappeared from top panel! please help me! Ubuntu is full of bugs!" and the sort.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

By default, most users won't ever see this issue as it only affects the fallback notification icon (which is what you are using). We use the indicator applet for displaying application indicators normally, and that doesn't have this issue.

Anyway, reassigning to the correct package. Could you please update the title / description with something more appropriate?

Thanks

affects: gnome-power-manager (Ubuntu) → indicator-application (Ubuntu)
Changed in indicator-application (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Seems indicator applet is installed:

indicator-applet 0.3.2-0ubuntu3

(installed on upgrading gnome-desktop?)

and that it is running:

00:00:00 /usr/lib/indicator-applet/indicator-applet-session --oaf-activate-iid=OAFIID:GNOME_FastUserSwitchApplet_Factory --oaf-ior-fd=28
00:00:00 /usr/lib/indicator-me/indicator-me-service
00:00:00 /usr/lib/indicator-session/indicator-session-service

Ted Gould (ted)
Changed in indicator-application:
milestone: none → 0.0.14
Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

I have tried killing all indicator applet related processes, but no luck. PM icon have same behaviour.

Ted Gould (ted)
Changed in indicator-application:
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-application - 0.0.14-0ubuntu1

---------------
indicator-application (0.0.14-0ubuntu1) lucid; urgency=low

  * Upstream release 0.0.14
    ∘ Fix mono bindings to include proper metadata (LP: #526620)
    ∘ Send connection changed signal when the proxy is created
      and destroyed (LP: #527082)
    ∘ Hide the fallback status icon before unrefing it. (LP: #526041)
    ∘ Increase dbus-glib version check to 0.82
    ∘ Handle menu layout changes and visibility changes better.
    ∘ Improve testing stability
    ∘ Read menu sensitivity on startup.
    ∘ Handle null strings when evaluating whether we have an
      attention icon.
    ∘ Remove dbus objects when we fallback
    ∘ Disconnect client_menu_changed signal handlers on cleanup.
    ∘ Handle cases where the menu gets unset on updates.
    ∘ Fix custom labels on stock items.
    ∘ Adds support for submenus
 -- Ted Gould <email address hidden> Thu, 25 Feb 2010 15:22:28 -0600

Changed in indicator-application (Ubuntu):
status: Triaged → Fix Released
Majestyx (majestyx)
Changed in indicator-application:
status: Fix Released → New
Revision history for this message
Majestyx (majestyx) wrote :

hello & good morning,

i have install. the indicator-application (0.0.14-0ubuntu1) but, the problem remains constant. now the network icon "walk" to the right side of the Panel - if the network icon comes to the desktop switcher applet - the network icon "crashes" too (not only the batererie icon. but this goes continuing to the left side on the panel. look the two shots

Revision history for this message
Majestyx (majestyx) wrote :

my second shot after 20min

Revision history for this message
Majestyx (majestyx) wrote :

hello again,

i have now do the command from #17 : killall gnome-power-manager && gnome-power-manager --verbose 2>&1 | tee ~/gpm.log
log file is attached

Revision history for this message
w1zard (pacehead) wrote :

I agree this bug appears to relate to gnome-power-manager and not indicator-application.

I am seeing the same 30-second icon addition and refresh as described by others. However, as a user of LXDE/Lubuntu, I do not have indicator-application installed, yet the bug still exists.

As above, my verbose output of gnome-power-manager raises the following errors:

(gnome-power-manager:1832): GLib-GObject-WARNING **: invalid cast from `GtkStatusIcon' to `GtkWidget'

(gnome-power-manager:1832): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

These two errors repeat every time a new blank icon is created in the system tray.

Hopefully this can be related back to an issue in gnome-power-manager, as it does seem to be caused by this.

Revision history for this message
Majestyx (majestyx) wrote :

hello w1zard and readers,

i think it was time to re- open this bug?! status is: "Fix Released "
and posting #28 shows, the titel "gnome-power-manager" is right.

 - by the way, this bug is god for my battery. since i can not set "ignore" low battery, i loose capacity. now i win approx. 15% more capacity ;)

 regards

Revision history for this message
w1zard (pacehead) wrote :

Confirmed as a problem with gnome-power-manager 2.29.2 on my system. Fixed by rolling back to version 2.28.3. Downloaded 'gnome-power-manager_2.28.3-3_i386.deb' from here:

http://ftp.debian.org/debian/pool/main/g/gnome-power-manager/

Forced the install by using a terminal (GDebi refused to install an older version):

sudo dpkg -i gnome-power-manager_2.28.3-3_i386.deb

Battery status icons are now correct and the 'blank icons' no longer appear. Most telling, however, is the lack of error messages when launching gnome-power-manager from a command line. The error messages detailed in comment #28 are gone.

I think this needs reporting upstream, as there is no bug contact for gnome-power-manager on Launchpad.

Changed in indicator-application (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Majestyx (majestyx) wrote :

hello again w1zard, thanks for your posting & help. yes i confirm. if i downgrade to gnome-power-manager_2.28.3-3_i386.deb
 the "bug was solved" - but, the update-manager takes the new version if i make lucid-updates. now, i "log in" to the version-number. in synaptic. whereby i see how i can "log off" the gnome-power-manager_2.28.3-3_i386.deb - gladly you send me a PN. thanks over again and a nice day for all readers

Revision history for this message
w1zard (pacehead) wrote :

@Majestyx Normally you can highlight the gnome-power-manager row in Synaptic, then open the 'Package' menu on the top bar. Click 'Force Version...' and choose the version you want to keep.

I don't know if this persists between updates, but hopefully it should stick :)

Revision history for this message
w1zard (pacehead) wrote :

According to the upstream gnome-power-manaqer developers, the version of g-p-m in Ubuntu is patched with Ubuntu-specific changes, and it is these changes that are causing the crashing issue.

I'm not using indicator-application, although I am still seeing the bug, ruling out this package (unless g-p-m relies on it somehow). Using a generic Gnome version of g-p-m fixes the problem.

When associating this bug with the g-p-m package, I'm told that all bugs are maintained upstream. However, from what the developer has told me, Ubuntu are maintaining a unique (patched) version of g-p-m. If this is true, then surely the bugs should be managed on Launchpad, against Ubuntu's version?

Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

Now I have some messages:

(gnome-power-manager:11711): GLib-GObject-WARNING **: invalid cast from `GtkStatusIcon' to `GtkWidget'
(gnome-power-manager:11711): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

Hope it helps.

Revision history for this message
Konstantin Lavrov (lacosta) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - Alpha 3 i386 (20100225)
Package: indicator-application 0.0.14-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
Tags: lucid
Uname: Linux 2.6.32-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected
Revision history for this message
Konstantin Lavrov (lacosta) wrote : Dependencies.txt

apport information

Revision history for this message
Konstantin Lavrov (lacosta) wrote :

I install indicator-application on lubuntu but no effect. I can confirm that this bug exist without indicator-application.
Here is the logs from gpm with i-a installed and without

Revision history for this message
Konstantin Lavrov (lacosta) wrote :
Revision history for this message
Graziano (graziano-giuliani-gmail) wrote :

The icon "migration effect" disappear in 2.29.91-0ubuntu4, but the "on/off" effect is still here.

Revision history for this message
Konstantin Lavrov (lacosta) wrote :

Confirm exactly the same #39

Revision history for this message
w1zard (pacehead) wrote :

Also confirm most bugs are fixed in the latest indicator-application and gnome-power-manager, however the icon flicking on and off each battery refresh still exists.

Revision history for this message
Majestyx (majestyx) wrote :

hello w1zard and readers,

i make just now updates (apt-get update/upgrade from shell) and also the update gnome power manager 2.29.91-0ubuntu4

my problem came back. and also the "bug" whit the weather applet. (the icon is bigger than panel. - look screenshot)
pls, look to the adjustment from icons: battery/network (gnomepower1.png)

whit the older version gnome-power-manager_2.28.3-3_i386.deb was the icons change: network/battery (gnomepower0.png) next msg. attachment. and the weather icon has the right size.

Revision history for this message
Majestyx (majestyx) wrote :

whit the older version gnome-power-manager_2.28.3-3_i386.deb was the icons change: network/battery (gnomepower0.png) next msg. attachment. and the weather icon has the right size.

Revision history for this message
Konstantin Lavrov (lacosta) wrote :

Here is the output of dbus-monitor with signal that is arrised when battery indicator applet is flickering:

signal sender=:1.0 -> dest=(null destination) serial=149 path=/org/ayatana/NotificationItem/gnome_power_manager/Menu; interface=org.ayatana.dbusmenu; member=LayoutUpdated
   uint32 67
   int32 0
signal sender=:1.0 -> dest=(null destination) serial=151 path=/org/ayatana/NotificationItem/gnome_power_manager/Menu; interface=org.ayatana.dbusmenu; member=LayoutUpdated
   uint32 68
   int32 0

Revision history for this message
Majestyx (majestyx) wrote :

i have install version 2.29.91ubuntu5 - but the battery icon flickering along.

Revision history for this message
w1zard (pacehead) wrote :

As the problems being reported in the comments of this bug differ from the original bug report, I have opened a new bug:

https://bugs.launchpad.net/indicator-application/+bug/538078

This is specifically related to the one remaining unfixed issue - the power icon disappearing and reappearing every 30 seconds, due to a bug in indicator-application.

Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Thanks to all for your contribution. Based on the last few comments I'm marking this bug as Fix Released. If you've issues with the GNOME Power Manager icon imitating a flashlight, please report in bug #538078 instead.

Changed in indicator-application (Ubuntu):
status: Confirmed → Fix Released
Changed in indicator-application:
status: New → Fix Released
Changed in gnome-power:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.