[Tracker] Crashes in tracker-store



Hi!

tracker-store crashes due to a null pointer. I started tracker-store,
then tracker-miner.

Last lines of tracker-miners are:

Tracker-Message: Crawling recursively directory
'/usr/share/desktop-directories'
(tracker-miner-fs:14157): Tracker-DEBUG: Added monitor for
path:'/usr/share/desktop-directories', total monitors:5
Tracker-Message: Finished crawling files after 0,89 seconds
Tracker-Message:   Found 1 directories, ignored 0 directories
Tracker-Message:   Found 112 files, ignored 0 files
Tracker-Message: Processing files...
(tracker-miner-fs:14157): Tracker-DEBUG: Adding item
'file:///usr/share/desktop-directories/kde-games.directory'

(tracker-miner-fs:14157): Tracker-WARNING **: Error running sparql
queries: Message did not receive a reply (timeout by message bus)
(tracker-miner-fs:14157): Tracker-DEBUG: Adding item
'file:///usr/share/desktop-directories/games-kids.directory'


While tracker-store ends up with:

(tracker-store:14153): Tracker-DEBUG: <--- [383] D-Bus request for
SPARQL Query, query:'SELECT ?file { ?file nfo:fileLastModified
"2009-06-30T23:49:41Z" . FILTER (?file =
<file:///usr/share/desktop-directories/Utility.directory>) }'
(tracker-store:14153): Tracker-DEBUG: ---> [383] Success, no error given
(tracker-store:14153): Tracker-DEBUG: <--- [384] D-Bus request for batch
SPARQL Update, update:'DROP GRAPH
<file:///usr/share/desktop-directories/kde-games.directory> INSERT {
<urn:software-category:%2Fusr%2Fshare%2Fdesktop-directories%
2Fkde-games.directory> a nfo:SoftwareCategory .
<urn:theme-icon:applications-games> a nfo:Image .
<urn:software-category:%2Fusr%2Fshare%2Fdesktop-directories%
2Fkde-games.directory> nfo:softwareCategoryIcon
<urn:theme-icon:applications-games> ;
         a nfo:FileDataObject , nie:DataObject ;
         nie:title "Jeux" .
<urn:software-category:%2Fusr%2Fshare%2Fdesktop-directories%
2Fkde-games.directory> nie:dataSource
<urn:nepomuk:datasource:84f20000-1241-11de-8c30-0800200c9a66> ;
         nfo:fileName "kde-games.directory" .
<file:///usr/share/desktop-directories/kde-games.directory> a
nfo:FileDataObject , nie:DataObject .
<urn:software-category:%2Fusr%2Fshare%2Fdesktop-directories%
2Fkde-games.directory> nie:isStoredAs
<file:///usr/share/desktop-directories/kde-games.directory> ;
         nfo:fileLastModified "2009-10-02T08:18:56Z" .
}
'
(tracker-store:14153): Tracker-DEBUG: Preparing query: 'SELECT (SELECT
Uri FROM "rdfs:Resource" WHERE ID = "rdf:type") FROM
"rdfs:Resource_rdf:type" WHERE ID = ?'
(tracker-store:14153): Tracker-DEBUG: Preparing query: 'SELECT
"rdfs:comment", "rdfs:label", strftime ("%Y-%m-%dT%H:%M:%SZ",
"tracker:added", "unixepoch"), CAST ("tracker:modified" AS TEXT),
"dc:title", "dc:creator", "dc:subject", "dc:description",
"dc:publisher", "dc:contributor", "dc:type", "dc:format",
"dc:identifier", "dc:language", "dc:coverage", "dc:rights",
"nao:identifier" FROM "rdfs:Resource" WHERE ID = ?'
(tracker-store:14153): Tracker-DEBUG: Preparing query: 'SELECT
"tracker:added" FROM "rdfs:Resource" WHERE ID = ?'

Program received signal SIGSEGV, Segmentation fault.
delete_metadata_decomposed (property=0xa16e00, value=0x6ce3e8
"2009-10-28T17:31:37Z", error=0x0) at tracker-data-update.c:974
974             if (*error) {




The backtrace shows that error is null in delete_metadata_decomposed
because tracker_data_delete_statement is called with error set to null:

(gdb) bt
#0  delete_metadata_decomposed (property=0xa16e00, value=0x6ce3e8
"2009-10-28T17:31:37Z", error=0x0) at tracker-data-update.c:974
#1  0x00007ffff7db8f71 in tracker_data_delete_statement
(subject=0xa74a70
"file:///usr/share/desktop-directories/kde-games.directory", 
    predicate=0xa17fa0
"http://www.tracker-project.org/ontologies/tracker#added";,
object=0x6ce3e8 "2009-10-28T17:31:37Z", error=0x0)
    at tracker-data-update.c:1148
#2  0x00007ffff7db93b2 in tracker_data_delete_resource_description
(uri=<value optimized out>) at tracker-data-update.c:1761
#3  0x00007ffff7dc2773 in tracker_sparql_query_execute_drop_graph
(self=0xa648f0, error=0x7fffffffcdf8) at tracker-sparql-query.c:2464
#4  0x00007ffff7dd1733 in tracker_sparql_query_execute (self=0xa648f0,
error=0x7fffffffce78) at tracker-sparql-query.c:1157
#5  0x00007ffff7db5e13 in tracker_data_update_sparql (update=<value
optimized out>, error=0x7fffffffce78) at tracker-data-update.c:1829
#6  0x000000000040c427 in queue_idle_handler (user_data=<value optimized
out>) at tracker-store.c:203
#7  0x0000003bc063790e in g_main_context_dispatch ()
from /lib64/libglib-2.0.so.0
#8  0x0000003bc063b0e8 in ?? () from /lib64/libglib-2.0.so.0
#9  0x0000003bc063b535 in g_main_loop_run ()
from /lib64/libglib-2.0.so.0
#10 0x0000000000409790 in main (argc=1, argv=0x7fffffffd148) at
tracker-main.c:528
(gdb) print error
$1 = (GError **) 0x0


Rgds,
Laurent.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]