Core dump with "tracker3 info filename"

I am opening a new thread for the tracker3 issue because I do not want to high jack the other thread where I mentioned my problem before:

I do have an issue with using “tracker3 info” command. It core dumps on a variety of filetypes, mainly pictures and videos. But it works fine with txt or libreoffice documents.

Example:

╰─# tracker3 info ./Gradient-960x192.png
Querying information for entity: './Gradient-960x192.png'
  No metadata available for that URI
Data object ?/home/matthias/Bilder/Gradient-960x192.png? currently exists

results in a core dump.

Interestingly, when I add option “-t” to the command it works without core dump. (-t sets output format as Turtle RDF"

╰─# tracker3 info -t ./Gradient-960x192.png
@prefix nco: <http://tracker.api.gnome.org/ontology/v3/nco#> .
@prefix dc: <http://purl.org/dc/elements/1.1#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nao: <http://tracker.api.gnome.org/ontology/v3/nao#> .
@prefix tracker: <http://tracker.api.gnome.org/ontology/v3/tracker#> .
@prefix fts: <http://tracker.api.gnome.org/ontology/v3/fts#> .
@prefix nmm: <http://tracker.api.gnome.org/ontology/v3/nmm#> .
@prefix nie: <http://tracker.api.gnome.org/ontology/v3/nie#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix slo: <http://tracker.api.gnome.org/ontology/v3/slo#> .
@prefix nrl: <http://tracker.api.gnome.org/ontology/v3/nrl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix osinfo: <http://tracker.api.gnome.org/ontology/v3/osinfo#> .
@prefix nfo: <http://tracker.api.gnome.org/ontology/v3/nfo#> .
@prefix mfo: <http://tracker.api.gnome.org/ontology/v3/mfo#> .

# No metadata available for <file:///home/matthias/Bilder/Gradient-960x192.png>

This is really weird. Any idea what is causing this?

True. FWIW, it works fine in my Gnome Wayland session, even while changing various target folders, restarting, etc. Normal CPU, no crash dumps.

Random ideas, apart from a bug, might relate to caching, security, bug in a dependant package. :person_shrugging:

Have you checked upstream bug reports?

I opened a bug report: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/260

2 Likes