You are not logged in.

#1 2024-11-12 04:59:00

physkets
Member
From: India
Registered: 2016-08-22
Posts: 34

localsearch-extractor-3 causes desktop to crash

My desktop crashed yesterday at some point when unattended and ended the logged-in user session. The following is a section of the journal from around when that happened:

Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.652: Could not get mimetype, Error when getting information for file “/home/physkets/Documents/Zotero/storage/tmp>
Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.652: Task for 'file:///home/physkets/Documents/Zotero/storage/tmp-5VOfHr/Tapias%20et%20al.%20-%202024%20-%20Bring>
Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.655: Could not get mimetype, Error when getting information for file “/home/physkets/Documents/Zotero/storage/tmp>
Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.656: Task for 'file:///home/physkets/Documents/Zotero/storage/tmp-5VOfHr/Tapias%20et%20al.%20-%202024%20-%20Bring>
Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.659: Could not get mimetype, Error when getting information for file “/home/physkets/Documents/Zotero/storage/tmp>
Nov 12 05:34:02 omega localsearch-3[22103]: (localsearch-extractor-3:22103): Tracker-WARNING **: 05:34:02.659: Task for 'file:///home/physkets/Documents/Zotero/storage/tmp-5VOfHr/Tapias%20et%20al.%20-%202024%20-%20Bring>
Nov 12 05:34:04 omega systemd[1616]: org.gnome.Shell@wayland.service: Main process exited, code=killed, status=9/KILL
Nov 12 05:34:04 omega systemd[1616]: xdg-desktop-portal-gnome.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: gnome-terminal-server.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: dbus-:1.2-org.gnome.Nautilus@0.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: dbus-:1.2-org.gnome.Calendar@0.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: dbus-:1.2-org.gnome.Recipes@1.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.Color.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.Keyboard.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.MediaKeys.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.Wacom.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.Power.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.SettingsDaemon.XSettings.service: Failed with result 'exit-code'.
Nov 12 05:34:04 omega systemd[1616]: org.gnome.Shell@wayland.service: Failed with result 'signal'.
Nov 12 05:34:04 omega localsearch-3[2766]: Owner of volume monitor org.gtk.vfs.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Nov 12 05:34:04 omega localsearch-3[2766]: Owner of volume monitor org.gtk.vfs.GoaVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Nov 12 05:34:04 omega localsearch-3[2766]: Owner of volume monitor org.gtk.vfs.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Nov 12 05:34:04 omega localsearch-3[2766]: Owner of volume monitor org.gtk.vfs.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Nov 12 05:34:04 omega kernel: rfkill: input handler enabled
Nov 12 05:34:04 omega systemd[1]: run-user-60369-gvfs.mount: Deactivated successfully.
Nov 12 05:34:04 omega systemd[1]: run-user-60369-doc.mount: Deactivated successfully.
Nov 12 05:34:04 omega localsearch-3[2766]: Owner of volume monitor org.gtk.vfs.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Nov 12 05:34:04 omega gdm-password][1564]: pam_systemd_home(gdm-password:session): New sd-bus connection (system-bus-pam-systemd-home-1564) opened.
Nov 12 05:34:04 omega gdm-password][1564]: pam_systemd_home(gdm-password:session): Not deactivating home directory of physkets, as it is still used.
Nov 12 05:34:04 omega gdm-password][1564]: pam_unix(gdm-password:session): session closed for user physkets
Nov 12 05:34:04 omega gdm-password][1564]: pam_systemd(gdm-password:session): New sd-bus connection (system-bus-pam-systemd-1564) opened.
Nov 12 05:34:04 omega systemd[1]: session-3.scope: Deactivated successfully.
Nov 12 05:34:04 omega systemd-logind[603]: Session 3 logged out. Waiting for processes to exit.
Nov 12 05:34:04 omega systemd-logind[603]: Removed session 3.

Is anyone else seeing this happen?
It has only happened once so far. Is there anything I can do to fix it?

Last edited by physkets (2024-11-12 04:59:52)

Offline

#2 2024-11-12 12:25:30

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: localsearch-extractor-3 causes desktop to crash

Your journal excerpt is cropped, use "journalctl -l " to see the full path of the file in /Documents/Zotero/storage/tmp> triggering the warning, then check the output of

file filename
localsearch info --file filename

Did you leave the desktop unattended while there was a task running, can be simple things like, for example, copying data around?

Offline

#3 2024-11-13 05:13:17

physkets
Member
From: India
Registered: 2016-08-22
Posts: 34

Re: localsearch-extractor-3 causes desktop to crash

The directory

/Documents/Zotero/storage/tmp-5VOfHr/

is no longer present when look. It seems like it is a temporary directory created during some operations by Zotero.

Yes, there were some python programs running overnight (unrelated to Zotero).

Offline

#4 2024-11-13 08:46:50

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,485

Re: localsearch-extractor-3 causes desktop to crash

Ok. What should happen is localsearch re-trying a few times on warnings and then die/let it be. But there are some issues open where it ends up crashing gnome-shell, like ones linked in https://gitlab.gnome.org/GNOME/localsearch/-/issues/345

Scripts running file operations can obviously cause a lot of load, e.g. when they create temporary files, copy or move them, because the localsearch gets triggered with each operation multiple times. What you can do:

 $ touch /Documents/Zotero/storage/.nomedia

excludes the folder from localsearch. If you want it included, you should make sure the python scripts use another temporary file path outside the indexed folders.

Offline

#5 2024-11-14 02:12:48

physkets
Member
From: India
Registered: 2016-08-22
Posts: 34

Re: localsearch-extractor-3 causes desktop to crash

Thanks a lot! I will use that to exclude any directories that have volatile contents or those that I don't need available under a local search.

Offline

Board footer

Powered by FluxBB