FS#77576 - tracker-extract crashes due to conflicting libsoup versions

Attached to Project: Arch Linux
Opened by Robert Clipsham (mrmonday) - Sunday, 19 February 2023, 20:09 GMT
Last edited by Antonio Rojas (arojas) - Monday, 20 February 2023, 09:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Running `tracker daemon -s` gives the following:

```
Starting miners…

(tracker daemon:33154): Tracker-CRITICAL **: 20:01:04.443: Could not create proxy on the D-Bus session bus, Error calling StartServiceByName for org.freedesktop.Tracker1.Miner.Extract: Timeout was reached
✓ RSS/ATOM Feeds
✓ File System

(tracker daemon:33154): Tracker-CRITICAL **: 20:01:04.444: No D-Bus proxy found for miner 'org.freedesktop.Tracker1.Miner.Extract'
✗ Extractor (perhaps a disabled plugin?)
```

From `journalctl`:

```
systemd[1868]: Starting Tracker metadata extractor...
tracker-extract[33284]: Set scheduler policy to SCHED_IDLE
tracker-extract[33284]: Setting priority nice level to 19
tracker-extract[33284]: Could not load module '/usr/lib/tracker-miners-2.0/extract-modules/libextract-tiff.so': libtiff.so.5: cannot open shared o>
tracker-extract[33284]: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.
kernel: traps: tracker-extract[33284] trap int3 ip:7f1573da4ff8 sp:7fff7d8d8350 error:0 in libglib-2.0.so.0.7400.5[7f1573d65000+93000]
systemd[1]: Started Process Core Dump (PID 33298/UID 0).
systemd-coredump[33299]: [🡕] Process 33284 (tracker-extract) of user 60394 dumped core.
```

Stack trace from gdb:

```
#0 g_log_structured_array (log_level=<optimized out>, fields=0x7fff101d43a0, n_fields=4) at ../glib/glib/gmessages.c:563
#1 0x00007f51b9b10633 in g_log_default_handler (log_domain=<optimized out>, log_level=<optimized out>, message=<optimized out>, unused_data=<optimized out>)
at ../glib/glib/gmessages.c:3312
#2 0x00007f51b9b11865 in g_logv (log_domain=0x7f518dd89339 "libsoup", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=<optimized out>)
at ../glib/glib/gmessages.c:1402
#3 0x00007f51b9b11b14 in g_log
(log_domain=log_domain@entry=0x7f518dd89339 "libsoup", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7f518dd93448 "libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported.") at ../glib/glib/gmessages.c:1471
#4 0x00007f518dd36105 in soup_init () at ../libsoup/libsoup/soup-init.c:55
#5 soup_init_ctor () at ../libsoup/libsoup/soup-init.c:96
#6 0x00007f51b9eac0fe in call_init (env=0x55cf58aa1a70, argv=0x7fff101d4e88, argc=1, l=<optimized out>) at dl-init.c:70
#7 call_init (l=<optimized out>, argc=1, argv=0x7fff101d4e88, env=0x55cf58aa1a70) at dl-init.c:26
#8 0x00007f51b9eac1ec in _dl_init (main_map=0x55cf58b0cff0, argc=1, argv=0x7fff101d4e88, env=0x55cf58aa1a70) at dl-init.c:117
#9 0x00007f51b9ea856e in __GI__dl_catch_exception (exception=exception@entry=0x0, operate=operate@entry=0x7f51b9eb2af0 <call_dl_init>, args=args@entry=0x7fff101d4790)
at dl-catch.c:211
#10 0x00007f51b9eb2a96 in dl_open_worker (a=a@entry=0x7fff101d4930) at dl-open.c:808
#11 0x00007f51b9ea84e1 in __GI__dl_catch_exception
(exception=exception@entry=0x7fff101d4910, operate=operate@entry=0x7f51b9eb2a00 <dl_open_worker>, args=args@entry=0x7fff101d4930) at dl-catch.c:237
#12 0x00007f51b9eb2e2c in _dl_open
(file=0x55cf58b0cf50 "/usr/lib/tracker-miners-2.0/extract-modules/libextract-iso.so", mode=<optimized out>, caller_dlopen=0x7f51b9bf6782 <g_module_open_full+578>, nsid=<optimized out>, argc=1, argv=0x7fff101d4e88, env=0x55cf58aa1a70) at dl-open.c:884
#13 0x00007f51b98e4c8c in dlopen_doit (a=a@entry=0x7fff101d4ba0) at dlopen.c:56
#14 0x00007f51b9ea84e1 in __GI__dl_catch_exception (exception=exception@entry=0x7fff101d4b00, operate=0x7f51b98e4c30 <dlopen_doit>, args=0x7fff101d4ba0) at dl-catch.c:237
#15 0x00007f51b9ea8603 in _dl_catch_error (objname=0x7fff101d4b58, errstring=0x7fff101d4b60, mallocedp=0x7fff101d4b57, operate=<optimized out>, args=<optimized out>)
at dl-catch.c:256
#16 0x00007f51b98e475f in _dlerror_run (operate=operate@entry=0x7f51b98e4c30 <dlopen_doit>, args=args@entry=0x7fff101d4ba0) at dlerror.c:138
#17 0x00007f51b98e4d41 in dlopen_implementation (dl_caller=<optimized out>, mode=<optimized out>, file=<optimized out>) at dlopen.c:71
#18 ___dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:81
#19 0x00007f51b9bf6782 in _g_module_open
(error=0x0, bind_local=<optimized out>, bind_lazy=0, file_name=0x55cf58b0cf50 "/usr/lib/tracker-miners-2.0/extract-modules/libextract-iso.so")
at ../glib/gmodule/gmodule-dl.c:138
#20 g_module_open_full (file_name=0x55cf58a956e9 "/usr/lib/tracker-miners-2.0/extract-modules/libextract-iso.so", flags=<optimized out>, error=0x0)
at ../glib/gmodule/gmodule.c:614
#21 0x00007f51b9e96a24 in () at /usr/lib/tracker-miners-2.0/libtracker-extract.so
#22 0x00007f51b9e98797 in tracker_module_manager_load_modules () at /usr/lib/tracker-miners-2.0/libtracker-extract.so
#23 0x000055cf58a2e4b7 in main ()
```

