Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1132114

Summary: tracker-miner-fs: Don't abort in tracker_file_notifier_init due to tracker_sparql_connection_get failure
Product: Red Hat Enterprise Linux 7 Reporter: jigar <jraising>
Component: trackerAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: danielhc99, debarshir, jwright, mcepl, mclasen, owenlee0331, sbeal, tpelka, vbenes
Target Milestone: rcKeywords: Tracking
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 02:47:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1203710, 1297830    

Description jigar 2014-08-20 17:15:24 UTC
Description of problem: tracker-miner-fs is killed by SIGABRT


How reproducible: Unsure


Steps to Reproduce:
This is after a fresh RHEL 7 install, registering to our Satellite, running 'yum update' and rebooting 

Actual results: The RHEL 7 should install lead to crashing of tracker-miner-fs


Expected results: tracker-miner-fs shouldn't crash


Additional info:

This is a recently built RHEL 7 system on a RHEV VM, installed from scratch (ISO), as we don't yet have a kickstart or image for RHEL 7, being so new. I installed with mostly defaults, except disabling kdump, putting selinux in permissive mode. I registered the server to our Satellite 5.4.1 server and added it to Satellite configuration management. I ran 'yum update' to update all packages. The install option was server with GUI. I added accounts, configured password authentication through Kerberos (as I have for RHEL 5 and 6), and setup autofs automount for /home. At one point I ran this command to delete passwords (so that only Kerberos passwords were used):
awk -F':' '{ if ( $3 >= 500 ) print $1 }' /etc/passwd | xargs -I {} passwd -d {}

I intended it for user accounts (above 500 uid) but it seemed to catch some system/service accounts. I don't know if that is relevant or not.

Comment 2 Stephen Beal 2015-01-05 20:14:39 UTC
Another customer with very similar looking report from abrtd. I will attach sosreport and coredump.

[abrt] tracker-0.16.2-8.el7: tracker-miner-fs killed by SIGABRT

abrt_version:   2.1.11
cmdline:        /usr/libexec/tracker-miner-fs
comment:        I was trying to navigate to a java enabled site in Firefox and I think I got this ABRT alert at the same time.
executable:     /usr/libexec/tracker-miner-fs
kernel:         3.10.0-123.13.2.el7.x86_64
last_occurrence: 1420487530
pid:            3538
pkg_arch:       x86_64
pkg_epoch:      0
pkg_name:       tracker
pkg_release:    8.el7
pkg_version:    0.16.2
/var/log/messages has:

var_log_messages:
:[System Logs]:
:Jan 05 14:52:10 XXXXXX gnome-session[3087]: (tracker-miner-fs:3538): Tracker-CRITICAL **: Could not get SPARQL connection: The connection is closed
:Jan 05 14:52:11 XXXXXX abrt-hook-ccpp[3660]: Saved core dump of pid 3538 (/usr/libexec/tracker-miner-fs) to /var/tmp/abrt/ccpp-2015-01-05-14:52:10-3538 (18993152 bytes)
:Jan 05 14:52:22 XXXXXX gnome-session[3815]: (tracker-miner-fs:4172): GLib-CRITICAL **: g_timer_continue: assertion `timer->active == FALSE' failed
:[User Logs]:
:Jan 05 14:52:10 XXXXXX gnome-session[3087]: (tracker-miner-fs:3538): Tracker-CRITICAL **: Could not get SPARQL connection: The connection is closed
:Jan 05 14:52:22 XXXXXX gnome-session[3815]: (tracker-miner-fs:4172): GLib-CRITICAL **: g_timer_continue: assertion `timer->active == FALSE' failed"

Comment 10 Debarshi Ray 2016-04-12 13:44:52 UTC
Upstream commit:

commit a6379cc0c996d892223743de64a43e019314b21a
Author: Debarshi Ray <debarshir>
Date:   Tue Oct 20 16:32:24 2015 +0200

    libtracker-miner: Handle failure to get a TrackerSparqlConnection
    
    We might fail to get a TrackerSparqlConnection if the session was shut
    down too early and the DBus connection closed. Since this is not a
    programming error nor an example of a broken system, let's not abort
    and use a WARNING instead of a CRITICAL.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756869

Comment 12 Debarshi Ray 2016-04-12 14:04:55 UTC
I have built tracker-1.2.6-4.el7:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=10840629

Comment 14 Debarshi Ray 2016-04-21 14:07:09 UTC
*** Bug 1071729 has been marked as a duplicate of this bug. ***

Comment 16 errata-xmlrpc 2016-11-04 02:47:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2286.html