gnome-power-manager crashes when gnome-phone-manager is connected to a phone

Bug #333910 reported by Victor Osadci
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power
Expired
Critical
gnome-power-manager (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: gnome-power-manager

This is on 9.04 with the latest updates.

g-p-m crashes when resuming from suspend.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gnome-power-manager
Package: gnome-power-manager 2.24.2-2ubuntu4
ProcCmdline: gnome-power-manager
ProcEnviron:
 PATH=(custom, user)
 LANG=ro_RO.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gnome-power-manager
StacktraceTop:
 ?? ()
 g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0
 g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
 ?? () from /usr/lib/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
Title: gnome-power-manager crashed with SIGSEGV in g_cclosure_marshal_VOID()
Uname: Linux 2.6.28-8-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Victor Osadci (victor-os) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #144851. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

visibility: private → public
Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Scott Howard (showard314) wrote : Re: gnome-power-manager crashed with SIGSEGV in g_cclosure_marshal_VOID()

Thanks for the report and helping make Ubuntu better; does this bug exist in Jaunty?

Changed in gnome-power-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Victor Osadci (victor-os) wrote :

The initial report was for Jaunty. The bug is still here, with all the updates installed.

Changed in gnome-power-manager (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Scott Howard (showard314) wrote :

Thanks again. This bug seems like one we can forward to the upstream developers, but the stack trace wasn't complete. In order for us to pass the information up to the developers, can you get a backtrace of the crash?
Instructions on how to get a backtrace can be found:

https://wiki.ubuntu.com/DebuggingProgramCrash

Thanks in advance!

Changed in gnome-power-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Victor Osadci (victor-os) wrote :

Looks like this might have something to do with gnome-phone-manager, which tels gnome-power-manager the battery level for the phone. The crash doesn't happen when I close gnome-phone-manager.

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

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: http://bugzilla.gnome.org/show_bug.cgi?id=586943

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Triaged
Changed in gnome-power:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-power:
status: Unknown → New
Revision history for this message
Scott Howard (showard314) wrote :

The developers at GPM pointed us to this bug report:
http://bugzilla.gnome.org/show_bug.cgi?id=484516

and asked us to try the newest version of GPM and either confirm that the bug still exists in GPM or if their fix has corrected it. If it hasn't, we should discuss development of the fix on gnome's Bugzilla and report back here when it is complete.

From Richard Hughes:
Can you try trunk for me please? I've just committed this:

2007-11-02 Richard Hughes <email address hidden>

        * src/gpm-cell-array.c: (phone_device_removed_cb):
        Check to see if we have a gnome-phone-manager device before we unref
        it - I've a sneaking suspicion gnome-phone-manager is telling us
        Remove before Added at session start, although we certainly shouldn't
        crash out in this case. Hopefully fixes #484516

Changed in gnome-power:
status: New → Unknown
Changed in gnome-power:
status: Unknown → Invalid
Revision history for this message
Victor Osadci (victor-os) wrote :

Scot,
I have tried building gnome-power-manager from trunk, but it has some dependencies that are not in Ubuntu 9.4.

So, before I go building everything by hand, is there a way to see if that commit is in the g-power-manager package for Ubuntu 9.4 ?

The commit date is 2007-11-02, so I would asume that it is in 9.4, which means that it didn't quite fix the bug...

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

Thanks for all the help - I'm sure there are many GNOME and Ubuntu users who are grateful!

You're right, Ubuntu 9.04 uses GPM 2.24, which included Revision #2551.

http://svn.gnome.org/viewvc/gnome-power-manager/branches/gnome-2-24/src/gpm-cell-array.c?view=log

Therefore, Ubuntu 2.24 should have the fix included.

As a sanity check, would it be possible to try a Karmic Live CD to see if you could reproduce the crash? It appears that later versions of GPM interface with gnome-phone-manager differently.

Revision history for this message
Victor Osadci (victor-os) wrote :

I tried the Karmik Live CD and g-p-m didn't crash ... but it didn't work either.

The battery level for the phone, as reported by gnome-power-manager, is 0, which might mean that it doesn't comunicate too well with gnome-phone-manager. If it did, it might crash, or not...

I will try to install Karmic and compile phone-manager and power-manager from trunk and see if that works.

Revision history for this message
Victor Osadci (victor-os) wrote :

I installed 9.10 and default power-manager+phone-manager do not show battery info for the phone.

Next I compiled gnome-phone-manager trunk, and it still doesn't work; and both power-manager and phone-manager from trunk, and it doesn't work anyway.

On 9.04, with either the default phone-manager or trunk, I can see the phone battery level.

summary: - gnome-power-manager crashed with SIGSEGV in g_cclosure_marshal_VOID()
+ gnome-power-manager crashes when gnome-phone-manager is connected to a
+ phone
Revision history for this message
Scott Howard (showard314) wrote :

Thanks a lot Victor, I sent Fabio an email over at the gnome bug tracker to revisit the bug and re-open it. I posted your most recent comments as well. I think we should use their tracker for discussions on the fix then report back here once done. You can subscribe to the bug at gnome by adding yourself to the CC: list and add any additional info.

Changed in gnome-power:
importance: Unknown → Critical
status: Invalid → Expired
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.