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 664298 - ~/xsession_errors gets flooded by nautilus
~/xsession_errors gets flooded by nautilus
Status: RESOLVED NOTGNOME
Product: nautilus
Classification: Core
Component: general
3.2.x
Other Linux
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-17 19:14 UTC by Michael Cochez
Modified: 2012-03-29 21:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Cochez 2011-11-17 19:14:55 UTC
The file gets every couple of seconds the following line appended:

(nautilus:1655): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
Comment 1 Cosimo Cecchi 2011-11-17 19:37:03 UTC
I don't see those criticals here; could you run Nautilus inside a gdb session with the environment variable G_DEBUG set to "fatal_criticals" and paste a backtrace of what's happening? I believe those criticals come from an extension.
Comment 2 Akhil Laddha 2011-12-29 08:13:50 UTC
Michael, were you able to collect trace as requested in comment#1 ?
Comment 3 Akhil Laddha 2012-02-03 12:35:25 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 4 Michael Cochez 2012-03-18 10:33:00 UTC
I still get a similar message appended every few seconds, the line number is different though:

(nautilus:2265): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

I tried the following to collect the requested information:

> env G_DEBUG="fatal_criticals" gdb nautilus

However, it does not even seem to start nautilus. Could anyone tell how the information can be collected? I use ubuntu linux.
Comment 5 Michael Cochez 2012-03-18 10:55:02 UTC
I installed the development version and typed 'run'in the gdb console. I got the following output. I hope it helps.

--------------------------------------------------------
Starting program: /usr/bin/nautilus 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffec6ce700 (LWP 8155)]
[New Thread 0x7fffebecd700 (LWP 8156)]
[New Thread 0x7fffeb6cc700 (LWP 8157)]
Initializing nautilus-gdu extension
[New Thread 0x7fffdcf2e700 (LWP 8158)]
[New Thread 0x7fffdc72d700 (LWP 8159)]
[New Thread 0x7fffdbf2c700 (LWP 8160)]
[New Thread 0x7fffda108700 (LWP 8163)]
[New Thread 0x7fffd9907700 (LWP 8164)]
[New Thread 0x7fffd9106700 (LWP 8165)]

GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff4445313 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
--------------------------------------------------------
Comment 6 Cosimo Cecchi 2012-03-18 15:30:14 UTC
(In reply to comment #5)
> 
> GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT
> (value)' failed
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00007ffff4445313 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> --------------------------------------------------------

We need a backtrace for this crash. When this happens in gdb, type "bt" in the console, and paste the output you get.
You might need to install glib/gtk+/nautilus debug info packages for your distribution to get a good trace. See also https://live.gnome.org/GettingTraces
Comment 7 Michael Cochez 2012-03-18 16:27:16 UTC
I get the following stacktrace:



  • #0 g_logv
    at /build/buildd/glib2.0-2.30.0/./glib/gmessages.c line 577
  • #1 g_log
    at /build/buildd/glib2.0-2.30.0/./glib/gmessages.c line 591
  • #2 g_value_get_object
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 3215
  • #3 ??
    from /usr/lib/libdbusmenu-gtk3.so.4
  • #4 g_closure_invoke
    at /build/buildd/glib2.0-2.30.0/./gobject/gclosure.c line 774
  • #5 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3272
  • #6 g_signal_emit_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3003
  • #7 g_signal_emit
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3060
  • #8 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 925
  • #9 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.30.0/./gobject/gobjectnotifyqueue.c line 132
  • #10 g_object_set_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 1733
  • #11 g_object_set
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 1833
  • #12 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 2893
  • #13 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3040
  • #14 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3040
  • #15 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3040
  • #16 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3040
  • #17 update_node
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3040
  • #18 do_updates
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3082
  • #19 gtk_ui_manager_ensure_update
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3137
  • #20 gtk_ui_manager_ensure_update
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 3132
  • #21 gtk_ui_manager_real_get_widget
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkuimanager.c line 813
  • #22 nautilus_menus_append_bookmark_to_menu
    at nautilus-window-bookmarks.c line 343
  • #23 update_bookmarks
    at nautilus-window-bookmarks.c line 392
  • #24 refresh_bookmarks_menu
    at nautilus-window-bookmarks.c line 410
  • #25 g_closure_invoke
    at /build/buildd/glib2.0-2.30.0/./gobject/gclosure.c line 774
  • #26 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3272
  • #27 g_signal_emit_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3003
  • #28 g_signal_emit
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3060
  • #29 g_closure_invoke
    at /build/buildd/glib2.0-2.30.0/./gobject/gclosure.c line 774
  • #30 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3272
  • #31 g_signal_emit_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3003
  • #32 g_signal_emit
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3060
  • #33 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 925
  • #34 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.30.0/./gobject/gobjectnotifyqueue.c line 132
  • #35 g_object_set_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 1733
  • #36 g_object_set
    at /build/buildd/glib2.0-2.30.0/./gobject/gobject.c line 1833
  • #37 nautilus_bookmark_update_icon
    at nautilus-bookmark.c line 111
  • #38 nautilus_bookmark_update_icon
    at nautilus-bookmark.c line 92
  • #39 bookmark_file_changed_callback
    at nautilus-bookmark.c line 184
  • #40 g_closure_invoke
    at /build/buildd/glib2.0-2.30.0/./gobject/gclosure.c line 774
  • #41 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3272
  • #42 g_signal_emit_valist
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3003
  • #43 g_signal_emit
    at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c line 3060
  • #44 nautilus_file_emit_changed
    at nautilus-file.c line 7119
  • #45 nautilus_directory_emit_change_signals
    at nautilus-directory.c line 770
  • #46 nautilus_file_changed
    at nautilus-file.c line 7074
  • #47 count_children_done
    at nautilus-directory-async.c line 2447
  • #48 count_more_files_callback
    at nautilus-directory-async.c line 2504
  • #49 next_async_callback_wrapper
    at /build/buildd/glib2.0-2.30.0/./gio/gfileenumerator.c line 298
  • #50 g_simple_async_result_complete
    at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c line 749
  • #51 complete_in_idle_cb_for_thread
    at /build/buildd/glib2.0-2.30.0/./gio/gsimpleasyncresult.c line 817
  • #52 g_main_dispatch
    at /build/buildd/glib2.0-2.30.0/./glib/gmain.c line 2441
  • #53 g_main_context_dispatch
    at /build/buildd/glib2.0-2.30.0/./glib/gmain.c line 3011
  • #54 g_main_context_iterate
    at /build/buildd/glib2.0-2.30.0/./glib/gmain.c line 3089
  • #55 g_main_loop_run
    at /build/buildd/glib2.0-2.30.0/./glib/gmain.c line 3297
  • #56 gtk_main
    at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkmain.c line 1367
  • #57 g_application_run
    at /build/buildd/glib2.0-2.30.0/./gio/gapplication.c line 1323
  • #58 main
    at nautilus-main.c line 102

Comment 8 Cosimo Cecchi 2012-03-29 21:44:45 UTC
#3 ??
from /usr/lib/libdbusmenu-gtk3.so.4

This is apparently caused by an Ubuntu-specific component => NOTGNOME.
Please report this bug in Launchpad.