Re: [Tracker] Crashes with tracker-store and Unac



On Sun, 2009-11-15 at 17:18 +0100, Laurent Aguerreche wrote:
Hi!

tracker-store crashes if I use Unac.

First, I provide you a patch to set the path for Unac include files:

--- a/src/libtracker-fts/Makefile.am
+++ b/src/libtracker-fts/Makefile.am
@@ -11,6 +11,10 @@ INCLUDES =
\
        $(DBUS_CFLAGS)
\
        $(SQLITE3_CFLAGS)
 
+if HAVE_UNAC
+INCLUDES += $(UNAC_CFLAGS)
+endif
+
 noinst_LTLIBRARIES = libtracker-fts.la



Now, the crash... First, it only happens with Unac. Second, it does not
happen if I build tracker with "-O0".

Well you can probably imagine that I too, like you did as you apparently
looked at that variable too, why parser suddenly turns into NULL for
you.

Perhaps try to nonetheless reproduce with -O0 because as far as I can
see is that parser=0x0 a GDB quirk. 

Perhaps set a break point on 445 and test 'parser' with gdb, then step
into 447 and see what happens with it?

Valgrind is also not being very helpful, claiming that it might be a
stackoverflow. But then I'm sure it wouldn't consistently happen at the
same location.

Perhaps also try with another version of libunac?


You will find in attachments a valgrind log, a GDB backtrace and the
build log of Tracker where I see many warnings that seem to be quite
easy to fix. Perhaps I see some of them because I use a 64 bits
platform.

For each trace, I used the following environment variables :
export G_SLICE=always-malloc
export G_DEBUG=gc-friendly

For each trace, I first launched tracker-store, then tracker-miner-fs.

Tracker has been built with default cflags.



Just a question about Unac: it seems to be unmaintained and I have been
unable to build it directly without hacking parts of its test suite. So
is this library a good choice for Tracker? Moreover I would add that it
is not shipped with Fedora 11 and I am not sure it will be in next
versions...


Laurent.
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list


-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be




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