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 588259 - GPM crashes when the battery reaches a full charge
GPM crashes when the battery reaches a full charge
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.27.x
Other All
: Normal critical
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-07-10 16:11 UTC by Scott Howard
Modified: 2009-07-11 08:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
output from gnome-power-bugreport (2.66 KB, text/plain)
2009-07-10 16:13 UTC, Scott Howard
Details
more complete backtrace (17.72 KB, text/plain)
2009-07-10 16:19 UTC, Scott Howard
Details

Description Scott Howard 2009-07-10 16:11:47 UTC
Steps to reproduce:
1. Discharge the battery
2. Plug in the AC adapter
3. Crash will occur when the battery is fully charged.


Stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x0074a701 in free () from /lib/tls/i686/cmov/libc.so.6
(gdb) backtrace full

Thread 1 (Thread 0xb7fd0920 (LWP 3499))

  • #0 free
    from /lib/tls/i686/cmov/libc.so.6
  • #1 IA__g_free
    at /build/buildd/glib2.0-2.21.3/glib/gmem.c line 190
  • #2 gpm_engine_fully_charged_cb
    at gpm-manager.c line 1051
  • #3 IA__g_cclosure_marshal_VOID__UINT
    at /build/buildd/glib2.0-2.21.3/gobject/gmarshal.c line 251
  • #4 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.3/gobject/gclosure.c line 767
  • #5 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3247
  • #6 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 2980
  • #7 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3037
  • #8 gpm_engine_device_changed_cb
    at gpm-engine.c line 847
  • #9 IA__g_cclosure_marshal_VOID__POINTER
    at /build/buildd/glib2.0-2.21.3/gobject/gmarshal.c line 601
  • #10 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.3/gobject/gclosure.c line 767
  • #11 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3247
  • #12 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 2980
  • #13 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3037
  • #14 dkp_device_changed_cb
  • #15 IA__g_cclosure_marshal_VOID__STRING
    at /build/buildd/glib2.0-2.21.3/gobject/gmarshal.c line 496
  • #16 ??
    from /usr/lib/libdbus-glib-1.so.2
  • #17 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.21.3/gobject/gclosure.c line 767
  • #18 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3247
  • #19 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 2980
  • #20 IA__g_signal_emit
    at /build/buildd/glib2.0-2.21.3/gobject/gsignal.c line 3037
  • #21 ??
    from /usr/lib/libdbus-glib-1.so.2
  • #22 dbus_connection_dispatch
    at dbus-connection.c line 4446
  • #23 ??
    from /usr/lib/libdbus-glib-1.so.2
  • #24 g_main_dispatch
    at /build/buildd/glib2.0-2.21.3/glib/gmain.c line 1960
  • #25 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.21.3/glib/gmain.c line 2513
  • #26 g_main_context_iterate
    at /build/buildd/glib2.0-2.21.3/glib/gmain.c line 2591
  • #27 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.21.3/glib/gmain.c line 2799
  • #28 main
    at gpm-main.c line 275
The program is running.  Quit anyway (and detach it)? (y or n) Not confirmed.
(gdb) 

Other information:
Special thanks to Arnaud Faucher for doing the bulk of the debugging. Downstream report:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/397248
Comment 1 Scott Howard 2009-07-10 16:13:38 UTC
Created attachment 138202 [details]
output from gnome-power-bugreport
Comment 2 Scott Howard 2009-07-10 16:19:53 UTC
Created attachment 138203 [details]
more complete backtrace

This backtrace contains symbols for all libraries. Provided by:
Arnaud Faucher
Comment 3 Richard Hughes 2009-07-11 08:00:35 UTC
Excellent bug, thanks for reporting this. I've fixes this in git master, it was a typo in the signal setup.