Bug 1022221

Summary: libtracker-data: Guard against failure to create a FTS update statement
Product: [Fedora] Fedora Reporter: Patryk Zawadzki <patrys>
Component: trackerAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: alvin, dakingun, david.m.highley, debarshir, n.bicalcarata
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:382e1a2998d3f9019deb499f73f08b41ffe5fb01
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 14:27:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Patryk Zawadzki 2013-10-22 18:15:16 UTC
Version-Release number of selected component:
tracker-0.16.2-4.fc20

Additional info:
reporter:       libreport-2.1.8
backtrace_rating: 4
cmdline:        /usr/libexec/tracker-store
crash_function: tracker_db_statement_execute
executable:     /usr/libexec/tracker-store
kernel:         3.11.2-301.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 tracker_db_statement_execute at tracker-db-interface-sqlite.c:2212
 #1 tracker_db_interface_sqlite_fts_update_text at tracker-db-interface-sqlite.c:1100
 #2 tracker_data_resource_buffer_flush at tracker-data-update.c:993
 #3 tracker_data_update_buffer_flush at tracker-data-update.c:1038
 #4 tracker_sparql_query_execute_insert_or_delete at /home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-query.vala:759
 #5 tracker_sparql_query_execute_update at /home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-query.vala:475
 #6 update_sparql at tracker-data-update.c:3480
 #7 tracker_data_update_sparql at tracker-data-update.c:3502
 #8 tracker_store_pool_dispatch_cb at /home/martyn/Source/tracker/src/tracker-store/tracker-store.vala:223
 #9 _tracker_store_pool_dispatch_cb_gfunc at /home/martyn/Source/tracker/src/tracker-store/tracker-store.vala:309

Potential duplicate: bug 960929

Comment 1 Patryk Zawadzki 2013-10-22 18:15:21 UTC
Created attachment 815140 [details]
File: backtrace

Comment 2 Patryk Zawadzki 2013-10-22 18:15:24 UTC
Created attachment 815141 [details]
File: cgroup

Comment 3 Patryk Zawadzki 2013-10-22 18:15:28 UTC
Created attachment 815142 [details]
File: core_backtrace

Comment 4 Patryk Zawadzki 2013-10-22 18:15:31 UTC
Created attachment 815143 [details]
File: dso_list

Comment 5 Patryk Zawadzki 2013-10-22 18:15:36 UTC
Created attachment 815144 [details]
File: environ

Comment 6 Patryk Zawadzki 2013-10-22 18:15:39 UTC
Created attachment 815145 [details]
File: exploitable

Comment 7 Patryk Zawadzki 2013-10-22 18:15:43 UTC
Created attachment 815146 [details]
File: limits

Comment 8 Patryk Zawadzki 2013-10-22 18:15:47 UTC
Created attachment 815147 [details]
File: maps

Comment 9 Patryk Zawadzki 2013-10-22 18:15:50 UTC
Created attachment 815148 [details]
File: open_fds

Comment 10 Patryk Zawadzki 2013-10-22 18:15:53 UTC
Created attachment 815149 [details]
File: proc_pid_status

Comment 11 Patryk Zawadzki 2013-10-22 18:15:57 UTC
Created attachment 815150 [details]
File: var_log_messages

Comment 12 David Highley 2013-12-23 19:55:20 UTC
Another user experienced a similar problem:

Trying to login into the system after upgrading from Fedora 19 to Fedora 20 using the feup method.

reporter:       libreport-2.1.10
backtrace_rating: 4
cmdline:        /usr/libexec/tracker-store
crash_function: tracker_db_statement_execute
executable:     /usr/libexec/tracker-store
kernel:         3.11.10-301.fc20.x86_64
package:        tracker-0.16.4-2.fc20
reason:         tracker-store killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 13 Fedora Admin XMLRPC Client 2014-07-26 17:12:34 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 14 Fedora Admin XMLRPC Client 2014-07-27 06:34:32 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 15 Debarshi Ray 2014-10-14 11:41:15 UTC
Not sure why we have a NULL stmt in tracker_db_interface_sqlite_fts_update_text, but the actual crash is addressed by the 2nd patch in:
  https://bugzilla.gnome.org/show_bug.cgi?id=738450