Re: [Tracker] Crashes in tracker-store



Le jeudi 29 octobre 2009 Ã 10:37 +0100, Philip Van Hoof a Ãcrit : 
On Wed, 2009-10-28 at 22:19 +0100, Laurent Aguerreche wrote:

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

This is fixed 

Thanks for the bug report


http://git.gnome.org/cgit/tracker/commit/?id=7962d3489e74f99e332921c27ab30b05893a0353

Ok for this one  :-)

But I have another one now. Below, I launch tracker-store only.

$ gdb ./tracker-store
(gdb) run -v 3
[...]
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT ID FROM
"rdfs:Resource" WHERE Uri = ?'
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT (SELECT
Uri FROM "rdfs:Resource" WHERE ID = "rdf:type") FROM
"rdfs:Resource_rdf:type" WHERE ID = ?'
(tracker-store:29951): 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:29951): Tracker-DEBUG: Preparing query: 'SELECT
"rdfs:Resource"."Uri" FROM "rdfs:Resource_rdf:type" INNER JOIN
"rdfs:Resource" ON "rdfs:Resource_rdf:type"."rdf:type" =
"rdfs:Resource"."ID" WHERE "rdfs:Resource_rdf:type"."ID" = ?'
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT
"tracker:added" FROM "rdfs:Resource" WHERE ID = ?'
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT
"tracker:modified" FROM "rdfs:Resource" WHERE ID = ?'
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT strftime
("%Y-%m-%dT%H:%M:%SZ", "dc:date", "unixepoch") FROM
"rdfs:Resource_dc:date" WHERE ID = ?'
(tracker-store:29951): Tracker-DEBUG: Preparing query: 'SELECT
"dc:source" FROM "rdfs:Resource_dc:source" WHERE ID = ?'
**
Tracker:ERROR:tracker-db-interface-sqlite.c:1231:tracker_db_statement_sqlite_reset: assertion failed: 
(!priv->stmt_is_sunk)

Program received signal SIGABRT, Aborted.
0x0000003631e332f5 in raise () from /lib64/libc.so.6


(gdb) bt
#2  0x0000003bc065d0bf in g_assertion_message ()
from /lib64/libglib-2.0.so.0
#3  0x0000003bc065d660 in g_assertion_message_expr ()
from /lib64/libglib-2.0.so.0
#4  0x00007ffff7ddd23e in tracker_db_statement_sqlite_reset (stmt=<value
optimized out>) at tracker-db-interface-sqlite.c:1231
#5  0x00007ffff7dddf12 in tracker_db_interface_sqlite_create_statement
(db_interface=0x6294c0, 
    query=0xa7a8e0 "SELECT \"dc:source\" FROM \"rdfs:Resource_dc:source
\" WHERE ID = ?") at tracker-db-interface-sqlite.c:506
#6  0x00007ffff7ddb06a in tracker_db_interface_create_statement
(interface=0x6294c0, query=<value optimized out>) at
tracker-db-interface.c:291
#7  0x00007ffff7db6dfc in get_property_values (property=<value optimized
out>) at tracker-data-update.c:762
#8  0x00007ffff7db80ac in delete_metadata_decomposed
(property=0xa19890, 
    value=0x6d8a78
"urn:nepomuk:datasource:1cb1eb90-1241-11de-8c30-0800200c9a66",
error=0x0) at tracker-data-update.c:973
#9  0x00007ffff7db8f81 in tracker_data_delete_statement
(subject=0x632310 "email://1215617975 4227 21 dohko/Adoc/2412", 
    predicate=0xa19cc0 "http://purl.org/dc/elements/1.1/source";,
object=0x6d8a78
"urn:nepomuk:datasource:1cb1eb90-1241-11de-8c30-0800200c9a66", 
    error=0x0) at tracker-data-update.c:1148
#10 0x00007ffff7db95af in tracker_data_delete_resource_description
(uri=0x632310 "email://1215617975 4227 21 dohko/Adoc/2412", 
    error=<value optimized out>) at tracker-data-update.c:1789
#11 0x00007ffff7dc277a in tracker_sparql_query_execute_drop_graph
(self=<value optimized out>, error=0x7fffffffc758) at
tracker-sparql-query.c:2464
#12 0x00007ffff7dd1753 in tracker_sparql_query_execute (self=0xa64ad0,
error=0x7fffffffc7e8) at tracker-sparql-query.c:1157
#13 0x00007ffff7db5e13 in tracker_data_update_sparql (update=<value
optimized out>, error=0x7fffffffc7e8) at tracker-data-update.c:1829
#14 0x000000000040c271 in tracker_store_sparql_update (
    sparql=0xa73790 "DROP GRAPH
<email://1215617975 4227 21 dohko/Adoc/2412>\nINSERT
{\n<urn:nepomuk:datasource:1cb1eb90-1241-11de-8c30-0800200c9a66>
rdf:type
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSo";...,
error=0x7fffffffc7e8) at tracker-store.c:528
#15 0x000000000040a24c in tracker_resources_sparql_update (self=<value
optimized out>, 
    update=0xa73790 "DROP GRAPH
<email://1215617975 4227 21 dohko/Adoc/2412>\nINSERT
{\n<urn:nepomuk:datasource:1cb1eb90-1241-11de-8c30-0800200c9a66>
rdf:type
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSo";...,
context=0xa722d0, error=<value optimized out>)
    at tracker-resources.c:237
#16 0x0000003bc3a0c55c in ?? () from /usr/lib64/libdbus-glib-1.so.2
#17 0x0000003bc3a0ca15 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#18 0x0000003638e1c27e in ?? () from /lib64/libdbus-1.so.3
#19 0x0000003638e104dc in dbus_connection_dispatch ()
from /lib64/libdbus-1.so.3
#20 0x0000003bc3a098d5 in ?? () from /usr/lib64/libdbus-glib-1.so.2
#21 0x0000003bc063790e in g_main_context_dispatch ()
from /lib64/libglib-2.0.so.0
#22 0x0000003bc063b0e8 in ?? () from /lib64/libglib-2.0.so.0
#23 0x0000003bc063b535 in g_main_loop_run ()
from /lib64/libglib-2.0.so.0
#24 0x0000000000409840 in main (argc=1, argv=0x7fffffffd148) at
tracker-main.c:528

I use SQLite 3.6.19 and the latest version of Tracker in Git.


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]