[Tracker] Random crashes in tracker-miner-fs from trunk



Hi!

I am trying Tracker from the trunk (always with the latest version) and
I am experiencing random crashes with ontologies:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff774ee57 in tracker_ontology_get_namespaces ()
    at tracker-ontology.c:168
168             return g_memdup (namespaces->data, sizeof (TrackerNamespace *) *
(namespaces->len + 1));
(gdb) bt
#0  0x00007ffff774ee57 in tracker_ontology_get_namespaces ()
    at tracker-ontology.c:168
#1  0x00007ffff7bb8f41 in tracker_sparql_query_execute
(self=0x7fffe45f7a90, 
    error=<value optimized out>) at tracker-sparql-query.c:509
#2  0x00007ffff7bafca9 in tracker_data_query_sparql (
    query=<value optimized out>, error=0x7fffffffce48)
    at tracker-data-query.c:472
#3  0x000000000040f84f in update_file_uri_recursively
(indexer=0x654040, 
    sparql_update=0x2276ea0, 
    source_uri=0x6e0e80 "file:///local/laguerre/Desktop/Film_blah.mov",
uri=0x2d2c510 "file:///local/laguerre/Desktop/Film_blah.mov%20(2)")
    at tracker-indexer.c:1174
#4  0x000000000040fb11 in item_move (source_uri=<value optimized out>, 
    info=<value optimized out>, indexer=<value optimized out>)
    at tracker-indexer.c:1242
#5  process_file (source_uri=<value optimized out>, 
    info=<value optimized out>, indexer=<value optimized out>)
    at tracker-indexer.c:1477
#6  process_func (source_uri=<value optimized out>, 
    info=<value optimized out>, indexer=<value optimized out>)
    at tracker-indexer.c:1622
#7  0x0000003358a37abe in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#8  0x0000003358a3b278 in ?? () from /lib64/libglib-2.0.so.0
#9  0x0000003358a3b3a0 in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#10 0x0000000000417b99 in inotify_watch_func (source=<value optimized
out>, 
    condition=<value optimized out>, data=<value optimized out>)
    at inotify-monitor.c:93
#11 0x0000003358a37abe in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#12 0x0000003358a3b278 in ?? () from /lib64/libglib-2.0.so.0
#13 0x0000003358a3b6d5 in g_main_loop_run ()
from /lib64/libglib-2.0.so.0
#14 0x0000000000410971 in main (argc=1, argv=0x7fffffffd498)
    at tracker-main.c:337
(gdb) info locals
No locals.
(gdb) list
163     
164     TrackerNamespace **
165     tracker_ontology_get_namespaces (void)
166     {
167             /* copy len + 1 elements to include NULL terminator */
168             return g_memdup (namespaces->data, sizeof (TrackerNamespace *) *
(namespaces->len + 1));
169     }
170     
171     TrackerClass **
172     tracker_ontology_get_classes (void)
(gdb) print namespaces
$1 = (GArray *) 0x0




By the way, I run tracker this way :
$ cd dir_libexec
$ gdb ./tracker-miner-fs
run -p


I think that tracker-miner-fs will be launched automatically in the
future by "something".



Plus, I cannot build tracker-sparql-builder.vala because the following
lines are not translated correctly in C:

[CCode (cname = "strcspn", cheader_filename = "string.h")]
extern static size_t strcspn (string s1, string s2);

they produce the following declaration in tracker-sparql-builder.c:
gsize strcspn (const char* s1, const char* s2);


So, I get these errors when I build the C file:
tracker-sparql-builder.c:69: error: expected identifier or â(â before
â__extension__â
tracker-sparql-builder.c:69: error: expected identifier or â(â before
â)â token

I have to comment this declaration in order to build the C source,
moreover it is unneeded since this function is declared in string.h.


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]