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 1083199

Summary: tracker-store: libtracker-data: Guard against failure to open the database
Product: Red Hat Enterprise Linux 7 Reporter: Martin <mholec>
Component: trackerAssignee: Debarshi Ray <debarshir>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: mcepl, mdomonko, tpelka
Target Milestone: pre-dev-freezeKeywords: Reopened, Tracking
Target Release: 7.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:51045ca5f829659828ed41d1b965359684e616ea
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Unhandled failure to open the SQLite database. Consequence: /usr/libexec/tracker-store crashed. Fix: Handle errors arising out of a failure to open the database. Result: Processes do not crash any more.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:23:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
File: sosreport.tar.xz none

Description Martin 2014-04-01 16:03:21 UTC
Description of problem:
Testing https://bugzilla.redhat.com/show_bug.cgi?id=1012433

Version-Release number of selected component:
tracker-0.16.2-8.el7

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/libexec/tracker-store
crash_function: tracker_db_statement_start_sparql_cursor
executable:     /usr/libexec/tracker-store
kernel:         3.10.0-116.el7.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (7 frames)
 #0 tracker_db_statement_start_sparql_cursor at tracker-db-interface-sqlite.c:2235
 #1 tracker_sparql_query_exec_sql_cursor at /home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-query.vala:534
 #2 tracker_sparql_query_execute_cursor at /home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-query.vala:553
 #3 tracker_data_query_sparql_cursor at tracker-data-query.c:143
 #4 tracker_store_pool_dispatch_cb at /home/martyn/Source/tracker/src/tracker-store/tracker-store.vala:213
 #5 _tracker_store_pool_dispatch_cb_gfunc at /home/martyn/Source/tracker/src/tracker-store/tracker-store.vala:309
 #7 g_thread_proxy at gthread.c:798

Comment 1 Martin 2014-04-01 16:03:24 UTC
Created attachment 881428 [details]
File: backtrace

Comment 2 Martin 2014-04-01 16:03:26 UTC
Created attachment 881429 [details]
File: cgroup

Comment 3 Martin 2014-04-01 16:03:28 UTC
Created attachment 881430 [details]
File: core_backtrace

Comment 4 Martin 2014-04-01 16:03:30 UTC
Created attachment 881431 [details]
File: dso_list

Comment 5 Martin 2014-04-01 16:03:32 UTC
Created attachment 881432 [details]
File: environ

Comment 6 Martin 2014-04-01 16:03:34 UTC
Created attachment 881433 [details]
File: limits

Comment 7 Martin 2014-04-01 16:03:36 UTC
Created attachment 881434 [details]
File: maps

Comment 8 Martin 2014-04-01 16:03:38 UTC
Created attachment 881435 [details]
File: open_fds

Comment 9 Martin 2014-04-01 16:03:41 UTC
Created attachment 881436 [details]
File: proc_pid_status

Comment 10 Martin 2014-04-01 16:03:44 UTC
Created attachment 881437 [details]
File: var_log_messages

Comment 11 Martin 2014-04-01 16:05:32 UTC
Created attachment 881439 [details]
File: sosreport.tar.xz

Comment 13 RHEL Program Management 2014-04-15 05:47:50 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 15 Debarshi Ray 2014-10-14 12:52:00 UTC
Built tracker-0.16.2-11.el7 with a fix:
https://brewweb.devel.redhat.com/taskinfo?taskID=8099464

Comment 18 errata-xmlrpc 2015-03-05 13:23:29 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-2015-0552.html