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 613621 - [housekeeping] crash after 1 minute
[housekeeping] crash after 1 minute
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
2.29.x
Other Linux
: High critical
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2010-03-22 18:45 UTC by Giedrius Slavinskas
Modified: 2010-04-02 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
stack trace (12.18 KB, text/plain)
2010-03-23 17:27 UTC, Giedrius Slavinskas
Details
Another stacktrace (11.33 KB, text/plain)
2010-03-23 22:38 UTC, Giedrius Slavinskas
Details

Description Giedrius Slavinskas 2010-03-22 18:45:36 UTC
After 1 minute I login to my desktop gnome-settings-daemon crashes and all my desktop settings (themes, icons) are reseted to gnome's defaults. 
I tried to measure time after it crashes and i always get exactly 1 minute (with few miliseconds in addition, i think for daemon initialization):
$ time gnome-settings-daemon --debug --no-daemon
last few lines from output:

** (gnome-settings-daemon:14056): DEBUG: Not a valid shortcut: ''
** (gnome-settings-daemon:14056): DEBUG: adding key filter for screen: 0
** (gnome-settings-daemon:14056): DEBUG: Updating sink: index=1 name='alsa_output.pci-0000_00_14.2.analog-stereo' description='Internal Audio Analog Stereo' map='front-left,front-right'
** (gnome-settings-daemon:14056): DEBUG: Updating source: index=1 name='alsa_output.pci-0000_00_14.2.analog-stereo.monitor' description='Monitor of Internal Audio Analog Stereo'

(gnome-settings-daemon:14056): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(gnome-settings-daemon:14056): Gtk-CRITICAL **: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed
Segmentavimo klaida # this means Segmentation fault

real	1m0.768s
user	0m0.103s
sys	0m0.047s

I am using gnome-settings-daemon 2.29.92
Comment 1 Fabio Durán Verdugo 2010-03-23 00:58:35 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Giedrius Slavinskas 2010-03-23 17:27:37 UTC
Created attachment 156892 [details]
stack trace

It seems that gnome-settings-daemon crashes after it tries to show a warning about low disk space.
Comment 3 Fabio Durán Verdugo 2010-03-23 17:57:45 UTC
paste here the stacktrace

Backtrace was generated from '/usr/bin/gnome-settings-daemon'

[Thread debugging using libthread_db enabled]
[New Thread 0x7f77f6846710 (LWP 11255)]
0x00007f77feae3add in __libc_waitpid (pid=11428,
    stat_loc=<value optimized out>, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
41	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);

Thread 1 (Thread 0x7f77ffdc7700 (LWP 11253))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 bugbuddy_segv_handle(int)
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 IA__gtk_widget_style_get_valist
    at gtkwidget.c line 9897
  • #6 IA__gtk_widget_style_get
    at gtkwidget.c line 9931
  • #7 gtk_label_get_link_colors
    at gtklabel.c line 2202
  • #8 parse_uri_markup
    at gtklabel.c line 2233
  • #9 gtk_label_set_markup_internal
    at gtklabel.c line 2314
  • #10 gtk_label_recalculate
    at gtklabel.c line 1868
  • #11 IA__gtk_label_set_markup
    at gtklabel.c line 2422
  • #12 gsd_ldsm_dialog_new
    from /usr/lib/gnome-settings-daemon-2.0/libhousekeeping.so
  • #13 ldsm_check_all_mounts
    from /usr/lib/gnome-settings-daemon-2.0/libhousekeeping.so
  • #14 g_timeout_dispatch
    at gmain.c line 3396
  • #15 g_main_dispatch
    at gmain.c line 1960
  • #16 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #17 g_main_context_iterate
    at gmain.c line 2591
  • #18 IA__g_main_loop_run
    at gmain.c line 2799
  • #19 IA__gtk_main
    at gtkmain.c line 1219
  • #20 main
A debugging session is active.

	Inferior 1 [process 11253] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
** Gtk **: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed


----------- .xsession-errors ---------------------
** Message: Initializing gksu extension...
socket(): Adreso šeima nepalaikoma protokolo
** (gnome-panel:11273): WARNING **: panel-applet-frame.c:1344: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'
(gnome-panel:11273): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
(gnome-settings-daemon:11253): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(gnome-settings-daemon:11253): Gtk-CRITICAL **: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed
--------------------------------------------------
Comment 4 Jens Granseuer 2010-03-23 18:34:52 UTC
How did you get that stacktrace?

