Bug#942410: gnome-settings-daemon: gsd-housekeeping crashes

Bernhard Übelacker bernhardu at mailbox.org
Tue Jan 14 10:19:10 GMT 2020


Dear Maintainer, hello Benjamin,
the core seems at least related to the "Too many open files" lines.
Unfortunately I cannot get the whole backtrace (see below).
The crash seems to be the same as already reported in #851498, which
got forwarded to upstream in [1].

I guess in "Gnome - Settings - Privacy - Purge Trash & Temoprary Files",
by default "Automatically purge Temporary Files" is off, so this
might not show up by default.

There is another upstream issue about the "Permission denied"
messages in [2], Ubuntu downstream in [3], Fedora [4].


For the missing files - got the partition mounted to
e.g. /tmp/fsa/20191015-204501-00010385-00 ?
If then gsd-housekeeping walks there and finds old files
in that directory would it might delete them?

Kind regards,
Bernhard


#851498 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851498
[1] https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/345
[2] https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/26
[3] https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1745666
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1563445


(gdb) bt
#0  0x00007f3bde066c75 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
#1  0x00007f3bde067d0d in g_log_default_handler (log_domain=log_domain at entry=0x7f3bde0ac00e "GLib", log_level=log_level at entry=6, message=message at entry=0x56301f465d60 "Creating pipes for GWakeup: Too many open files", unused_data=unused_data at entry=0x0) at ../../../glib/gmessages.c:3111
#2  0x00007f3bde067f5f in g_logv (log_domain=0x7f3bde0ac00e "GLib", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args at entry=0x7ffdb8b33f20) at ../../../glib/gmessages.c:1350
#3  0x00007f3bde06814f in g_log (log_domain=log_domain at entry=0x7f3bde0ac00e "GLib", log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0x7f3bde10f1d8 "Creating pipes for GWakeup: %s") at ../../../glib/gmessages.c:1413
#4  0x00007f3bde0a6a4a in g_wakeup_new () at ../../../glib/gwakeup.c:161
#5  0x00007f3bde05e703 in g_main_context_new () at ../../../glib/gmain.c:656
#6  0x00007f3bde27ecd6 in g_dbus_connection_send_message_with_reply_sync (connection=connection at entry=0x56301f366070 [GDBusConnection], message=message at entry=0x7f3bcc006450 [GDBusMessage], flags=flags at entry=G_DBUS_SEND_MESSAGE_FLAGS_NONE, timeout_msec=timeout_msec at entry=-1, out_serial=out_serial at entry=0x0, cancellable=cancellable at entry=0x0, error=0x7ffdb8b34100) at ../../../gio/gdbusconnection.c:2129
#7  0x00007f3bde27f11f in g_dbus_connection_call_sync_internal (connection=0x56301f366070 [GDBusConnection], bus_name=bus_name at entry=0x56301f58c5f0 ":1.27", object_path=0x56301f43acf0 "/org/gtk/vfs/metadata", interface_name=interface_name at entry=0x56301f3b6f40 "org.gtk.vfs.Metadata", method_name=method_name at entry=0x7f3bdc333e16 "GetTreeFromDevice", parameters=parameters at entry=0x7f3bc008ec10, reply_type=0x56301f591aa0, flags=G_DBUS_CALL_FLAGS_NONE, timeout_msec=-1, fd_list=0x0, out_fd_list=0x0, cancellable=0x0, error=0x7ffdb8b342e0) at ../../../gio/gdbusconnection.c:5941
#8  0x00007f3bde281605 in g_dbus_connection_call_with_unix_fd_list_sync (connection=<optimized out>, bus_name=bus_name at entry=0x56301f58c5f0 ":1.27", object_path=<optimized out>, interface_name=interface_name at entry=0x56301f3b6f40 "org.gtk.vfs.Metadata", method_name=method_name at entry=0x7f3bdc333e16 "GetTreeFromDevice", parameters=parameters at entry=0x7f3bc008ec10, reply_type=0x56301f591aa0, flags=G_DBUS_CALL_FLAGS_NONE, timeout_msec=-1, fd_list=0x0, out_fd_list=0x0, cancellable=0x0, error=0x7ffdb8b342e0) at ../../../gio/gdbusconnection.c:6290
#9  0x00007f3bde28b809 in g_dbus_proxy_call_sync_internal (proxy=0x56301f36b4b0 [GVfsMetadataProxy], method_name=method_name at entry=0x7f3bdc333e16 "GetTreeFromDevice", parameters=parameters at entry=0x7f3bc008ec10, flags=flags at entry=G_DBUS_CALL_FLAGS_NONE, timeout_msec=timeout_msec at entry=-1, fd_list=fd_list at entry=0x0, out_fd_list=0x0, cancellable=0x0, error=0x7ffdb8b342e0) at ../../../gio/gdbusproxy.c:2870
#10 0x00007f3bde28cc74 in g_dbus_proxy_call_sync (proxy=<optimized out>, method_name=method_name at entry=0x7f3bdc333e16 "GetTreeFromDevice", parameters=parameters at entry=0x7f3bc008ec10, flags=flags at entry=G_DBUS_CALL_FLAGS_NONE, timeout_msec=timeout_msec at entry=-1, cancellable=cancellable at entry=0x0, error=0x7ffdb8b342e0) at ../../../gio/gdbusproxy.c:3062
#11 0x00007f3bdc32aaf8 in gvfs_metadata_call_get_tree_from_device_sync (proxy=0x56301f36b4b0, arg_major=arg_major at entry=8, arg_minor=<optimized out>, out_tree=out_tree at entry=0x7ffdb8b342d8, cancellable=cancellable at entry=0x0, error=error at entry=0x7ffdb8b342e0) at metadata/metadata-dbus.c:969
#12 0x00007f3bdc32f636 in get_tree_for_device (cache=0x56301f65b850, cache=0x56301f65b850, device=2052) at /usr/include/x86_64-linux-gnu/sys/sysmacros.h:41
#13 0x00007f3bdc32f636 in meta_lookup_cache_lookup_path (cache=cache at entry=0x56301f65b850, filename=filename at entry=0x7f3bd01919f0 "/tmp/fsa/20191015-204501-00010385-00/home/benjamin/.gnupg/private-keys-v1.d/0FFC000D892D13A0B16067E98BA530ECC5F9B92C.key", device=2052, device at entry=0, for_write=for_write at entry=0, tree_path=tree_path at entry=0x7ffdb8b343d0) at ../metadata/metatree.c:3379
#14 0x00007f3bdc326645 in g_daemon_vfs_local_file_removed (vfs=<optimized out>, filename=0x7f3bd01919f0 "/tmp/fsa/20191015-204501-00010385-00/home/benjamin/.gnupg/private-keys-v1.d/0FFC000D892D13A0B16067E98BA530ECC5F9B92C.key") at ../client/gdaemonvfs.c:1350
#15 0x00007f3bde2a3c2d in g_local_file_delete (file=<optimized out>, cancellable=<optimized out>, error=0x0) at ../../../gio/glocalfile.c:1527
#16 0x000056301d353ffd in delete_subdir (source=<optimized out>, res=0x56301f43a6b0, user_data=user_data at entry=0x56301f4f4330) at ../plugins/housekeeping/gsd-disk-space.c:383
#17 0x00007f3bde2286f9 in g_task_return_now (task=0x56301f43a6b0 [GTask]) at ../../../gio/gtask.c:1148
#18 0x00007f3bde228739 in complete_in_idle_cb (task=0x56301f43a6b0) at ../../../gio/gtask.c:1162
#19 0x00007f3bde060dd8 in g_main_dispatch (context=0x56301f353bf0) at ../../../glib/gmain.c:3182
#20 0x00007f3bde060dd8 in g_main_context_dispatch (context=context at entry=0x56301f353bf0) at ../../../glib/gmain.c:3847
#21 0x00007f3bde0611c8 in g_main_context_iterate (context=0x56301f353bf0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#22 0x00007f3bde0614c2 in g_main_loop_run (loop=0x56301f354df0) at ../../../glib/gmain.c:4116
#23 0x000056301d352c85 in main (argc=<optimized out>, argv=<optimized out>) at ../plugins/common/daemon-skeleton.h:219



More information about the pkg-gnome-maintainers mailing list