Apologies for the spam; I forgot to send this to the entire list.
2009/7/23 Laurent Aguerreche <[email protected]>:
> 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.
> [...]
> (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
>
tracker-miner-fs does not properly initialize the ontologies. I had to
add this line in src/tracker-miner-fs/tracker-main.c for it to run
properly:
--- a/src/tracker-miner-fs/tracker-main.c
+++ b/src/tracker-miner-fs/tracker-main.c
@@ -330,6 +330,7 @@ main (gint argc, gchar *argv[])
}
tracker_turtle_init ();
+ tracker_ontology_init ();
g_message ("Starting...");
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list