Hi,

when (re)indexing I keep getting a segfault, every time the same file
and on multiple machines (however it's a different file for each
machine).

I could not pin point the bug and one of my machines gives me no
valuable back trace (maybe libc trouble). The back trace from one
machine is attached - it's all I have about it...

Cheers, Marcus
....
mime is text/x-csrc for 
/home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c
file extension is c
file /home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c is 
indexable
file /home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c has 
fulltext 1 with service Development
Indexing /home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c 
with service Development and mime text/x-csrc (new)
service id for Development is 9 and sid is 2727 with mime text/x-csrc

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1215341680 (LWP 3134)]
0xb7cb122e in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
(gdb) thread apply all bt f

Thread 5 (Thread -1215341680 (LWP 3134)):
#0  0xb7cb122e in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0xb7cb2272 in g_slist_prepend () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2  0x08057fe5 in tracker_cache_add (word=0x84abc90 "new_f", service_id=2727, 
service_type=9, score=4, is_new=1) at tracker-cache.c:392
        cache = (Cache *) 0x84eab70
        word_details = (WordDetails *) 0x8481600
        new_cache = 1
#3  0x080629aa in append_index_data (key=0x84abc90, value=0x4, 
user_data=0x83dc700) at tracker-db-sqlite.c:5557
        word = 0x84abc90 "new_f"
        score = 4
        info = (ServiceTypeInfo *) 0x83dc700
#4  0xb7c87cc6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5  0x08062a49 in tracker_db_update_indexes_for_new_service (service_id=2727, 
service_type_id=9, table=0x8163380) at tracker-db-sqlite.c:5599
        info = (ServiceTypeInfo *) 0x83dc700
#6  0x08067670 in tracker_db_index_service (db_con=0x81612e8, info=0x8432760, 
service=0x83cfdf0 "Development", meta_table=0x8163440, 
    attachment_uri=0x8363798 
"/home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c", 
attachment_service=0x0, get_embedded=0, get_full_text=1, 
    get_thumbs=0) at tracker-db.c:821
        str_file_id = 0x83d3720 "2727"
        uri = 0x8363798 
"/home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c"
        index_table = (GHashTable *) 0x8163380
        old_table = (GHashTable *) 0x0
#7  0x08067f34 in tracker_db_index_file (db_con=0x81612e8, info=0x8432760, 
attachment_uri=0x0, attachment_service=0x0) at tracker-db.c:1045
        services_with_metadata = {0x809fa85 "Documents", 0x809fa8f "Music", 
0x809fa95 "Videos", 0x809fa9c "Images", 0x0}
        services_with_text = {0x809fa85 "Documents", 0x809faa3 "Development", 
0x809faaf "Text", 0x0}
        services_with_thumbs = {0x809fa85 "Documents", 0x809fa9c "Images", 
0x809fa95 "Videos", 0x0}
        meta_table = (GHashTable *) 0x8163440
        ext = 0x82e0268 "c"
        filename = 0x82e0260 "lparser.c"
        dirname = 0x82f2d50 
"/home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src"
        str_link_uri = 0x0
        service_name = 0x83cfdf0 "Development"
        is_file_indexable = 1
        service_has_metadata = 0
        is_external_service = 0
        service_has_fulltext = 1
        service_has_thumbs = 0
        is_sidecar = 0
        uri = 0x8363798 
"/home/m/dokumente/coding/lua/luakram/src/lua50-5.0.2/src/lparser.c"
#8  0x0804fc10 in index_entity (db_con=0x81612e8, info=0x8432760) at 
trackerd.c:788
        service_info = (gchar *) 0x8342168 "Files"
        str = (gchar *) 0x8397ba0 "text/x-csrc"
        def = (ServiceDef *) 0x8101c28
        __PRETTY_FUNCTION__ = "index_entity"
#8  0x0804fc10 in index_entity (db_con=0x81612e8, info=0x8432760) at 
trackerd.c:788
        service_info = (gchar *) 0x8342168 "Files"
        str = (gchar *) 0x8397ba0 "text/x-csrc"
        def = (ServiceDef *) 0x8101c28
        __PRETTY_FUNCTION__ = "index_entity"
#9  0x08050d08 in process_files_thread () at trackerd.c:1394
        info = (FileInfo *) 0x8432760
        need_index = 1
        signal_set = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 
times>}}
        db_con = (DBConnection *) 0x81612e8
        moved_from_list = (GSList *) 0x0
        pushed_events = 0
        first_run = 1
#10 0xb7cb80af in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread -1223734384 (LWP 3128)):
#0  0xb7ef5410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7c1d676 in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/i686/cmov/libpthread.so.0
No symbol table info available.
#2  0x08050f82 in process_user_request_queue_thread () at trackerd.c:1452
        rec = (DBusRec *) 0x0
        reply = (DBusMessage *) 0xb7c1cc80
        signal_set = {__val = {2147483647, 4294967294, 4294967295 <repeats 30 
times>}}
        db_con = (DBConnection *) 0x8102428
#3  0xb7cb80af in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.

Thread 1 (Thread -1213421904 (LWP 3123)):
#0  0xb7ef5410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7b95557 in poll () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7c981d3 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#3  0x081cb2a0 in ?? ()
No symbol table info available.
#4  0x00000003 in ?? ()
No symbol table info available.
#5  0xffffffff in ?? ()
No symbol table info available.
#6  0x081cb2a0 in ?? ()
No symbol table info available.
#7  0x00000003 in ?? ()
No symbol table info available.
#8  0xb7c1cc98 in _L_mutex_unlock_175 () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb7c1c984 in __pthread_mutex_unlock_usercnt () from 
/lib/i686/cmov/libpthread.so.0
No symbol table info available.
#10 0xb7c98549 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x08052b1a in main (argc=1, argv=0xbfdfb854) at trackerd.c:2390
        lfp = 5
        act = {__sigaction_handler = {sa_handler = 0x804f2f7 <signal_handler>, 
sa_sigaction = 0x804f2f7 <signal_handler>}, sa_mask = {__val = {0 <repeats 32 
times>}}, 
  sa_flags = 0, sa_restorer = 0}
        empty_mask = {__val = {0 <repeats 32 times>}}
        lock_file = (gchar *) 0x80b6250 "/mnt/transfer"
        str = (gchar *) 0x80b52d0 "\002"
        lock_str = (gchar *) 0x0
        context = (GOptionContext *) 0x80b35d0
        error = (GError *) 0x0
        example = (gchar *) 0x80b39a0 ""
        need_index = 1
        need_data = 1
        db_con = (DBConnection *) 0x80eb2b0
        tmp_dir = (gchar *) 0x80b61c0 "\001"
        old = (gchar *) 0x80b5018 "/tmp/Tracker-m.3123/Attachments"
        old_file = (gchar *) 0x80b5060 "GetContents"
        db2 = (DBConnection *) 0x80bc720
        blob_db = (DBConnection *) 0x80e3f28
#0  0xb7cb122e in g_slice_alloc () from /usr/lib/libglib-2.0.so.0



_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to