Bug 245842 - sysutils/tracker-miners, tracker-miner-fs crashes with SIGSEGV
Summary: sysutils/tracker-miners, tracker-miner-fs crashes with SIGSEGV
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-23 09:21 UTC by Bernhard
Modified: 2020-04-23 09:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard 2020-04-23 09:21:11 UTC
The fs miner didn't start automatically, so I tried to start it with empty rules, still it failes:


> env TRACKER_EXTRACTOR_RULES_DIR=/tmp/nothing /usr/local/libexec/tracker-miner-fs  --verbosity 2 -n
** Message: 20:37:55.069: Starting tracker-miner-fs 2.0.5
** Message: 20:37:55.069: General options:
** Message: 20:37:55.069:   Verbosity  ............................  2
** Message: 20:37:55.069:   Sched Idle  ...........................  1
** Message: 20:37:55.069:   Initial Sleep  ........................  15
** Message: 20:37:55.069: Indexer options:
** Message: 20:37:55.069:   Throttle level  .......................  0
** Message: 20:37:55.069:   Indexing while on battery  ............  yes (first time only = yes)
** Message: 20:37:55.069:   Low disk space limit  .................  Disabled
** Message: 20:37:55.069: Setting priority nice level to 19
** Message: 20:37:55.069: Checking if we're running as a daemon:
** Message: 20:37:55.069:   No (forced by command line)
** Message: 20:37:55.069: Initializing Storage...
** Message: 20:37:55.072: Mount monitors set up for to watch for added, removed and pre-unmounts...
** Message: 20:37:55.072: No mounts found to iterate
** Message: 20:37:55.072: Initializing UPower...
Segmentation fault (core dumped)


GDB:

Reading symbols from /usr/local/libexec/tracker-miner-fs...
(No debugging symbols found in /usr/local/libexec/tracker-miner-fs)
[New LWP 101120]
[New LWP 101310]
[New LWP 101311]
[New LWP 101312]
Core was generated by `/usr/local/libexec/tracker-miner-fs --verbosity 2 -n'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000080028571c in tracker_extract_module_manager_get_rdf_types () from /usr/local/lib/tracker-miners-2.0/libtracker-extract.so
[Current thread is 1 (LWP 101120)]
(gdb) bt
#0  0x000000080028571c in tracker_extract_module_manager_get_rdf_types () at /usr/local/lib/tracker-miners-2.0/libtracker-extract.so


(gdb) info frame
Stack level 0, frame at 0x7fffffffe0c0:
 rip = 0x80028571c in tracker_extract_module_manager_get_rdf_types; saved rip = 0x2165ea
 called by frame at 0x7fffffffe0f0
 Arglist at 0x7fffffffe0b0, args: 
 Locals at 0x7fffffffe0b0, Previous frame's sp is 0x7fffffffe0c0
 Saved registers:
  rbx at 0x7fffffffe088, rbp at 0x7fffffffe0b0, r12 at 0x7fffffffe090, r13 at 0x7fffffffe098, r14 at 0x7fffffffe0a0, r15 at 0x7fffffffe0a8,
  rip at 0x7fffffffe0b8

But here I'm stuck...


Found a related bug report here:
https://gitlab.gnome.org/GNOME/tracker-miners/issues/7

thx,
bernhard
Comment 1 Bernhard 2020-04-23 09:55:36 UTC
Should have mentioned my environment:
12.1-RELEASE-p1

tracker-2.0.4_6                Object database, tag/metadata database, search tool and indexer
tracker-miners-2.0.5_15        Miners for tracker2