This is a regression from sqlite3 3.45.1-1ubuntu2.9 (noble-updates, published
on Nov 4) and probably needs reassigning to or linking with the sqlite3 source
package.
I isolated the issue like this: on Ubuntu 24.04 with tracker-miner-fs 
3.7.1-1ubuntu0.1, I
unpacked libsqlite3-0=3.45.1-1ubuntu2.8 from noble-security into a temp dir with
dpkg -x, cleared the tracker index, and pointed only the miner at that library
via systemctl --user set-environment 
LD_LIBRARY_PATH=<dir>/usr/lib/x86_64-linux-gnu.
/proc/<pid>/maps confirmed the loaded libsqlite3.so.0.8.6 was the unpacked one.
When I measure on the same machine with the same files:
  libsqlite3-0   2.9 (installed)                 2.8
  index          0 files, 0 folders              34,750 files, 1,927 folders
  failures       36,678                         25 (PNGs, .raw, a broken zip)
  journal        ambiguous column name: ROWID    no ROWID errors
                 on every statement
  CPU            97.5% of one core               0.7%
Under 2.8 the status reads "All data miners are idle".
2.9 backports upstream check-in 7a3d0027f8 from sqlite 3.45.3 (src/resolve.c,
src/expr.c, src/select.c; name resolution, LP #2087772), and tracker 3.7.1's
generated SQL is ambiguous under that resolver. GNOME issue #339 reports the 
same
message against sqlite 3.45.3. Noble ships 3.7.1-1ubuntu0.1 and has nothing 
newer
in -proposed, so no tracker build can currently ship against 2.9.
Either of these fixes can work: backport the tracker-sparql fix (per an earlier 
comment, fixed
upstream in 3.7.3) or revert 2.9 until tracker catches up. Users can work around
it by reverting libsqlite3-0 to 2.8 and holding it, or by scoping 2.8 to
tracker-miner-fs-3.service with a systemd user drop-in.
Both tracker and libsqlite3 come from the archive on the affected machine, so 
the
third-party-packages tag does not apply.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173648

Title:
  Tracker 3.7.1 on Ubuntu 24.04 produces thousands of errors with the
  message ambiguous column name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/2173648/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to