Bug#962870: tracker-miner-fs: Repeated SIGABRT crashes due to file_tree_lookup assertion failed

Tomáš Szaniszlo tomaxuser at gmail.com
Mon Jun 15 12:23:53 BST 2020


Package: tracker-miner-fs
Version: 2.3.3-2+b1
Severity: normal

Hello, in my user journal I noticed that the tracker-miner-fs binary frequently
crashes, a few times every minute. I did not install it explicitly, nor am I
aware of specifically configuring it.

User journal excerpt:

Jun 15 13:15:03 ... systemd[693688]: Starting Tracker file system data miner...
Jun 15 13:15:03 ... tracker-miner-f[713320]: Set scheduler policy to SCHED_IDLE
Jun 15 13:15:03 ... tracker-miner-f[713320]: Setting priority nice level to 19
Jun 15 13:15:03 ... systemd[693688]: Started Tracker file system data miner.
Jun 15 13:15:19 ... tracker-miner-fs[713320]: **
Jun 15 13:15:19 ... tracker-miner-fs[713320]: Tracker:ERROR:../src/libtracker-miner/tracker-file-system.c:259:file_tree_lookup: assertion failed: (ptr[0] == '/')
Jun 15 13:15:19 ... tracker-miner-fs[713320]: Bail out! Tracker:ERROR:../src/libtracker-miner/tracker-file-system.c:259:file_tree_lookup: assertion failed: (ptr[0] == '/')
Jun 15 13:15:19 ... systemd[693688]: tracker-miner-fs.service: Main process exited, code=killed, status=6/ABRT
Jun 15 13:15:19 ... systemd[693688]: tracker-miner-fs.service: Failed with result 'signal'.
Jun 15 13:15:19 ... systemd[693688]: tracker-miner-fs.service: Scheduled restart job, restart counter is at 752.
Jun 15 13:15:19 ... systemd[693688]: Stopped Tracker file system data miner.

GDB backtrace on SIGABRT:

#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f2cf636355b in __GI_abort () at abort.c:79
#2  0x00007f2cf66b0de3 in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f2cf6a51ae0 <__func__.29125> "file_tree_lookup", message=<optimized out>)
    at ../../../glib/gtestutils.c:2914
#3  0x00007f2cf670c77b in g_assertion_message_expr (domain=domain at entry=0x7f2cf6a4e329 "Tracker", file=file at entry=0x7f2cf6a51718 "../src/libtracker-miner/tracker-file-system.c", line=line at entry=259,
    func=func at entry=0x7f2cf6a51ae0 <__func__.29125> "file_tree_lookup", expr=expr at entry=0x7f2cf6a51683 "ptr[0] == '/'") at ../../../glib/gtestutils.c:2940
#4  0x00007f2cf6a420d2 in file_tree_lookup (tree=0x7f2ce41bb360, file=file at entry=0x55ee5fcff0a0, parent_node=parent_node at entry=0x7ffee5638a68, uri_remainder=uri_remainder at entry=0x7ffee5638a70)
    at ../src/libtracker-miner/tracker-file-system.c:259
#5  0x00007f2cf6a42769 in tracker_file_system_get_file (file_system=0x55ee5f97f440, file=file at entry=0x55ee5fcff0a0, file_type=file_type at entry=G_FILE_TYPE_UNKNOWN, parent=parent at entry=0x7f2ce0016380)
    at ../src/libtracker-miner/tracker-file-system.c:569
#6  0x00007f2cf6a3ea97 in _insert_store_info (notifier=notifier at entry=0x55ee5f70ac10, file=file at entry=0x55ee5fcff0a0, file_type=file_type at entry=G_FILE_TYPE_UNKNOWN, parent=parent at entry=0x7f2ce0016380,
    iri=iri at entry=0x7f2ce0010a58 "urn:uuid:7bc15158-5bb0-9480-d158-ccea0dd4f312", _time=<optimized out>) at ../src/libtracker-miner/tracker-file-notifier.c:506
#7  0x00007f2cf6a4059d in sparql_files_query_populate (check_root=1, cursor=0x7f2cd4026b20, notifier=0x55ee5f70ac10) at ../src/libtracker-miner/tracker-file-notifier.c:566
#8  sparql_files_query_cb (object=<optimized out>, result=<optimized out>, user_data=user_data at entry=0x55ee5f70ac10) at ../src/libtracker-miner/tracker-file-notifier.c:855
#9  0x00007f2cf68c8cd9 in g_task_return_now (task=0x55ee5f6b6cb0) at ../../../gio/gtask.c:1214
#10 0x00007f2cf68c981d in g_task_return (task=0x55ee5f6b6cb0, type=<optimized out>) at ../../../gio/gtask.c:1283
#11 0x00007f2cf68c9e3c in g_task_return (type=G_TASK_RETURN_SUCCESS, task=<optimized out>) at ../../../gio/gtask.c:1686
#12 g_task_return_pointer (task=<optimized out>, result=<optimized out>, result_destroy=<optimized out>) at ../../../gio/gtask.c:1691
#13 0x000055ee5fc696d0 in ?? ()
#14 0x00007f2cf68c8cd9 in g_task_return_now (task=0x7f2cf69ff730 <tracker_sparql_backend_query_async_ready>) at ../../../gio/gtask.c:1214
#15 0x00007f2cf68c8d19 in complete_in_idle_cb (task=0x55ee5fc696d0) at ../../../gio/gtask.c:1228
#16 0x00007f2cf66e44de in g_main_dispatch (context=0x55ee5f6aabd0) at ../../../glib/gmain.c:3309
#17 g_main_context_dispatch (context=context at entry=0x55ee5f6aabd0) at ../../../glib/gmain.c:3974
#18 0x00007f2cf66e4890 in g_main_context_iterate (context=0x55ee5f6aabd0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#19 0x00007f2cf66e4b63 in g_main_loop_run (loop=0x55ee5f6d2be0) at ../../../glib/gmain.c:4241
#20 0x000055ee5ef46a47 in main (argc=<optimized out>, argv=<optimized out>) at ../src/miners/fs/tracker-main.c:973



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tracker-miner-fs depends on:
ii  init-system-helpers      1.57
ii  libc6                    2.30-8
ii  libglib2.0-0             2.64.3-1
ii  libtracker-miner-2.0-0   2.3.4-1+b1
ii  libtracker-sparql-2.0-0  2.3.4-1+b1
ii  libupower-glib3          0.99.11-2
ii  procps                   2:3.3.16-5
ii  tracker                  2.3.4-1+b1
ii  tracker-extract          2.3.3-2+b1

tracker-miner-fs recommends no packages.

tracker-miner-fs suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list