Can you please get another one using these parameters:

G_DEBUG=fatal-criticals gnome-settings-daemon --sync --no-daemon

Thanks!
Comment 5 Giedrius Slavinskas 2010-03-23 22:38:57 UTC
Created attachment 156930 [details]
Another stacktrace

System: Linux 2.6.33-ARCH #1 SMP PREEMPT Mon Mar 15 19:11:52 CET 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10706000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Shiki-Brave
Icon Theme: icons
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 323203072 vsize: 323203072 resident: 15908864 share: 11943936 rss: 15908864 rss_rlim: 18446744073709551615
CPU usage: start_time: 1269383662 rtime: 19 utime: 14 stime: 5 cutime:2 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gnome-settings-daemon'

[Thread debugging using libthread_db enabled]
[New Thread 0x7fe91372c710 (LWP 18794)]
0x00007fe91b9c9add in __libc_waitpid (pid=18876,
    stat_loc=<value optimized out>, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
41	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);

Thread 1 (Thread 0x7fe91ccad700 (LWP 18792))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 bugbuddy_segv_handle(int)
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 IA__g_logv
    at gmessages.c line 555
  • #6 IA__g_log
    at gmessages.c line 569
  • #7 IA__g_object_ref
    at gobject.c line 2396
  • #8 gtk_widget_set_style_internal
    at gtkwidget.c line 6887
  • #9 gtk_label_get_link_colors
    at gtklabel.c line 2201
  • #10 parse_uri_markup
    at gtklabel.c line 2233
  • #11 gtk_label_set_markup_internal
    at gtklabel.c line 2314
  • #12 gtk_label_recalculate
    at gtklabel.c line 1868
  • #13 IA__gtk_label_set_markup
    at gtklabel.c line 2422
  • #14 gsd_ldsm_dialog_new
    from /usr/lib/gnome-settings-daemon-2.0/libhousekeeping.so
  • #15 ldsm_check_all_mounts
    from /usr/lib/gnome-settings-daemon-2.0/libhousekeeping.so
  • #16 g_timeout_dispatch
    at gmain.c line 3396
  • #17 g_main_dispatch
    at gmain.c line 1960
  • #18 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #19 g_main_context_iterate
    at gmain.c line 2591
  • #20 IA__g_main_loop_run
    at gmain.c line 2799
  • #21 IA__gtk_main
    at gtkmain.c line 1219
  • #22 main
