Tracker error slows down system and breaks suspend to RAM

Bug #1694006 reported by Wolf Rogner
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

By default Budgie installs tracker.

$ tracker status

(tracker status:11680): Tracker-WARNING **: tracker-backend.vala:211: Falling back to bus backend, the direct backend failed to initialize: unable to open database file
Could not get basic status for Tracker, GDBus.Error:org.freedesktop.Tracker1.SparqlError.Internal: no such table: nfo:FileDataObject

in syslog:

May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
May 27 13:02:32 mbpr15 tracker-extract[11366]: char* poppler_page_get_text(PopplerPage*): assertion 'POPPLER_IS_PAGE (page)' failed
....

May 27 13:06:23 mbpr15 tracker-extract[11638]: Could not insert metadata for item "file:///home/wolf/Documents/books/it-vertrage-kurz-und-praktisch.pdf": 42.33: invalid UTF-8 character
May 27 13:06:23 mbpr15 tracker-extract[11638]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information

....

This slows down the system tremendously. As a side effect, the system can't go into suspend to RAM mode (wakes up every second)

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: tracker 1.12.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-21.23-generic 4.10.11
Uname: Linux 4.10.0-21-generic x86_64
NonfreeKernelModules: nvidia_uvm wl nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Sat May 27 13:04:43 2017
InstallationDate: Installed on 2017-05-25 (1 days ago)
InstallationMedia: Ubuntu-Budgie 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: tracker
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Wolf Rogner (war-rsb) wrote :
Revision history for this message
Wolf Rogner (war-rsb) wrote :

Some more detail:

sudo tracker daemon --get-log-verbosity
Components:
  Store : errors
  Extract : errors
  Writeback: errors

Miners (Only those with config listed):
  Files : errors

(tracker daemon:12598): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:12598): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:12598): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:12598): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(tracker daemon:12598): Tracker-WARNING **: (tracker-daemon.c:1708):daemon_run: code should not be reached

Revision history for this message
Tim Lunn (darkxst) wrote :

May 27 13:06:23 mbpr15 tracker-extract[11638]: Could not insert metadata for item "file:///home/wolf/Documents/books/it-vertrage-kurz-und-praktisch.pdf": 42.33: invalid UTF-8 character

Is it always that same file that causes it?

May 27 13:06:23 mbpr15 tracker-extract[11638]: If the error above is recurrent for the same item/ID, consider running "tracker-extract" in the terminal with the TRACKER_VERBOSITY=3 environment variable, and filing a bug with the additional information

if so run the following on your problematic file and file an upstream bug at bugs.gnome.org with the output. If you do so please provide a link to the upstream bug, so we can add it onto this bug report.
tracker extract -v debug <FILE>

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tracker (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.