tracker version 1:2.3.6+r7+gb27396252-2
libsoup3 version 3.2.2-1
libsoup version 2.74.3-1

This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 20 February 2023, 09:12 GMT
Reason for closing:  Not a bug
Comment by Toolybird (Toolybird) - Monday, 20 February 2023, 06:08 GMT
tracker3 is in the repos. Where is this "tracker" and "/usr/lib/tracker-miners-2.0" stuff coming from?
Comment by Robert Clipsham (mrmonday) - Monday, 20 February 2023, 08:49 GMT
Looks like these are left over from an old version of gnome:

$ pacman -Qo /usr/lib/tracker-miners-2.0
/usr/lib/tracker-miners-2.0/ is owned by tracker-miners 1:2.3.5+r3+gd9d61d87f-4
$ which tracker
/usr/bin/tracker
$ pacman -Qo /usr/bin/tracker
/usr/bin/tracker is owned by tracker 1:2.3.6+r7+gb27396252-2
$ pacman -Qi tracker
Name : tracker
Version : 1:2.3.6+r7+gb27396252-2
Description : Desktop-neutral user information store, search tool and indexer
Architecture : x86_64
URL : https://wiki.gnome.org/Projects/Tracker
Licenses : GPL
Groups : None
Provides : libtracker-control-2.0.so=0-64 libtracker-miner-2.0.so=0-64 libtracker-sparql-2.0.so=0-64
Depends On : sqlite icu glib2 libffi util-linux libstemmer libseccomp json-glib libsoup upower libnm
Optional Deps : None
Required By : gnome-online-miners tracker-miners
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 4.36 MiB
Packager : Felix Yan <felixonmars@archlinux.org>
Build Date : Fri 21 Oct 2022 16:41:52 BST
Install Date : Mon 24 Oct 2022 15:12:40 BST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

I've removed these, and used tracker3 instead:

pacman -R gnome-documents tracker-miners tracker gnome-online-miners

Loading...