A debugging session is active.

	Inferior 1 [process 18792] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** GLib-GObject **: g_object_ref: assertion `G_IS_OBJECT (object)' failed


----------- .xsession-errors (157 sec old) ---------------------
(gdu-notification-daemon:18629): libgdu-WARNING **: unhandled property 'DeviceIsLinuxLoop'
(gdu-notification-daemon:18629): libgdu-WARNING **: unhandled property 'LinuxLoopFilename'
Failure: Module initalization failed
** Message: Initializing gksu extension...
** (gnome-panel:18596): WARNING **: panel-applet-frame.c:1344: failed to load applet OAFIID:GNOME_FastUserSwitchApplet (cannot get property bag):
Unknown CORBA exception id: 'IDL:omg.org/CORBA/INV_OBJREF:1.0'
(gnome-panel:18596): Gtk-WARNING **: A floating object was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
--------------------------------------------------
Comment 6 Giedrius Slavinskas 2010-03-23 22:47:17 UTC
I've forgot to mention that stacktrace above is made with 
G_DEBUG=fatal-criticals gnome-settings-daemon --sync --no-daemon


By the way, I had freed my file system a little bit and I dont get this bug anymore. To reproduce it again (for this stacktrace) I've filled root partition almost full (~400MB free space) and luckly I got this bug again :)
Comment 7 Jens Granseuer 2010-03-24 18:13:50 UTC
Unfortunately, your traces are missing debug symbols for g-s-d. Can you please try to get these added? Thanks!
Comment 8 Priit Laes (IRC: plaes) 2010-03-27 11:37:58 UTC
I get similar crash when starting gkbd-indicator-plugins-capplet:

Distribution: Gentoo Base System release 2.0.1
Gnome Release: 2.29.92 2010-03-23 (Gentoo)
BugBuddy Version: 2.28.0

System: Linux 2.6.33-rc8 #189 SMP Sun Feb 14 23:51:52 EET 2010 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10706000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks Compact
Icon Theme: gnome
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 279797760 vsize: 279797760 resident: 9207808 share: 7200768 rss: 9207808 rss_rlim: 18446744073709551615
CPU usage: start_time: 1269689769 rtime: 3 utime: 3 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gkbd-indicator-plugins-capplet'

Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2306.0-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]
0x00007f34ad059b8e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fffb8f757e0, options=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/waitpid.c:32
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7f34aed6d760 (LWP 17741))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 32
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 run_bug_buddy
    at gnome-breakpad.cc line 369
  • #4 check_if_gdb
    at gnome-breakpad.cc line 440
  • #5 bugbuddy_segv_handle
    at gnome-breakpad.cc line 223
  • #6 <signal handler called>
  • #7 IA__g_object_ref
    at gobject.c line 2396
  • #8 gtk_widget_set_style_internal
    at gtkwidget.c line 6887
  • #9 reset_rc_styles_recurse
    at gtkwidget.c line 7103
  • #10 gtk_box_forall
    at gtkbox.c line 1251
  • #11 IA__gtk_widget_set_parent
    at gtkwidget.c line 6341
  • #12 gtk_box_pack
    at gtkbox.c line 755
  • #13 IA__g_closure_invoke
    at gclosure.c line 767
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3178
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2981
  • #16 IA__g_signal_emit
    at gsignal.c line 3038
  • #17 _gtk_builder_add
    at gtkbuilder.c line 548
  • #18 parse_custom
    at gtkbuilderparser.c line 801
  • #19 start_element
    at gtkbuilderparser.c line 894
  • #20 emit_start_element
    at gmarkup.c line 923
  • #21 IA__g_markup_parse_context_parse
    at gmarkup.c line 1261
  • #22 _gtk_builder_parser_parse_buffer
    at gtkbuilderparser.c line 1162
  • #23 IA__gtk_builder_add_from_file
    at gtkbuilder.c line 674
  • #24 CappletSetup
    at gkbd-indicator-plugins-capplet.c line 294
  • #25 main
    at gkbd-indicator-plugins-capplet.c line 406

	Inferior 1 [process 17741] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
Comment 9 Edward Hervey 2010-03-27 11:39:32 UTC
Confirmed on gentoo with exact same backtrace.

Thread 1 (Thread 0x7f025e576740 (LWP 29062))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 run_bug_buddy
    at gnome-breakpad.cc line 369
  • #4 check_if_gdb
    at gnome-breakpad.cc line 440
  • #5 bugbuddy_segv_handle
    at gnome-breakpad.cc line 223
  • #6 <signal handler called>
  • #7 IA__g_object_ref
    at gobject.c line 2424
  • #8 gtk_widget_set_style_internal
    at gtkwidget.c line 6887
  • #9 gtk_label_get_link_colors
    at gtklabel.c line 2201
  • #10 parse_uri_markup
    at gtklabel.c line 2233
  • #11 gtk_label_set_markup_internal
    at gtklabel.c line 2314
  • #12 gtk_label_recalculate
    at gtklabel.c line 1868
  • #13 IA__gtk_label_set_markup
    at gtklabel.c line 2422
  • #14 gsd_ldsm_dialog_new
    at gsd-ldsm-dialog.c line 464
  • #15 ldsm_notify_for_mount
    at gsd-disk-space.c line 195
  • #16 ldsm_maybe_warn_mounts
    at gsd-disk-space.c line 421
  • #17 ldsm_check_all_mounts
    at gsd-disk-space.c line 512
  • #18 g_timeout_dispatch
    at gmain.c line 3396
  • #19 g_main_dispatch
    at gmain.c line 1960
  • #20 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #21 g_main_context_iterate
    at gmain.c line 2591
  • #22 IA__g_main_loop_run
    at gmain.c line 2799
  • #23 IA__gtk_main
    at gtkmain.c line 1219
  • #24 main
    at main.c line 502

Comment 10 Giedrius Slavinskas 2010-04-02 15:25:32 UTC
It seems its fixed with 2.30 release, because I cannot reproduce this bug anymore. Now when I have only few hundreds of megs left in my partition, I got a warning dialog about low space in a disk.