Re: [Tracker] Trackerd doesn't start with sqlite 3.5



jamie wrote:
On Fri, 2007-10-12 at 13:10 +0200, Emilio Pozuelo Monfort wrote:
Gianmarco Giosa wrote:
Hi, I use Arch Linux and in community there is already sqlite 3.5.1 and
tracker doesn't work with this version of sqlite, in practice trackerd
doesn't start  at the startup instead with sqlite 3.4 it starts.
Liferea had the same issue, and it was fixed with this commit:
http://liferea.svn.sourceforge.net/liferea/?rev=3486&view=rev

Maybe tracker isn't freeing sqlite properly, too.


we are freeing it with g_free - I really hope they are not using a
custom memory allocator as it will mean changing a lot of those free
calls!

Liferea was also using g_free, which worked with sqlite 3.4.x, but didn't
(causing liferea not to start) with sqlite 3.5.x.

The fix was to free sqlite with sqlite3_free, as you can see in
http://liferea.svn.sourceforge.net/viewvc/liferea/branches/liferea-1_4/liferea/src/db.c?r1=3481&r2=3486&pathrev=3486

Now Liferea works both with sqlite 3.4.x and 3.5.x. Maybe that's the problem in
tracker too?






Attachment: signature.asc
Description: OpenPGP digital signature



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