After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 484516 - crash in Power Manager: I was logging in to my s...
crash in Power Manager: I was logging in to my s...
Status: RESOLVED INCOMPLETE
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.17.x
Other All
: High critical
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
: 486327 586943 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-10-07 21:19 UTC by Patrick Ohearn
Modified: 2009-06-26 16:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Patrick Ohearn 2007-10-07 21:19:08 UTC
What were you doing when the application crashed?
I was logging in to my system, then gnome-power-manager decided to crash. Oh the joy.


Distribution: Gentoo Base System release 1.12.10
Gnome Release: 2.20.0 2007-09-19 (Gentoo)
BugBuddy Version: 2.20.0

System: Linux 2.6.22.5 #4 PREEMPT Wed Oct 3 20:26:53 EST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 38596608 vsize: 38596608 resident: 10129408 share: 7168000 rss: 10129408 rss_rlim: 4294967295
CPU usage: start_time: 1191791865 rtime: 16 utime: 15 stime: 1 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnome-power-manager'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1227687712 (LWP 6200)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread -1227687712 (LWP 6200))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at gspawn.c line 364
  • #3 IA__g_spawn_command_line_sync
    at gspawn.c line 672
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 208
  • #5 check_if_gdb
    at gnome-breakpad.cc line 278
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 225
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 196
  • #8 <signal handler called>
  • #9 phone_device_removed_cb
    at gpm-cell-array.c line 1198
  • #10 IA__g_cclosure_marshal_VOID__UINT
    at gmarshal.c line 251
  • #11 IA__g_closure_invoke
    at gclosure.c line 490
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #14 IA__g_signal_emit
    at gsignal.c line 2243
  • #15 gpm_phone_num_batteries_changed
    at gpm-phone.c line 186
  • #16 IA__g_cclosure_marshal_VOID__UINT
    at gmarshal.c line 251
  • #17 marshal_dbus_message_to_g_marshaller
    at dbus-gproxy.c line 1638
  • #18 IA__g_closure_invoke
    at gclosure.c line 490
  • #19 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #20 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #21 IA__g_signal_emit
    at gsignal.c line 2243
  • #22 dbus_g_proxy_manager_filter
    at dbus-gproxy.c line 1691
  • #23 dbus_connection_dispatch
    at dbus-connection.c line 4267
  • #24 message_queue_dispatch
    at dbus-gmain.c line 101
  • #25 IA__g_main_context_dispatch
    at gmain.c line 2061
  • #26 g_main_context_iterate
    at gmain.c line 2694
  • #27 IA__g_main_loop_run
    at gmain.c line 2898
  • #28 main
    at gpm-main.c line 267
  • #0 __kernel_vsyscall




----------- .xsession-errors ---------------------
reply: 0x01 / 0x000a
01 79 00 f0 01 20 00 00 00 00                   |  y              
Please read Docs/Bugs and send a bug report!
UNHANDLED FRAME RECEIVED
request: 0x01 / 0x0004
00 01 00 20                                     |                 
reply: 0x01 / 0x000a
01 79 00 f0 01 20 00 00 00 00                   |  y              
Please read Docs/Bugs and send a bug report!
UNHANDLED FRAME RECEIVED
request: 0x01 / 0x0004
00 01 00 20                                     |                 
reply: 0x01 / 0x000a
01 79 00 f0 01 20 00 00 00 00                   |  y              
Please read Docs/Bugs and send a bug report!
--------------------------------------------------
Comment 1 palfrey 2007-10-31 09:48:29 UTC
*** Bug 486327 has been marked as a duplicate of this bug. ***
Comment 2 Patrick Ohearn 2007-10-31 09:58:28 UTC
Oh, this is an easy fix. Just stop gnome-phone-manager, as the version I was using was kind of broken. But it still should not crash gnome-power-manager.
Comment 3 Richard Hughes 2007-11-02 18:42:26 UTC
Can you try trunk for me please? I've just committed this:

2007-11-02  Richard Hughes  <richard@hughsie.com>

	* 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
Comment 4 André Klapper 2008-06-08 12:31:22 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 5 Fabio Durán Verdugo 2009-06-25 17:37:26 UTC
*** Bug 586943 has been marked as a duplicate of this bug. ***
Comment 6 Scott Howard 2009-06-26 15:36:21 UTC
Bug 586943 was reported using 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, GPM 2.24 should have had the fix included. It looks like the fix Richard Hughes commited on 2007-11-02 (revision 2551) did not solve the bug.

Additionally, the reporter also performed the following tests:
In GPM 2.27.1: 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...

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.


original report: https://bugs.launchpad.net/bugs/333910
original bug (marked as duplicate) and stack trace at Bug 586943