*gvfs* correctly checks if the metadata database has been loaded
Prior to this update, the *gvfs* metadata daemon or client applications such as Nautilus terminated unexpectedly when uninitialized internal structures were used for corrupted or unreadable metadata databases. This update adds a missing check that verifies that the metadata database has been loaded properly. As a result, in the described circumstances, an error is returned instead of a crash occurring.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-0755.html
Version-Release number of selected component (if applicable): nautilus-2.28.4-19.el6 Truncated Backtrace: gdb) bt #0 journal_entry_is_key_type (journal=0x7f5c180239b0, path=<value optimized out>, key_callback=0x7f5c50002f90 <enum_keys_iter_key>, path_callback=0x7f5c50000fa0 <enum_keys_iter_path>, user_data=0x7f5c3bffd840) at metatree.c:1221 #1 meta_journal_iterate (journal=0x7f5c180239b0, path=<value optimized out>, key_callback=0x7f5c50002f90 <enum_keys_iter_key>, path_callback=0x7f5c50000fa0 <enum_keys_iter_path>, user_data=0x7f5c3bffd840) at metatree.c:1310 #2 0x00007f5c50002a88 in meta_tree_enumerate_keys (tree=0x7f5c18003af0, path=0x7f5c3400bb10 "/", callback=0x7f5c4ffee7a0 <enumerate_keys_callback>, user_data=0x2bef8c0) at metatree.c:2132 #3 0x00007f5c4ffee73a in g_daemon_vfs_local_file_add_info (vfs=<value optimized out>, filename=<value optimized out>, device=16929, matcher=0x7f5c3400d940, info=0x2bef8c0, cancellable=<value optimized out>, extra_data=0x7f5c3bffdab8, extra_data_free=0x7f5c3bffdac0) at gdaemonvfs.c:1141 #4 0x00000032c62a83ae in _g_local_file_info_get (basename=<value optimized out>, path=0x3052ad0 "/media/apm_f19_v4", attribute_matcher=0x7f5c3400d940, flags=G_FILE_QUERY_INFO_NONE, parent_info=<value optimized out>, error=<value optimized out>) at glocalfileinfo.c:1731 #5 0x00000032c62a4078 in g_local_file_query_info (file=0x2b142e0, attributes=<value optimized out>, flags=G_FILE_QUERY_INFO_NONE, cancellable=<value optimized out>, error=0x7f5c3bffdb18) at glocalfile.c:1186 Additional info: abrt_version: 2.0.8 backtrace_rating: 0 cmdline: nautilus --sm-client-id 10f41d376a413e773e138418330696669300000043370026 --sm-client-state-file /home/abenoit/.config/session-state/nautilus-1400867893.state executable: /usr/bin/nautilus kernel: 2.6.32-431.17.1.el6.x86_64 last_occurrence: 1401303015 pid: 4152 pwd: /home/abenoit time: Wed 28 May 2014 02:50:15 PM EDT uid: 18176