Re: [Tracker] Random crashes in tracker-miner-fs from trunk
- From: John Millikin <jmillikin gmail com>
- To: tracker-list <tracker-list gnome org>
- Subject: Re: [Tracker] Random crashes in tracker-miner-fs from trunk
- Date: Thu, 23 Jul 2009 14:36:34 -0700
Apologies for the spam; I forgot to send this to the entire list.
2009/7/23 Laurent Aguerreche <laurent aguerreche free fr>:
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...");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]