Re: [Tracker] Trackerd and FUSE file systems



I modified depot.c but not xdmmimecache.c, as it already only had
MAP_PRIVATE and not MAP_SHARED. Anyway, I could replicate your findings
which you wrote about in the GNOME bugzilla. Trackerd was able to index
my files, but I cannot search them.

2007-01-11 16:45 -0600 zer0halo wrote:
Ran into the same problem. A couple of changes to the tracker source
code keep it from crashing, but the indexing results are off. See bug
filed here:
http://bugzilla.gnome.org/show_bug.cgi?id=395277

 Jamie said he would try to look into it. 

Fredrik, could you try the same changes, compile from source, and see
if you get the same results as I did?

On 1/11/07, Fredrik Blom <fblom kth se> wrote:
        Hello,
        
        Around two months ago I sent a mail to this mailing list,
        concerning a
        problem in trackerd when running it on top a FUSE file system.
        No one
        seemed interested in the problem so I just ignored it and
        hoped for 
        someone else to fix it. Well, I just saw that 0.5.3 was
        available, and
        so I thought about checking it out and see if the problem was
        still
        there or not. Guess what? It's still there. ;)
        
        So, to almost repeat my last mail, in a shorter version: If
        one tries to 
        encrypt his/hers home directory with EncFS for FUSE and then
        run
        trackerd, it'll cause trackerd to crash. It simply does not
        work on top
        a FUSE file system. Here's some runtime and dubug information
        below: 
        
        $ rm -r ~/.Tracker/ && gdb trackerd
        GNU gdb 6.4
        Copyright 2005 Free Software Foundation, Inc.
        GDB is free software, covered by the GNU General Public
        License, and you
        are
        welcome to change it and/or distribute copies of it under
        certain 
        conditions.
        Type "show copying" to see the conditions.
        There is absolutely no warranty for GDB.  Type "show warranty"
        for
        details.
        This GDB was configured as "i586-pc-linux-gnu"...Using host
        libthread_db 
        library "/lib/libthread_db.so.1".
        
        (gdb) run
        Starting program: /usr/bin/trackerd
        [Thread debugging using libthread_db enabled]
        [New Thread -1211947344 (LWP 13848)]
        
        
        Tracker version 0.5.3 Copyright (c) 2005-2006 by Jamie
        McCracken
        (jamiemcc gnome org)
        
        This program is free software and comes without any warranty.
        It is licensed under version 2 or later of the General Public
        License 
        which can be viewed at http://www.gnu.org/licenses/gpl.txt
        
        Initialising tracker...
        Setting ioprio best effort.
        setting stopword list for language code sv
        Using stemmer for language sv
        
        Tracker configuration options :
        Debug mode enabled :                    no
        Low memory mode :                       no
        Faster indexing :                       no
        Indexing enabled :                      yes 
        Watching enabled :                      yes
        File content indexing enabled :         yes
        Thumbnailing enabled :                  no
        Evolution email indexing enabled :      no
        Thunderbird email indexing enabled :    no 
        K-Mail indexing enabled :               no
        
        Tracker indexer parameters :
        Indexer language code :                 sv
        Minimum index word length :             3
        Maximum index word length :             30
        Stemmer enabled :                       yes
        Using Pango word breaking :             no
        
        
        Setting watch directory roots to:
        /home/sachankara
        
        Using Sqlite version 3.3.5
        Loading prepared queries...
        File loaded in  1,000000 ms
        initialising the indexer
        Opening index /home/sachankara/.Tracker/databases/Files
        /home/sachankara/.Tracker/databases/Files index was not closed
        properly
        - attempting repair
        
        Program received signal SIGSEGV, Segmentation fault. 
        [Switching to Thread -1211947344 (LWP 13848)]
        crsetalign (curia=0x0, align=-2) at curia.c:311
        311       if(!curia->wmode){
        (gdb) backtrace
        #0  crsetalign (curia=0x0, align=-2) at curia.c:311
        #1  0x0805f606 in tracker_indexer_open (name=0x8078844
        "Files") at 
        tracker-indexer.c:227
        #2  0x0806178c in tracker_db_initialize (datadir=0x8092920
        "/home/sachankara/.Tracker/data") at tracker-db-sqlite.c:448
        #3  0x0804f2de in main (argc=1, argv=0xbffe4684) at
        trackerd.c :2777
        #4  0xb7c49894 in __libc_start_main () from /lib/libc.so.6
        #5  0x0804e0b1 in _start ()
        (gdb)
        
        I might be the only one running my home directory on top of
        EncFS, but
        for example once ZFS have been properly ported to FUSE people
        might 
        notice that tracker doesn't work.
        
        Unfortunately I do not have enough knowledge nor time to fix
        the problem
        myself. So help any help would be appreciated.
        
        Thanks,
        
        Fredrik Blom
        _______________________________________________ 
        tracker-list mailing list
        tracker-list gnome org
        http://mail.gnome.org/mailman/listinfo/tracker-list



-- 
"Impossible is nothing."



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