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 657917 - gnome-settings-daemon crashed with SIGSEGV in g_closure_invoke()
gnome-settings-daemon crashed with SIGSEGV in g_closure_invoke()
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.1.x
Other Linux
: Normal critical
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-09-01 11:09 UTC by Pedro Villavicencio
Modified: 2011-09-08 10:45 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2



Description Pedro Villavicencio 2011-09-01 11:09:27 UTC
this report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/836014

crashing at every login

".

Thread 1 (Thread 0x7f2a509ca940 (LWP 1869))

  • #0 idle_is_session_inhibited
    at gsd-power-manager.c line 2686
  • #1 idle_evaluate
    at gsd-power-manager.c line 2725
  • #2 idle_evaluate
    at gsd-power-manager.c line 2700
  • #3 g_closure_invoke
    at /build/buildd/glib2.0-2.29.16/./gobject/gclosure.c line 773
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c line 3271
  • #5 g_signal_emit_valist
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c line 3002
  • #6 g_signal_emit
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c line 3059
  • #7 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 271
  • #8 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 244
  • #9 gdk_event_apply_filters
    at /build/buildd/gtk+3.0-3.1.12/./gdk/x11/gdkeventsource.c line 83
  • #10 gdk_event_source_translate_event
    at /build/buildd/gtk+3.0-3.1.12/./gdk/x11/gdkeventsource.c line 197
  • #11 _gdk_x11_display_queue_events
    at /build/buildd/gtk+3.0-3.1.12/./gdk/x11/gdkeventsource.c line 334
  • #12 gdk_display_get_event
    at /build/buildd/gtk+3.0-3.1.12/./gdk/gdkdisplay.c line 311
  • #13 gdk_event_source_dispatch
    at /build/buildd/gtk+3.0-3.1.12/./gdk/x11/gdkeventsource.c line 356
  • #14 g_main_dispatch
    at /build/buildd/glib2.0-2.29.16/./glib/gmain.c line 2439
  • #15 g_main_context_dispatch
    at /build/buildd/glib2.0-2.29.16/./glib/gmain.c line 3008
  • #16 g_main_context_iterate
    at /build/buildd/glib2.0-2.29.16/./glib/gmain.c line 3086
  • #17 g_main_loop_run
    at /build/buildd/glib2.0-2.29.16/./glib/gmain.c line 3294
  • #18 gtk_main
    at /build/buildd/gtk+3.0-3.1.12/./gtk/gtkmain.c line 1367
  • #19 main
    at main.c line 451

Comment 2 Richard Hughes 2011-09-07 16:12:22 UTC
Pedro, does this happen with gnome-settings-daemon 3.1.90 or 3.1.91?
Comment 3 Pedro Villavicencio 2011-09-07 16:55:46 UTC
Richard, last dupe we have is on 3.1.91 we are asking for a complete backtrace on that version and we'll be posting that here. Thanks!.
Comment 4 Rodrigo Moya 2011-09-08 09:58:45 UTC
The backtrace with 3.1.91:

GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/gnome-settings-daemon...(no debugging symbols found)...done.
(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/gnome-settings-daemon 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeead3700 (LWP 6806)]
[New Thread 0x7fffee2d2700 (LWP 6807)]

** (gnome-settings-daemon:6801): WARNING **: Ignoring unknown module 'org.gnome.settings-daemon.plugins.ubuntuone'
[New Thread 0x7fffed8c8700 (LWP 6808)]
[New Thread 0x7fffed0c7700 (LWP 6809)]

(gnome-settings-daemon:6801): power-plugin-WARNING **: not connected
[New Thread 0x7fffe7fff700 (LWP 6810)]
[New Thread 0x7fffe77fe700 (LWP 6811)]
[New Thread 0x7fffe6ffd700 (LWP 6812)]
[New Thread 0x7fffe67fc700 (LWP 6813)]
[Thread 0x7fffe67fc700 (LWP 6813) exited]
[Thread 0x7fffe6ffd700 (LWP 6812) exited]
[Thread 0x7fffeead3700 (LWP 6806) exited]
[Thread 0x7fffe77fe700 (LWP 6811) exited]
[Thread 0x7fffee2d2700 (LWP 6807) exited]
warning: the debug information found in "/usr/lib/debug//usr/lib/libxml2.so.2.7.8" does not match "/usr/lib/libxml2.so.2" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/libxml2.so.2.7.8" does not match "/usr/lib/libxml2.so.2" (CRC mismatch).


(gnome-settings-daemon:6801): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion `G_IS_DBUS_PROXY (proxy)' failed

Program received signal SIGSEGV, Segmentation fault.
idle_is_session_inhibited (manager=<optimized out>, mask=<optimized out>) at gsd-power-manager.c:2744
2744	gsd-power-manager.c: No such file or directory.
	in gsd-power-manager.c
(gdb) backtrace full
  • #0 idle_is_session_inhibited
    at gsd-power-manager.c line 2744
  • #1 idle_evaluate
    at gsd-power-manager.c line 2781
  • #2 idle_evaluate
    at gsd-power-manager.c line 2756
  • #3 g_closure_invoke
    at /build/buildd/glib2.0-2.29.18/./gobject/gclosure.c line 774
  • #4 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.29.18/./gobject/gsignal.c line 3272
  • #5 g_signal_emit_valist
    at /build/buildd/glib2.0-2.29.18/./gobject/gsignal.c line 3003
  • #6 g_signal_emit
    at /build/buildd/glib2.0-2.29.18/./gobject/gsignal.c line 3060
  • #7 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 271
  • #8 gpm_idletime_event_filter_cb
    at gpm-idletime.c line 244
  • #9 ??
    from /usr/lib/libgdk-3.so.0
  • #10 ??
    from /usr/lib/libgdk-3.so.0
  • #11 gdk_display_get_event
    from /usr/lib/libgdk-3.so.0
  • #12 ??
    from /usr/lib/libgdk-3.so.0

Comment 5 Richard Hughes 2011-09-08 10:45:48 UTC
commit e66f59aae897cbdaae7eee4220225f11ac1e8524
Author: Richard Hughes <richard@hughsie.com>
Date:   Thu Sep 8 11:44:22 2011 +0100

    power: Don't crash if we try to calculate the idle state before connected to gnome-session
    
    Resolves https://bugzilla.gnome.org/show_bug.cgi?id=657917