Re: [Tracker] tracker-indexer does not index all files



Le vendredi 29 aoÃt 2008 Ã 15:49 +0200, Carlos Garnacho a Ãcrit :
Hi Laurent :),

Hi!

Just committed the fix for a bug that could be causing your issues,
would you mind to update and test? :)

In some ways it fixes my issues since tracker-indexer doesn't index
anything anymore!  :-)

tracker-indexer.log looks like that:

31 aoà 2008, 18:37:35: Tracker: Waiting another 300 seconds for more
items before quitting...
31 aoà 2008, 18:37:36: Tracker: <--- [2] DBus request to check 5000
files
31 aoà 2008, 18:37:37: Tracker: ---> [2] Success, no error given
31 aoà 2008, 18:37:38: Tracker: <--- [3] DBus request to check 5000
files
31 aoà 2008, 18:37:38: Tracker: ---> [3] Success, no error given
31 aoà 2008, 18:37:40: Tracker: <--- [4] DBus request to check 5000
files
31 aoà 2008, 18:37:40: Tracker: ---> [4] Success, no error given
31 aoà 2008, 18:37:42: Tracker: <--- [5] DBus request to check 5000
files
31 aoà 2008, 18:37:42: Tracker: ---> [5] Success, no error given
31 aoà 2008, 18:37:44: Tracker: <--- [6] DBus request to check 5000
files
31 aoà 2008, 18:37:44: Tracker: ---> [6] Success, no error given
31 aoà 2008, 18:37:46: Tracker: <--- [7] DBus request to check 5000
files
31 aoà 2008, 18:37:46: Tracker: ---> [7] Success, no error given


etc.


Laurent.

Thanks!
  Carlos

On jue, 2008-08-28 at 12:31 +0200, laurent aguerreche free fr wrote:
Selon Philip Van Hoof <spam pvanhoof be>:

On Wed, 2008-08-27 at 23:20 +0200, Laurent Aguerreche wrote:

I don't know if I'm the only one person in this case but tracker-indexer
"loses" some files proposed by trackerd for indexing.

In trackerd.log, I see :
27 aoÃÂ 2008, 23:05:59: Tracker: Indexed 1976/89459, module:'files', 02h
18m left, 03m 07s elapsed

and then nothing!
and tracker-indexer also shutdown.

Sounds like tracker-indexer crashed. Can you try to reproduce this by
first removing all of your cache and then reindexing (with trackerd)
after starting, in gdb, tracker-indexer with "set args -f" ?

You're right, tracker-indexer crashes.


(gdb) bt
#0  0x0000000000418701 in tracker_indexer_module_file_iter_contents (
    module=0x29e3900, file=0x0) at tracker-indexer-module.c:213
#1  0x00000000004155e4 in process_file (indexer=0x1173890, info=0x11e3e60)
    at tracker-indexer.c:1709
#2  0x000000000041590b in process_func (data=0x1173890)
    at tracker-indexer.c:1820
#3  0x0000003c8be374db in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#4  0x0000003c8be3acbd in ?? () from /lib64/libglib-2.0.so.0
#5  0x0000003c8be3b1ed in g_main_loop_run () from /lib64/libglib-2.0.so.0
#6  0x0000000000419126 in main (argc=1, argv=0x7fffbf2b49f8)
    at tracker-main.c:354
(gdb)


In tracker_indexer_module_file_iter_contents(), file->data access can't work
because file is NULL.


(gdb) frame 2
#2  0x000000000041590b in process_func (data=0x1173890)
    at tracker-indexer.c:1820
1820                        if (process_file (indexer, path)) {
(gdb) print *path
$6 = {module = 0x29e3900, file = 0x0, module_name = 0x1fee960 "`>\036\001"}
(gdb)



Laurent.


rm -rf $HOME/.cache/tracker

gdb tracker-indexer
(gdb) set args -f
(gdb) run

Now run trackerd --reindex (in another terminal)



--
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







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

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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