Re: [Tracker] Many fixes



On Sun, 2007-07-22 at 15:23 +0200, Michael Biebl wrote:
2007/7/22, Laurent Aguerreche <laurent aguerreche free fr>:
Le dimanche 22 juillet 2007 Ã 10:15 +0100, jamie a Ãcrit :
On Sun, 2007-07-22 at 04:15 +0200, Michael Biebl wrote:
2007/7/22, Laurent Aguerreche <laurent aguerreche free fr>:
Hello,

I propose a patch to fix a bunch of things:


Hi Laurent,

after your latest commit (r693), trackerd immediately segfaults on
start for me :-/

Backtrace is attached.

not sure what it is

but have added strlen check to laurent's tracker_is_empty_string
function

That's not a correct fix. If trackerd crashes here it means that a
string is not NULL terminated so malformed...


Michael, can you send here the file "gedit-usercustom-1.desktop"?

It doesn't seem to be a specific *desktop file. It crashes on indexing
the first *.desktop file, even if I remove
~/.local/share/applications/*
So I guess, the problem is within the desktop file parsing code.

And to jamies earlier question: Going back to r692, and it doesn't
crash anymore.

can you pls do a valgrind -v trackerd

memory corruption is obviously happening somewhere and only valgrind can
tell us where







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