Description of problem: tracker-miners crashes after login and also crashes randomly when user is logged in on latest Fedora 33 Workstation system. Version-Release number of selected component (if applicable): tracker-miners-2.3.4-1.fc33.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Use latest Fedora 33 Workstation system. 2. Log in. Actual results: tracker-miners crashes. Expected results: tracker-miners does not crash. Additional info: This was in journal log: zář 03 15:28:02 localhost.localdomain systemd-coredump[2259]: Process 2230 (tracker-extract) of user 1000 dumped core. Stack trace of thread 2257: #0 0x00007fa871df4b5e statx (libc.so.6 + 0xf1b5e) #1 0x00007fa8721f3589 _g_local_file_info_get (libgio-2.0.so.0 + 0x129589) #2 0x00007fa8721ebf4a g_local_file_query_info (libgio-2.0.so.0 + 0x121f4a) #3 0x000055bbd9d45b48 tracker_file_get_size (tracker-extract + 0x15b48) #4 0x00007fa8581bee56 tracker_extract_get_metadata (libextract-png.so + 0x3e56) #5 0x000055bbd9d3df7c get_file_metadata (tracker-extract + 0xdf7c) #6 0x000055bbd9d4244b get_metadata (tracker-extract + 0x1244b) #7 0x000055bbd9d48ea0 single_thread_get_metadata (tracker-extract + 0x18ea0) #8 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #9 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #10 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2231: #0 0x00007fa871df9a0f __poll (libc.so.6 + 0xf6a0f) #1 0x00007fa871fdc9de g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa29de) #2 0x00007fa871f893ef g_main_context_iteration (libglib-2.0.so.0 + 0x4f3ef) #3 0x00007fa871f8b021 glib_worker_main (libglib-2.0.so.0 + 0x51021) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2233: #0 0x00007fa871df9a0f __poll (libc.so.6 + 0xf6a0f) #1 0x00007fa871fdc9de g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa29de) #2 0x00007fa871f893ef g_main_context_iteration (libglib-2.0.so.0 + 0x4f3ef) #3 0x00007fa86070a03d dconf_gdbus_worker_thread (libdconfsettings.so + 0x703d) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2234: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2235: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2236: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2237: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2238: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2239: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2240: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2241: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2242: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2243: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2244: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd862f g_cond_wait (libglib-2.0.so.0 + 0x9e62f) #2 0x00007fa871f5d35b g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2335b) #3 0x00007fa871fbb9e7 g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x819e7) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2256: #0 0x00007fa871dff50d syscall (libc.so.6 + 0xfc50d) #1 0x00007fa871fd8a98 g_cond_wait_until (libglib-2.0.so.0 + 0x9ea98) #2 0x00007fa871f5d341 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x23341) #3 0x00007fa871fbbb6a g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x81b6a) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2232: #0 0x00007fa871df9a0f __poll (libc.so.6 + 0xf6a0f) #1 0x00007fa871fdc9de g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa29de) #2 0x00007fa871f8b69b g_main_loop_run (libglib-2.0.so.0 + 0x5169b) #3 0x00007fa8721d26a6 gdbus_shared_thread_func.lto_priv.0 (libgio-2.0.so.0 + 0x1086a6) #4 0x00007fa871fb8ede g_thread_proxy (libglib-2.0.so.0 + 0x7eede) #5 0x00007fa87113a3f9 start_thread (libpthread.so.0 + 0x93f9) #6 0x00007fa871e04b03 __clone (libc.so.6 + 0x101b03) Stack trace of thread 2230: #0 0x00007fa871df9a0f __poll (libc.so.6 + 0xf6a0f) #1 0x00007fa871fdc9de g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa29de) #2 0x00007fa871f8b69b g_main_loop_run (libglib-2.0.so.0 + 0x5169b) #3 0x000055bbd9d3d12b main (tracker-extract + 0xd12b) #4 0x00007fa871d2b1a2 __libc_start_main (libc.so.6 + 0x281a2) #5 0x000055bbd9d3d22e _start (tracker-extract + 0xd22e)
The provided coredump is for tracker-extract. It seems that both tracker-miners and tracker-extract are crashing.
I see that the crashing thread ends with calling 'statx' -- I assume this must be due to glib switching to statx instead of stat in F33 and that broke tracker sandboxing (it needs to whitelist statx, if my theory is right). Any chance you could file this as an issue upstream against tracker or tracker-miners?
Done: https://gitlab.gnome.org/GNOME/tracker/-/issues/254
Great, thanks! I left a comment there too.
OK, it's fixed in git upstream now and I've backported the fix to tracker-miners-2.3.4-2.fc33. I'll also nominate this as a Beta FE as it would be nice to have a non-crashing tracker on the install media. The fix should be very low risk as it just adds the statx syscall to the whitelist (new glib2 version that's already in F33 uses statx so tracker needs to whitelist this in its sandbox to not crash).
FEDORA-2020-6138a5e1b2 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-6138a5e1b2
FEDORA-2020-6138a5e1b2 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-6138a5e1b2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-6138a5e1b2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Setting as AcceptedFreezeException per voting: https://pagure.io/fedora-qa/blocker-review/issue/66 Setting as Verified as tracker-miners crashing stopped after the update.
FEDORA-2020-6138a5e1b2 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
I've reported this 2020-08-27 but was no reaction at all https://bugzilla.redhat.com/show_bug.cgi?id=1873196 Anyway no more crashes since last update.
*** Bug 1873196 has been marked as a duplicate of this bug. ***
Sorry Artem, sometimes I miss things in bugzilla noise. Feel free to poke me on irc (or send an email) if there's something urgent that needs attention in GNOME packages.
No prob. :) Same here with bugzilla and often missing important notifications. Good to know the next time. This was not urgent bug but annoying in same time since i've updated to f33 everywhere. Thanks Kalev!