Gnome power manager dies when AC unplugged

Bug #412922 reported by gattanegra
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Fedora)
Fix Released
Medium
gnome-power-manager (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-power-manager

Description: Ubuntu 9.04
Release: 9.04

gnome-power-manager:
  Installed: 2.24.2-2ubuntu8
  Candidate: 2.24.2-2ubuntu8
  Version table:
 *** 2.24.2-2ubuntu8 0
        500 http://bg.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

I removed the AC. I expected the Gnome Power manager would start counting how much battery life is left.

When AC removed gnome power manager exits unexpectedly.
/var/log/message shows me this:
Aug 13 11:37:25 gattanegra kernel: [ 2173.541598] gnome-power-man[7054]: segfault at b7705fdc ip b5e852d8 sp b676533c error 7

Revision history for this message
In , Edouard (edouard-redhat-bugs) wrote :

Created attachment 314879
my dmesg

Description of problem:
Gnome-power-man applet disappear when removing AC. In dmesg the error is:
gnome-power-man[6470] general protection ip:4105c1 sp:7fff3726ec20 error:0 in gnome-power-manager[400000+4b000]

Version-Release number of selected component (if applicable):
gnome-power-manager-2.23.6-1.fc10.x86_64

How reproducible:
static

Steps to Reproduce:
1. Log in with AC plugged
2. Unplug AC
3. Move the mouse cursor over the g-p-m applet to see how much battery left. After a couple of seconds the applet crashs.

Actual results:
General protection fault, g-p-m applet is dead.

Expected results:
Shouldn't crash of course. Should show the time remaining on battery.

Additional info:
After that some other applets seems to crash:
gpk-update-icon[6439] general protection ip:3b21c104a8 sp:7fffd1850e18 error:0 in libpackagekit.so.4.0.0[3b21c00000+24000]

Revision history for this message
In , Richard (richard-redhat-bugs) wrote :

I'm guessing the problem is now fixed in rawhide?

Revision history for this message
In , Edouard (edouard-redhat-bugs) wrote :

yes it's fixed in rawhide. You can close this bug. Thanks

Revision history for this message
gattanegra (gattanegra-data) wrote :

2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P7370 @ 2.00GHz

Thinkpad SL500

Revision history for this message
gattanegra (gattanegra-data) wrote :

I tried this ubuntu-bug thing, it spit some very strange notes.
My /var/crash dir is empty.

I can not report this in other way.
Sorry.

P.S. this is REALLY annoying

Revision history for this message
gattanegra (gattanegra-data) wrote :

one more thing.
I got this from the kern.log

Aug 13 11:21:21 gattanegra kernel: [ 1209.469758] gnome-power-man[4914] general protection ip:b5bfd30c sp:b65e433d error:0

Aug 13 11:37:25 gattanegra kernel: [ 2173.541598] gnome-power-man[7054]: segfault at b7705fdc ip b5e852d8 sp b676533c error 7

Revision history for this message
Alex Lourie (alourie) wrote :

There was the same bug in Fedora on gnome-power-manage 2.23: https://bugzilla.redhat.com/show_bug.cgi?id=459906

It is also has similar characteristics to bug #408456

Revision history for this message
gattanegra (gattanegra-data) wrote :

yes I saw these but the bug is not the same, it only resembles these.
also , about 459906 - what do you suggest ?
 It is fixed for Redhat.
 Hello!
I am using UBUNTU
And they did not mention HOW they fixed this exactly.;.

about #408456:
Yes, sometime ago, and I do not keep record, I upgraded. Using the Automatic Update manager. I do not keep record what or when.

Really, is that the problem?

I never mentioned I upgraded and this happened afterwards because I noticed this yesterday, but I did not update anything yesterday. Or at lease anything related to g-p-m.

And, I never mentioned I changed my kernel.
Also i never mentioned sigsegv or anything related.
I do not see segfaults.
I rebooted several times and still nothing,

So this is NOT the same thing and NOT the same bug.

Revision history for this message
Alex Lourie (alourie) wrote :

Well, it doesn't have to be EXACTLY the same to be caused bu the same bug.

The bug may be the same but system reaction to the bug may be different. All I said is that characteristics are similar and may point to the possible resolution for the issue.

Revision history for this message
Alex Lourie (alourie) wrote :

Oh, and by the way, from your messages log:

Aug 13 11:37:25 gattanegra kernel: [ 2173.541598] gnome-power-man[7054]: segfault at b7705fdc ip b5e852d8 sp b676533c error 7

This I would call segfault.

Revision history for this message
Scott Howard (showard314) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Karmic Koala. There has been extensive changes to GPM since Jaunty (version 2.24.8 has been replaced by 2.27.5 and HAL has be depricated in favor of devicekit-power). It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
gattanegra (gattanegra-data) wrote :

aww, i did the upgrade as they suggest on that website and everything died.
now I will reinstall or .. I do not know.
Light, sound, network, nothing works.
:D

Jorge Castro (jorge)
Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Triaged
Changed in gnome-power-manager (Fedora):
status: Unknown → Fix Released
Revision history for this message
Oleksiy Krivoshey (oleksiyk) wrote :

Downgrading hal, libhal1 and libhal-storage1 to version 0.5.12~rc1+git20090403-0ubuntu1 fixed the problem for me. Temporary of course.

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

Is this an issue in Karmic or later? If so, could someone experiencing this please provide a backtrace.

Thanks

Changed in gnome-power-manager (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: Triaged → Incomplete
Revision history for this message
David Tombs (dgtombs) wrote :

I am closing this bug as there is not enough information to fix the issue. Please reopen with a status of "New" if anyone can reproduce on Karmic.

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Invalid
Changed in gnome-power-manager (Fedora):
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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